Parallelization Strategies for Spatial Agent-Based Models

被引:0
作者
Nuno Fachada
Vitor V. Lopes
Rui C. Martins
Agostinho C. Rosa
机构
[1] Instituto Superior Técnico,Institute for Systems and Robotics, LARSyS
[2] Universidade de Lisboa,Life and Health Sciences Research Institute, School of Health Sciences
[3] Universidad de las Fuerzas Armadas-ESPE,undefined
[4] University of Minho,undefined
来源
International Journal of Parallel Programming | 2017年 / 45卷
关键词
Agent-based modeling; Parallelization strategies; Shared memory; Multithreading;
D O I
暂无
中图分类号
学科分类号
摘要
Agent-based modeling (ABM) is a bottom-up modeling approach, where each entity of the system being modeled is uniquely represented as an independent decision-making agent. Large scale emergent behavior in ABMs is population sensitive. As such, the number of agents in a simulation should be able to reflect the reality of the system being modeled, which can be in the order of millions or billions of individuals in certain domains. A natural solution to reach acceptable scalability in commodity multi-core processors consists of decomposing models such that each component can be independently processed by a different thread in a concurrent manner. In this paper we present a multithreaded Java implementation of the PPHPC ABM, with two goals in mind: (1) compare the performance of this implementation with an existing NetLogo implementation; and, (2) study how different parallelization strategies impact simulation performance on a shared memory architecture. Results show that: (1) model parallelization can yield considerable performance gains; (2) distinct parallelization strategies offer specific trade-offs in terms of performance and simulation reproducibility; and, (3) PPHPC is a valid reference model for comparing distinct implementations or parallelization strategies, from both performance and statistical accuracy perspectives.
引用
收藏
页码:449 / 481
页数:32
相关论文
共 103 条
  • [1] Axtell R(1996)Aligning simulation models: a case study and results Comput. Math. Organ. Theory 1 123-141
  • [2] Axelrod R(2015)Parallel simulation of complex evacuation scenarios with adaptive agent models IEEE Trans. Parall. Distrib. 26 847-857
  • [3] Epstein JM(2015)Towards a standard model for research in agent-based modeling and simulation PeerJ Comput. Sci. 1 e36-63
  • [4] Cohen MD(1997)Distributed simulation of spatially explicit ecological models SIGSIM Simul. Dig. 27 60-1170
  • [5] Chen D(2013)Parallel agent-based simulation of individual-level spatial interactions within a multicore computing environment Int. J. Geogr. Inf. Sci. 27 1152-2768
  • [6] Wang L(2010)The ODD protocol: a review and first update Ecol. Model. 221 2760-1442
  • [7] Zomaya A(2013)Distribution of random streams for simulation practitioners Concurr. Comput. Pract. Exp. 25 1427-111
  • [8] Dou M(2008)Spatial agent-based modelling and simulations—a review Res. Lett. Inf. Math. Sci. 7 101-621
  • [9] Chen J(1952)Use of ranks in one-criterion variance analysis J. Am. Stat. Assoc. 47 583-527
  • [10] Deng Z(2005)MASON: a multiagent simulation environment Simulation 81 517-162