Title :
An Efficient Dynamic Load Balancing Method for Simulation of Variable Structure Systems
Author :
Chen Yang ; Bo Hu Li ; Xudong Chai ; Peng Chi ; Lei Ren
Author_Institution :
Sch. of Autom. Sci. & Electr. Eng., Beihang Univ., Beijing, China
Abstract :
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.
Keywords :
multi-threading; multiprocessing systems; operating systems (computers); resource allocation; Ivy threaded parallel simulator; OS process; common simulation; dynamic load balancing method; inter-thread communication; many-core machines; multicore machines; multithreaded parallel execution; operating system; parallel simulation; variable structure simulation; variable structure system; Computational modeling; Heuristic algorithms; Load modeling; Mathematical model; Measurement; Multicore processing; Ports (Computers); complex system; conservative synchronization; discrete event simulation; dynamic load balance; multi-core; multi-threaded; variable structure system;
Conference_Titel :
Modelling and Simulation (EUROSIM), 2013 8th EUROSIM Congress on
Conference_Location :
Cardiff
DOI :
10.1109/EUROSIM.2013.94