An Efficient Dynamic Load Balancing Method for Simulation of Variable Structure Systems

Multi-core or many-core machines become increasingly pervasive. Parallel simulation can achieve high efficiency by employing multi-threaded parallel execution of models and fast inter-thread communication between models. However, load imbalance among cores degrades performance of the simulation system greatly. This is especially true for simulation of variable structure systems, due to dynamic addition or removal of models. An efficient load balancing method under multi-cores or many-core environments has been proposed, based on our threaded parallel simulator-Ivy [1]. The method employs shared models and shared interaction structure in one OS process to achieve real dynamic migration of loads among cores, with little intervention to the simulation execution, while the copying and transferring of model state are avoid. The proposed metrics for load migration take variation of the system composition into consideration and can be applicable to both dedicated and non-dedicated multi-core machines. The metrics can reflect the computation load of a fine-grained model by ratio of the overall CPU time (consumed by events processing) to virtual advance time, while communication cost is properly considered. The experiment results show that our method can improve efficiency of both common simulation and variable structure simulation evidently.

[1]  Yao Yiping,et al.  A hierarchical parallel discrete event simulation kernel for multicore platform , 2013, Cluster Computing.

[2]  Chen Yang,et al.  Ivy: a parallel simulator for variable structure systems under multi-core environments , 2013 .

[3]  Adelinde M. Uhrmacher,et al.  Introducing Variable Ports and Multi-Couplings for Cell Biological Modeling in DEVS , 2006, Proceedings of the 2006 Winter Simulation Conference.

[4]  Peter Martini,et al.  A Flexible Dynamic Partitioning Algorithm for Optimistic Distributed Simulation , 2007, 21st International Workshop on Principles of Advanced and Distributed Simulation (PADS'07).

[5]  Nael B. Abu-Ghazaleh,et al.  Optimization of Parallel Discrete Event Simulator for Multi-core Systems , 2012, 2012 IEEE 26th International Parallel and Distributed Processing Symposium.

[6]  David R. Jefferson,et al.  Dynamic load management in the time warp operating system , 1990 .

[7]  Khalil El-Khatib,et al.  On metrics for the dynamic load balancing of optimistic simulations , 1999, Proceedings of the 32nd Annual Hawaii International Conference on Systems Sciences. 1999. HICSS-32. Abstracts and CD-ROM of Full Papers.

[8]  R.M. Fujimoto,et al.  Parallel and distributed simulation systems , 2001, Proceeding of the 2001 Winter Simulation Conference (Cat. No.01CH37304).

[9]  Azzedine Boukerche,et al.  Dynamic balancing of communication and computation load for HLA-based simulations on large-scale distributed systems , 2011, J. Parallel Distributed Comput..

[10]  Gabriel A. Wainer,et al.  Proceedings of the 2016 Winter Simulation Conference , 2016 .

[11]  Stephen John Turner,et al.  Load balancing for conservative simulation on shared memory multiprocessor systems , 2000, Proceedings Fourteenth Workshop on Parallel and Distributed Simulation.

[12]  Peng Yong Parallel Framework for HLA Federate Oriented to Simulation Component on Multicore Platform , 2012 .

[13]  Shaoliang Peng,et al.  A Well-Balanced Time Warp System on Multi-Core Environments , 2011, 2011 IEEE Workshop on Principles of Advanced and Distributed Simulation.

[14]  Edward G. Coffman,et al.  Approximation algorithms for bin packing: a survey , 1996 .

[15]  Rhyd Lewis,et al.  A general-purpose hill-climbing method for order independent minimum grouping problems: A case study in graph colouring and bin packing , 2009, Comput. Oper. Res..

[16]  Roberto Vitali,et al.  Load sharing for optimistic parallel simulations on multi core machines , 2012, PERV.

[17]  Carl Tropper,et al.  On Process Migration and Load Balancing in Time Warp , 1993, IEEE Trans. Parallel Distributed Syst..

[18]  Gabriele D'Angelo,et al.  Distributed simulation of large-scale and detailed models , 2009, Int. J. Simul. Process. Model..

[19]  Bernard P. Zeigler,et al.  Systems Theory Challenges in the Simulation of Variable Structure and Intelligent Systems , 1989, International Conference/Workshop on Computer Aided Systems Theory.

[20]  C.-L. Liu,et al.  Dynamic load balancing in parallel simulation using time warp mechanism , 1994, Proceedings of 1994 International Conference on Parallel and Distributed Systems.