Skip to main content

Optimization for Accelerating Large Scale Agent Based Simulation

  • Conference paper
  • First Online:
  • 1692 Accesses

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 643))

Abstract

Parallel agent based simulation is popular used in artificial society. However, it brings great challenges to the execution efficiency when facing large scale artificial society where the number of agents in the simulation is up to millions. A simulation kernel with conservative synchronization strategy and multi-thread scheduling paradigm for large scale parallel agent based simulation is introduced. Based on the simulation kernel, the paper proposes two optimization strategies: a container based agent management scheme and an event based load balance strategy. The paper then design several experiments to evaluate the optimization performance, it shows that the optimization strategies can obtain up to 5x speedup compared to the basic simulation kernel.

This is a preview of subscription content, log in via an institution.

References

  1. Macal, C.M., North, M.J.: Tutorial on agent-based modeling and simulation. J. Simul. 4, 151–162 (2010)

    Article  Google Scholar 

  2. Stroud,P.: Spatial dynamics of pandemic influenza in a massive artificial society. JASSS 10(49) 2007

    Google Scholar 

  3. Fujimoto, R.M.: Parallel and Distributed Simulation Systems. Wiley, New York (2000)

    Google Scholar 

  4. Scheutz, M., Schermerhorn, P.: Adaptive algorithms for the dynamic distribution and parallel execution of agent-based models. J. Parallel Distrib. Comput. 66(8), 1037–1051 (2006)

    Article  MATH  Google Scholar 

  5. Wang, Y., Lees, M., Cai, W., Zhou, S., Low, M.Y.H.: Cluster based partitioning for agent-based crowd simulations. In: Proceedings of the 2009 Winter Simulation Conference, pp. 1047–1058. IEEE Press, Austin (2009)

    Google Scholar 

  6. Ho, D.P., Bui, T.D., Do, N.L.: Dividing agents on the grid for large scale simulation. In: Bui, T.D., Ho, T.V., Ha, Q.T. (eds.) PRIMA 2008. LNCS (LNAI), vol. 5357, pp. 222–230. Springer, Heidelberg (2008)

    Chapter  Google Scholar 

  7. Carothers, C.D., Bauer, D., Pearce, S.: Ross a high-performance, low memory, modular time warp system. J. Parallel Distributed Computing 53–60 (2000)

    Google Scholar 

  8. Wenjie, T., Yiping, Y., Feng, Z.: A hierarchical parallel discrete event simulation kernel for multicore platform. Cluster Comput. 16, 379–387 (2013)

    Article  Google Scholar 

  9. Vulov, G., He, T., Hybinette, M.: Quantitative assessment of an agent-based simulation on a time warp executive. In: Proceedings of the 2008 Winter Simulation Conference, pp. 1068–1076. IEEE Press, Florida (2008)

    Google Scholar 

  10. Riley, P.F., Riley, G.F.: SPADES—a distributed agent simulation environment with software-in-the-loop execution. In: Proceedings of the 2003 Winter Simulation Conference. IEEE Press, New Orleans, pp. 817–825 (2003)

    Google Scholar 

  11. Collier, N.: Repast HPC Manual. Argonne National Laboratory, Argonne (2010)

    Google Scholar 

  12. Miller, R.J.: Optimistic parallel discrete event simulation on a beowulf cluster of multi-core machines. In: Master dissertation, Cincinnati University, July 2010

    Google Scholar 

Download references

Acknowledgment

This work was supported by the Natural Science Foundation of China (Grant No. 9102403071303252, 61403402, 41201544 and 71343282) and the HPC project (13010502) funded by NUDT.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhen Li .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media Singapore

About this paper

Cite this paper

Li, Z., Guo, G., Chen, B., Ma, L., Luo, Y., Qiu, X. (2016). Optimization for Accelerating Large Scale Agent Based Simulation. In: Zhang, L., Song, X., Wu, Y. (eds) Theory, Methodology, Tools and Applications for Modeling and Simulation of Complex Systems. AsiaSim SCS AutumnSim 2016 2016. Communications in Computer and Information Science, vol 643. Springer, Singapore. https://doi.org/10.1007/978-981-10-2663-8_18

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-2663-8_18

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-2662-1

  • Online ISBN: 978-981-10-2663-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics