290 likes | 493 Views
GridSim 2.0 Adv. Grid Modelling & Simulation Toolkit. Rajkumar Buyya, Manzur Murshed (Monash), Anthony Sulistio , Chee Shin Yeo. Gri d Computing and D istributed S ystems (GRIDS) Lab, Dept. of Computer Science and Software Engineering The University of Melbourne www.gridbus.org.
E N D
GridSim 2.0Adv. Grid Modelling & Simulation Toolkit Rajkumar Buyya, Manzur Murshed (Monash), Anthony Sulistio, Chee Shin Yeo Grid Computing and Distributed Systems (GRIDS) Lab, Dept. of Computer Science and Software Engineering The University of Melbournewww.gridbus.org Thanks to David Abramson
Outline Motivation. System Architecture. GridSim Entities. Visual Modeller. Experiments.
Varying the number of Resources (1 to 100s..1000s..). Resource capability. Cost (Access Price). Users. Deadline and Budget. Workload. Different Time (Peak and Off-Peak). We need a repeatable and controllable environment. Can this be achieved on Real Grid testbed ? Performance Evaluation: With Large Scenarios
Grid Environment • Dynamic: • Resource and User Properties vary with time. • Experiment cannot be repeated. • Resources are distributed and owned by different organisations. Heterogeneous users. • It is hard to create a controllable environment. • Grid testbed size is limited. • Also, creating testbed infrastructure is time consuming and expensive. • Hence, grid computing researchers turn to modelling and simulation.
GridSim Toolkit • GridSim 1.0 released in Dec. 2001 • GridSim and GridBroker. • GridSim 2.0 released in Nov. 2002 @ SC 2002. • Improvements in GridSim and GridBroker. • Add Visual Modeler. • Few functionalities of GridSim: • Allows modelling of heterogeneous of resources & users. • Supports simulation of both static & dynamic schedulers. • Simulates applications with different parallel models.
System Architecture Application, User, Grid Scenario’s Input and Results Application Configuration Resource Configuration Visual Modeler Grid Scenario . . . Output Grid Resource Brokers or Schedulers GridSim Toolkit Application Modeling Resource Entities Information Services Job Management Resource Allocation Statistics Resource Modeling and Simulation (with Time and Space shared schedulers) Single CPU SMPs Clusters Load Pattern Network Reservation Basic Discrete Event Simulation Infrastructure SimJava Distributed SimJava Virtual Machine (Java, cJVM, RMI) Distributed Resources PCs Workstations SMPs Clusters
GridSim Entities ShutdownSignal Manager #i Broker #i Internet User #i Output Output Resource #j Scheduler Application Job Out Queue Jobs Process Queue Job In Queue Input Input Input Output Statistics Recorder #i Report Writer #i Resource List InformationService
EA EB body() body() Send(output, data, EB) … … Receive(input, data, EA) … … Input_EA Input_EB … … … … body() body() Output_EA Output_EB body() body() (Deliver data @ t2) data, t2 Timed Event Delivery GridSim Entities Communication Model
Time Shared: Multitasking and Multiprocessing Tasks onPEs/CPUs P1-G1 P1-G2 P3-G2 P2-G3 P2-G2 P1-G3 G3 G2 G3 PE2 G2 PE1 G1 G2 6 9 12 2 16 19 22 26 Time G1 G2 G3 G1F G2F G3F G1 G1: Gridlet1 Arrives Gridlet1 (10 MIs) G1F: Gridlet1 Finishes G2 Gridlet2 (8.5 MIs) P1-G2: Gridlet2 didn’t finish at the 1st prediction time. G3 P2-G2: Gridlet2 finishes at the 2nd prediction time. Gridlet3 (9.5 MIs)
Space Shared: Multicomputing Tasks onPEs/CPUs P1-G1 P1-G2 P1-G3 G2 G3 PE2 PE1 G1 G3 6 9 12 2 16 19 22 26 Time G1 G2 G3 G1F G2F G3F G1 G1: Gridlet1 Arrives Gridlet1 (10 MIs) G1F: Gridlet1 Finishes G2 Gridlet2 (8.5 MIs) P1-G2: Gridlet2 finishes as per the 1st Predication G3 Gridlet3 (9.5 MIs)
Visual Modeler • Available in GridSim 2.0 • Functionalities: • Create and delete many users and resources. • Able to save and load the model file (XML format). • Generate Java source code.
Experiment 1 • Create 21 users and 25 resources. • Cost varies from 10 to 20 units per sec (G$/sec). • Each user has 20 jobs with variation of ± 2. • Want to optimise cost. • Simulation Time approx. 7 hours. • Number of users grows -> Pr (one resource per user) decreases. • This low Pr demands high D_Factor and B_Factor in order to achieve very high job completion rate.
D-Factor • Any jobwith D_Factor < 0 would never be completed. • As long as some resources are available throughout the deadline, any job with D_Factor 1 would always be completed.
B-Factor • Any jobwith B_Factor < 0 would never be completed. • As long as some resources are available throughout the deadline, any job with B_Factor 1 would always be completed.
Experiment 2 • Workload Synthesis: • 200 jobs, each job processing requirement = 10K MI or SPEC with random variation from 0-10%. • Exploration of many scenarios: • Deadline: 100 to 3600 simulation time, step = 500. • Budget: 500 to 22000 G$, step = 1000. • Deadline and Budget Constraint (DBC) Strategies: • Cost Optimisation for a single user. • Resources: Simulated WWG resources.
Conclusion • GridSim toolkit is suitable for application scheduling simulations in Grid and P2P computing environment. • GridSim 2.0 is available to download: www.gridbus.org • Extending to support Data Grid modelling