Synchronous Speculative Simulation of Tightly Coupled Agents in Continuous Time on CPUs and GPUs

Andelfinger, Philipp and Uhrmacher, Adelinde M. (2023) Synchronous Speculative Simulation of Tightly Coupled Agents in Continuous Time on CPUs and GPUs. Simulation: Transactions of the Society for Modeling and Simulation International, ISSN 0037-5497 (online 1741-3133).

Full text not available from this repository.
Official URL: https://doi.org/10.1177/00375497231158930

Abstract

Traditionally, parallel discrete-event simulations of agent-based models in continuous time are organized around logical processes exchanging time-stamped events, which clashes with the properties of models in which tightly coupled agents frequently and instantaneously access each other's states. To illustrate the challenges of such models and to derive a solution, we consider the domain-specific modeling language ML3, which allows modelers to succinctly express transitions and interactions of linked agents based on continuous-time Markov chain (CTMC) semantics. We propose synchronous optimistic synchronization algorithms tailored towards simulations of fine-grained interactions among tightly coupled agents in highly dynamic topologies and present implementations targeting multi-core CPUs as well as many-core graphics processing units (GPUs). By dynamically restricting the temporal progress per round to ensure that at most one transition or state access per agent, the synchronization algorithms enable efficient direct agent interaction and limit the required agent state history to only a single current and projected state. To maintain concurrency given actions that depend on dynamically updated macro-level properties, we introduce a simple relaxation scheme with guaranteed error bounds. Using an extended variant of the classical susceptible-infected-recovered network model, we benchmark and profile the performance of the different algorithms running on CPUs and on a data center GPU.

Item Type: Article
Projects: MoSiLLDe