Title :
Parallel Simulation of Large-Scale Artificial Society on CPU/GPU Mixed Architecture
Author :
Guo Gang ; Chen Bin ; Qiu Xiao Gang ; Li Zhen
Author_Institution :
Coll. of Mechatron. Eng. & Autom., Nat. Univ. of Defense Technol., Changsha, China
Abstract :
Parallel simulations focus on conservative or optimistic algorithms to guarantee state consistency and causal order of messages between logical processes (LPs). It is usually hard for application domain users to develop complicated models for parallel simulations. For simplicity in large-scale artificial society, a modified DEVS component model is advocated in time-stepped parallel simulation with two-phase synchronization. A two-tier parallel simulation engine is designed on CPU/GPU mixed architecture with support of MPI and OpenCL. One-sided communication is selected for reflection of remote components and message passing between LPs. For cooperation between CPU and GPU, a size of 512 work items in each group is recommended. The parallel simulation engine is implemented in a micro kernel manner. An artificial society based on agent, container, grid and relation models are used to test the performance on an ordinary computer and a cluster with varied scales. The maximum speedup reaches 46 and 114 on the computer and the cluster respectively with about half a million agents.
Keywords :
digital simulation; graphics processing units; message passing; parallel processing; CPU/GPU mixed architecture; LP; MPI; OpenCL; large-scale artificial society; logical processes; message passing; micro kernel manner; optimistic algorithms; parallel simulation; remote components; time stepped parallel simulation; Computational modeling; Computer architecture; Containers; Engines; Graphics processing unit; Load modeling; Synchronization; CPU/GPU; DEVS; MPI; OpenCL; agent; artifical society; parallel simulation;
Conference_Titel :
Principles of Advanced and Distributed Simulation (PADS), 2012 ACM/IEEE/SCS 26th Workshop on
Conference_Location :
Zhangjiajie
Print_ISBN :
978-1-4673-1797-9
DOI :
10.1109/PADS.2012.31