High-Performance and Scalable Agent-Based Simulation with BioDynaMo

Conference Paper (2023)
Author(s)

Lukas Breitwieser (ETH Zürich, CERN)

A.S. Hesam (TU Delft - Computer Engineering)

Fons Rademakers (CERN)

Juan Gomez-Luna (ETH Zürich)

Onur Mutlu (ETH Zürich)

Research Group
Computer Engineering
Copyright
© 2023 Lukas Breitwieser, A.S. Hesam, Fons Rademakers, Juan Gómez Luna, Onur Mutlu
DOI related publication
https://doi.org/10.1145/3572848.3577480
More Info
expand_more
Publication Year
2023
Language
English
Copyright
© 2023 Lukas Breitwieser, A.S. Hesam, Fons Rademakers, Juan Gómez Luna, Onur Mutlu
Research Group
Computer Engineering
Pages (from-to)
174-188
ISBN (electronic)
979-8-4007-0015-6
Reuse Rights

Other than for strictly personal use, it is not permitted to download, forward or distribute the text or part of it, without the consent of the author(s) and/or copyright holder(s), unless the work is under an open content license such as Creative Commons.

Abstract

Agent-based modeling plays an essential role in gaining insights into biology, sociology, economics, and other fields. However, many existing agent-based simulation platforms are not suitable for large-scale studies due to the low performance of the underlying simulation engines. To overcome this limitation, we present a novel high-performance simulation engine. We identify three key challenges for which we present the following solutions. First, to maximize parallelization, we present an optimized grid to search for neighbors and parallelize the merging of thread-local results. Second, we reduce the memory access latency with a NUMA-aware agent iterator, agent sorting with a space-filling curve, and a custom heap memory allocator. Third, we present a mechanism to omit the collision force calculation under certain conditions. Our evaluation shows an order of magnitude improvement over Biocellion, three orders of magnitude speedup over Cortex3D and NetLogo, and the ability to simulate 1.72 billion agents on a single server. Supplementary Materials, including instructions to reproduce the results, are available at: https://doi.org/10.5281/zenodo.6463816