English

Parallelization Strategies for Spatial Agent-Based Models

Distributed, Parallel, and Cluster Computing 2017-04-12 v5

Abstract

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.

Keywords

Cite

@article{arxiv.1507.04047,
  title  = {Parallelization Strategies for Spatial Agent-Based Models},
  author = {Nuno Fachada and Vitor V. Lopes and Rui C. Martins and Agostinho C. Rosa},
  journal= {arXiv preprint arXiv:1507.04047},
  year   = {2017}
}

Comments

The peer-reviewed version of this paper is published in the International Journal of Parallel Programming at http://dx.doi.org/10.1007/s10766-015-0399-9 . This version is typeset by the authors and differs only in pagination and typographical detail

R2 v1 2026-06-22T10:12:00.145Z