Navigation auf zora.uzh.ch

Search ZORA

ZORA (Zurich Open Repository and Archive)

Multi-Stage Vertex-Centric Programming for Agent-Based Simulations

Tian, Zilu (2023). Multi-Stage Vertex-Centric Programming for Agent-Based Simulations. In: GPCE '23: 22nd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences, Cascais Portugal, 22 October 2023 - 23 October 2023. Association for Computing Machinery, 100-112.

Abstract

In vertex-centric programming, users express a graph algorithm as a vertex program and specify the iterative behavior of a vertex in a compute function, which is executed by all vertices in a graph in parallel, synchronously in a sequence of supersteps. While this programming model is straightforward for simple algorithms where vertices behave the same in each superstep, for complex vertex programs where vertices have different behavior across supersteps, a vertex needs to frequently dispatch on the value of supersteps in compute, which suffers from unnecessary interpretation overhead and complicates the control flow.
We address this using meta-programming: instead of branching on the value of a superstep, users separate instructions that should be executed in different supersteps via a staging-time wait() instruction. When a superstep starts, computations in a vertex program resume from the last execution point, and continue executing until the next wait(). We implement this in the programming model of an agent-based simulation framework CloudCity and show that avoiding the interpretation overhead caused by dispatching on the value of a superstep can improve the performance by up to 25% and lead to more robust performance.

Additional indexing

Item Type:Conference or Workshop Item (Paper), refereed, original work
Communities & Collections:03 Faculty of Economics > Department of Informatics
Dewey Decimal Classification:000 Computer science, knowledge & systems
Scopus Subject Areas:Physical Sciences > Computer Science Applications
Physical Sciences > Information Systems
Physical Sciences > Software
Language:English
Event End Date:23 October 2023
Deposited On:02 Dec 2024 14:30
Last Modified:03 Dec 2024 21:00
Publisher:Association for Computing Machinery
ISBN:979-8-4007-0406-2
OA Status:Closed
Publisher DOI:https://doi.org/10.1145/3624007.3624057

Metadata Export

Statistics

Citations

Dimensions.ai Metrics

Altmetrics

Downloads

0 downloads since deposited on 02 Dec 2024
0 downloads since 12 months

Authors, Affiliations, Collaborations

Similar Publications