160 likes | 183 Vues
HyperSim: High Performance Simulation Kernel. Sugree Phatanapherom g4465027@ku.ac.th. Agenda. Introduction to Simulation Event Graph Modeling HyperSim Simulation Kernel Input Modeling Output Analysis Job Scheduling Model Experimental Results Conclusion and Future Work. Introduction.
E N D
HyperSim:High Performance Simulation Kernel Sugree Phatanapherom g4465027@ku.ac.th
Agenda • Introduction to Simulation • Event Graph Modeling • HyperSim • Simulation Kernel • Input Modeling • Output Analysis • Job Scheduling Model • Experimental Results • Conclusion and Future Work
Introduction • Simulation • Discrete • Continuous • Modeling Approach • Component-based, Network-based or Message-based • Event-based
Component-based • Physical objects have their own instances • Each object • Communicates via "Messages" • Handles message when it arrives Client Client Server Server Server Server Server
Event Graph Modeling • Finite State Machine • Each state represents an event • Lines indicate occurrences of other event when • condition is true if any and • service time is passed ti (i) ts Arrive Depart
HyperSim • C++ based simulation library • Event Graph Modeling • Modules • Simulation Kernel • Input Modeling • Output Analysis
Simulation Kernel Initialize Yes Finish? Report No Update Statistics Dispatch Trace
Input Modeling • Standard Distribution • Uniform • Exponential • Beta • Gamma • Poisson • etc. • Trace Distribution • Linear Regression • Least-Squares Regression
Output Analysis • Re-analyzable event trace • Tab Separated Value • 89822.244 ARRIVE 1 • Universal Log Message • DATE=20030310174547.243552 HOST=localhost PROG=hypersim LVL=Usage NL.EVENT=ARRIVE SIM.EVENT=ARRIVE SIM.EVNTCNT=1
Job Scheduling Model Cluster and NOW Grid
Job Scheduling Model Grid Cluster and NOW
Experimental Results • Hardware configuration • Athlon 1 GHz • 1 GB RAM • Job scheduling problem • Cluster or NOW • Job inter-arrival time, Workload, and Resource Characteristics are exponential distribution • Execution times are compared
Conclusion • HyperSim is a discrete event simulation kernel based on event graph modeling • HyperSim was used to develop simulator for job scheduling problem on cluster and grid • The simulator is compared to other simulator in term of speed • For more information • http://hpcnc.cpe.ku.ac.th/moin/HyperSim