skip to main content
10.1145/2769458.2769470acmconferencesArticle/Chapter ViewAbstractPublication PagespadsConference Proceedingsconference-collections
research-article

Cloning Agent-based Simulation on GPU

Published: 10 June 2015 Publication History

Abstract

Simulation cloning is an efficient way to analyze multiple configurations in a parameter exploration task. This paper presents a generic approach to perform incremental agent-based simulation cloning and discusses its implementation on GPU. Compared with the incremental cloning of parallel and distributed simulation (PADS), cloning agent-based simulation (ABS) has new challenges due to the unique way how ABS is executed. In this paper, to support incremental cloning, mechanisms for both actively and passively cloning agents are proposed. A scheme to maintain the correct context of each cloned ABS instance is developed. In addition, a strategy to restrain the propagation of passive cloning in order to maximize computation sharing amongst cloned ABS instances is also investigated. The implementation of our proposed approach on GPU supports concurrent execution of agents within each simulation instance as well as concurrent execution of multiple simulation instances. Performance of the proposed approach is evaluated and analyzed using a case study of an agent-based evacuation simulation on a NVIDIA Quadro 2000 GPU. Our experiment results demonstrate that cloning can significantly speed up the overall parameter exploration task. The proposed approach achieves 2.4 to 5.1 times speedup for parameter exploration tasks containing 8 to 125 simulation instances that evaluate different parameter configurations.

References

[1]
C. Alexopoulos. A comprehensive review of methods for simulation output analysis. In Proceedings of the 38th conference on Winter simulation, (Monterey, CA, USA, December 03-06, 2006), pages 168--178. IEEE, 2006.
[2]
A. Bestavros and B. Wang. Multi-version speculative concurrency control with delayed commit. Technical report, Boston University Computer Science Department, 1993.
[3]
B. Calvez and G. Hutzler. Parameter space exploration of agent-based models. In Proceedings of the 9th international conference on Knowledge-Based Intelligent Information and Engineering Systems, (Melbourne, Australia, September 14-16, 2005), pages 633--639. Springer, 2005.
[4]
D. Chen, S. J. Turner, W. Cai, B. P. Gan, and M. Y. H. Low. Incremental HLA-based distributed simulation cloning. In Proceedings of the 36th conference on Winter simulation, (Washington, DC, USA, December 5-8, 2004), pages 386--394. Winter Simulation Conference, 2004.
[5]
D. Chen, S. J. Turner, W. Cai, B. P. Gan, and M. Y. H. Low. Algorithms for HLA-based distributed simulation cloning. ACM Transactions on Modeling and Computer Simulation (TOMACS), 15(4):316--345, 2005.
[6]
D. Chen, S. J. Turner, B. P. Gan, and W. Cai. HLA-based distributed simulation cloning. In Proceedings of 8th IEEE International Symposium on Distributed Simulation and Real-Time Applications, (Budapest, Hungary, October 21-23, 2004), pages 244--247. IEEE, 2004.
[7]
D. Chen, S. J. Turner, B. P. Gan, W. Cai, and J. Wei. A decoupled federate architecture for distributed simulation cloning. In Proceedings of the 15th European Simulation Symposium, (Delft, the Netherlands, October 26-29, 2003), pages 131--140. SCS European Publishing House, 2003.
[8]
D. Chen, S. J. Turner, B. P. Gan, W. Cai, J. Wei, and N. Julka. Alternative solutions for distributed simulation cloning. Simulation, 79(5-6):299--315, 2003.
[9]
W. J. Davis. On-line simulation: Need and evolving research requirements. In Handbook of simulation, pages 465--516. Wiley-Interscience, 1998.
[10]
J. Decraene, M. Y.-H. Low, F. Zeng, S. Zhou, and W. Cai. Automated modeling and analysis of agent-based simulations using the CASE framework. In Proceedings of 11th International Conference on Control Automation Robotics & Vision (ICARCV) (Singapore, Singapore, December 7-10, 2010), pages 346--351. IEEE, 2010.
[11]
A. L. Espindola, D. Girardi, T. J. Penna, C. T. Bauch, A. S. Martinez, and B. C. Cabella. Exploration of the parameter space in an agent-based model of tuberculosis spread: emergence of drug resistance in developing vs developed countries. International Journal of Modern Physics C, 23(06):1--9, 2012.
[12]
P. W. Glynn and P. Heidelberger. Analysis of parallel replicated simulations under a completion time constraint. ACM Transactions on Modeling and Computer Simulation (TOMACS), 1(1):3--23, 1991.
[13]
A. P. Goldberg. Virtual time synchronization of replicated processes. In Proceedings of the 6th Workshop on Parallel and distributed simulation (Newport Beach, CA, USA, January 20-22, 1992), pages 107--116. SCS Simulation Series, 1992.
[14]
D. Helbing and P. Molnar. Social force model for pedestrian dynamics. Physical review E, 51(5):4282, 1995.
[15]
M. Hybinette and R. M. Fujimoto. Cloning parallel simulations. ACM Transactions on Modeling and Computer Simulation (TOMACS), 11(4):378--407, 2001.
[16]
G. Kunz, D. Schemmel, J. Gross, and K. Wehrle. Multi-level parallelism for time-and cost-efficient parallel discrete event simulation on gpus. In Proceedings of the 2012 ACM/IEEE/SCS 26th Workshop on Principles of Advanced and Distributed Simulation, (Zhangjiajie, China, July 15-19, 2012), pages 23--32. IEEE, 2012.
[17]
X. Li, W. Cai, and S. J. Turner. Efficient neighbor searching for agent-based simulation on GPU. In Proceedings of 18th IEEE International Symposium on Distributed Simulation and Real-Time Applications, (Toulouse, France, October 1-3, 2014), pages 87--96. IEEE/ACM, 2014.
[18]
S. Luke. The ECJ Owner's Manual. Technical report, ECJ Evolutionary Computation Library, George Mason University, 2010.
[19]
NVIDIA. NVIDIA CUDA programming guide. Technical report, http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html. {Online, last accessed: March 2015}.
[20]
H. Park and P. A. Fishwick. A GPU-based application framework supporting fast discrete-event simulation. Simulation, 86(10):613--628, 2009.
[21]
H. Park and P. A. Fishwick. An analysis of queuing network simulation using GPU-based hardware acceleration. ACM Transactions on Modeling and Computer Simulation (TOMACS), 21(3):1--22, 2011.
[22]
M. Steinberger, M. Kenzel, B. Kainz, and D. Schmalstieg. Scatteralloc: Massively parallel dynamic memory allocation for the GPU. In Proceedings of Innovative Parallel Computing, (San Jose, CA, USA, May 13-14, 2012), pages 1--10. IEEE, 2012.
[23]
W. Tang and Y. Yao. A GPU-based discrete event simulation kernel. Simulation, 89(11):1335--1354, 2013.
[24]
T. Terano. Exploring the vast parameter space of multi-agent based simulation. In Proceedings of the 2006 international conference on Multi-agent-based simulation (Hakodate, Japan, May 8-12, 2006), pages 1--14. Springer, 2006.
[25]
V. Volkov. Better performance at lower occupancy. In Proceedings of the GPU Technology Conference (San Jose, CA, USA, September 20-23, 2010), volume 10. NVIDIA, 2010.
[26]
J. Von Neumann. Probabilistic logics and the synthesis of reliable organisms from unreliable components. Automata studies, 34:43--98, 1956.
[27]
M. Wagner, W. Cai, and M. H. Lees. Emergence by strategy: flocking boids and their fitness in relation to model complexity. In Proceedings of the 2013 Winter Simulation Conference (Washington, DC, USA, December 8-11, 2013), pages 1479--1490. IEEE, 2013.
[28]
S. Widmer, D. Wodniok, N. Weber, and M. Goesele. Fast dynamic memory allocator for massively parallel architectures. In Proceedings of the 6th Workshop on General Purpose Processor Using Graphics Processing Units, pages 120--126. ACM, 2013.
[29]
F. Zeng, J. Decraene, M. Y. H. Low, S. Zhou, and W. Cai. Evolving optimal and diversified military operational plans for computational red teaming. Systems Journal, 6(3):499--509, 2012.

Cited By

View all
  • (2019)A Survey on Agent-based Simulation Using Hardware AcceleratorsACM Computing Surveys10.1145/329104851:6(1-35)Online publication date: 28-Jan-2019
  • (2018)Scalable Cloning on Large-Scale GPU Platforms with Application to Time-Stepped Simulations on GridsACM Transactions on Modeling and Computer Simulation10.1145/315866928:1(11-26)Online publication date: 31-Jan-2018
  • (2017)Cloning Agent-Based SimulationACM Transactions on Modeling and Computer Simulation10.1145/301352927:2(1-24)Online publication date: 27-May-2017

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGSIM PADS '15: Proceedings of the 3rd ACM SIGSIM Conference on Principles of Advanced Discrete Simulation
June 2015
300 pages
ISBN:9781450335836
DOI:10.1145/2769458
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 10 June 2015

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. agent-based simulation
  2. cloning
  3. gpu
  4. speedup

Qualifiers

  • Research-article

Conference

SIGSIM-PADS '15
Sponsor:

Acceptance Rates

SIGSIM PADS '15 Paper Acceptance Rate 35 of 60 submissions, 58%;
Overall Acceptance Rate 398 of 779 submissions, 51%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2019)A Survey on Agent-based Simulation Using Hardware AcceleratorsACM Computing Surveys10.1145/329104851:6(1-35)Online publication date: 28-Jan-2019
  • (2018)Scalable Cloning on Large-Scale GPU Platforms with Application to Time-Stepped Simulations on GridsACM Transactions on Modeling and Computer Simulation10.1145/315866928:1(11-26)Online publication date: 31-Jan-2018
  • (2017)Cloning Agent-Based SimulationACM Transactions on Modeling and Computer Simulation10.1145/301352927:2(1-24)Online publication date: 27-May-2017

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media