290 likes | 410 Views
A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments. Qian Zhu and Gagan Agrawal Department of Computer Science and Engineering The Ohio State University. IPDPS 2009 Conference. May 28 th , 2009 Rome, Italy. IPDPS 2009. Context.
E N D
A Resource Allocation Approach for Supporting Time-Critical Applications in Grid Environments Qian Zhu and Gagan Agrawal Department of Computer Science and Engineering The Ohio State University IPDPS 2009 Conference May 28th, 2009 Rome, Italy IPDPS 2009
Context • Ongoing research on supporting time-critical adaptive applications • Fixed time, flexible computations • Maximize a QoS/Benefit function • Previous work • Middleware design • Self-adaptation algorithm (ICAC 2008)
Motivating Application: Real-timeVolume Rendering (VR) • Flexibility: image quality, image size… • Time constraints 3 IPDPS 2009
Motivating Application: Great Lake Nowcasting and Forecasting (GLFS) • Flexibility • Grid resolution • Internal time step • External time step • Time Constraints IPDPS 2009
Summary of Application Needs • Time-Critical Event Handling • Intense computation and communication • Time and resource constraints • Application-specific flexibility • benefit function • VR application • GLFS application • Grid Resources IPDPS 2009
Overview of Our Research • To Optimize the Benefit Function within the Time Constraint • Parameter Adaptation • VR application: error tolerance, image size • GLFS application: internal/external time step • Resource Allocation • Heterogeneous and dynamic resources IPDPS 2009
Outline Motivation and Introduction Resource Allocation Approach Approach Overview Efficiency Value Scheduling Algorithm Experimental Evaluation Related Work Conclusion 7 IPDPS 2009
Experimental Study: Real-time Volume Rendering • The CPU/memory usage increases as ErrorTolerance value decreases or the ImageSize value increases. • The change in the value of ErrorTolerance has a more significant impact, compared to the ImageSize parameter. IPDPS 2009
Experimental Study: Great Lake Nowcasting and Forecasting • The CPU usage changes as the values of ExternalTimeStep and InternalTimeStep vary. • The memory usage remains roughly the same. IPDPS 2009
Problem Description • Heterogeneous and Dynamic Resources • Different CPU, Memory, and/or Bandwidth Usage • Different service components • Different values of adjustable service parameters within the same service component • Schedule the Service Components to Maximize the Benefit Function Within the Time Constraint IPDPS 2009
Outline Motivation and Introduction Resource Allocation Approach Approach Overview Efficiency Value Scheduling Algorithm Experimental Evaluation Related Work Conclusion 11 IPDPS 2009
Error tolerance Image size Wavelet coefficient Application Model Data Packet S1 S2 S3 S4 S5 S6 • Each service component is deployed on a single node • Multiple processing round IPDPS 2009 CAC 2008
Resource Allocation Approach Overview • Allocate Heterogeneous Resources to Services to Maximize the Benefit Within the Time Constraint • Unique characteristics of resource usage • Extra resource usage by varying the values of adaptive parameters • Normal Execution Phase • Train rules for Efficiency Value estimation • Assign service priority • Event Handling Phase • Apply the learned rules to infer Efficiency Value • Priority-based scheduling IPDPS 2009
Efficiency Value • To capture the suitability of executing the Service on the Processing Node • Definition • Benefit contribution , where • Adaptation overhead , where • Node status • Weighted sum of standard deviation of the workload and resource variance every 30 seconds IPDPS 2009
Efficiency value estimation Fuzzy logic rules how efficient is for supporting parameter adaptation of for overall benefit optimization Efficiency Value – Cont’d • Calculating Efficiency Value standard deviation of workload and resource variance IPDPS 2009
Efficiency Value -- Example Figure: Example of Efficiency Value Calculation: (a) Computed Values (b) Normalized Benefit with Different Allocations • Assigning to and to yields the maximum benefit • Our definition of efficiency value captures the suitability of different nodes for different services 16 IPDPS 2009
Scheduling Algorithm • Greedy Scheduling • Service priority based • Benefit Optimization and Meeting the Time Deadline • Adjust and communication time of computation time of IPDPS 2009
Outline Motivation and Introduction Resource Allocation Approach Approach Overview Efficiency Value Scheduling Algorithm Experimental Evaluation Related Work Conclusion 18 IPDPS 2009
Experiments Setup • Algorithms Compared • GrADS (UCSD) • Optimal • Metrics • Normalized benefit • Success-rate • Simulated Grid Environments • HighReHetero, ModReHetero, and LowReHetero IPDPS 2009
Experiment1: Effectiveness of Our Learning Approach • MSE converges within 20mins, 35mins and 1hour for a 5-hour run IPDPS 2009
Experiment2: Normalized Benefit Comparison (VolumeRendering) Figure 10: Normalized Benefit Comparison of Our Approach with GrADS and Optimal: Highly Heterogeneous Environment * Our algorithm achieves an average of 87% normalized benefit comparing to the Optimal and it is 32% higher than GrADS. IPDPS 2009
Experiment2: Success-Rate Comparison (VolumeRendering) Figure 10: Success-Rate Comparison of Our Approach with GrADS and Optimal: Highly Heterogeneous Environment * Our algorithm achieves 90% to 100% success-rate comparing to the Optimal. While GrADS can achieve 80% to 90%. IPDPS 2009
Experiment2: Overhead Comparison (a) (b) Figure 14: Resource Allocation Overhead Comparison of Our Approach with GrADS: (a) Volume Rendering Application (b) GLFS Application * The overhead caused by our algorithm is within 10% and 7% of that of the GrADS for VR and GLFS applications. IPDPS 2009
Experiment 3: Scalability Figure 15: Scalability of Different Resource Allocation Approaches • An average slowdown of 9%, 7%, and 3%, respectively, in the three grid environments • Scheduling 160 service components is 26.4 seconds IPDPS 2009
Outline Motivation and Introduction Resource Allocation Approach Approach Overview Efficiency Value Scheduling Algorithm Experimental Evaluation Related Work Conclusion 25 IPDPS 2009
Related Work Resource Allocation in Grid Computing Iosup et al. (SC2007) Xu et al. (ICAC2007) Huang et al. (SC2007) Tesauro et al. (ICAC2006) Real-Time Scheduling Survey (Real Time Systems, 2004) Q-RAM (RTSS1998) Gopalan et al. (MMCN2002) 26 IPDPS 2009
Outline Motivation and Introduction Resource Allocation Approach Approach Overview Efficiency Value Scheduling Algorithm Experimental Evaluation Related Work Conclusion 27 IPDPS 2009
Conclusion • Capture How Effectively of Processing a Service on a Node • Efficiency value estimation • Greedy scheduling • Evaluate Our Resource Allocation Approach using Two Adaptive Applications • 32% more benefit comparing to GrADS • Within 10% overhead comparing to GrADS • Our approach is scalable IPDPS 2009
Thank you! IPDPS 2009