Lock-free simulation algorithm to enhance the performance of sequential and parallel DEVS simulators in shared-memory architectures

This paper presents a new algorithm for the Discrete EVent System Specification (DEVS) formalism that improves the performance of simulating complex systems by reducing the number of iterations through the model components in each simulation step. It also minimizes unnecessary visits to model components by propagating simulation routines only when necessary. Additionally, we provide two parallel versions of this new simulation algorithm that use work-stealing scheduling and avoid locking mechanisms without compromising the validity of the execution in shared-memory architectures. We implemented the proposed algorithms in the xDEVS simulator and evaluated their performance using the DEVStone synthetic benchmark. The results show that the proposed algorithms outperform state-of-the-art alternatives. For computationally intensive models, parallel implementations achieve high parallelism efficiency. Furthermore, they are more resilient to model complexity than the sequential algorithm, showing better performance for complex models even without computational overhead in state transition functions. • A new simulation algorithm for DEVS models that significantly reduces execution overhead in each simulation step, enhancing performance. • Two different parallel implementations of this algorithm that achieve high parallelism efficiency. • Parallel algorithms avoid locking mechanisms, reducing thread contention and improving overall simulation speed. • Work-stealing scheduling is used to improve load balance, adapting better to dynamically multi-threaded programs, and allowing for nested parallelism without flattening the DEVS model. • Empirical results demonstrate that the proposed algorithms outperform the fastest state-of-the-art simulators, especially in computationally intensive scenarios. • Parallel implementations show better performance for complex models even without computational overhead in state transition functions. • In models with computation-intensive state transition functions, parallel implementations show parallelism efficiencies above 90%, indicating low thread contention in complex models.

Authors

Institutions

Publication Details

Journal
Journal of Parallel and Distributed Computing
Published
2025-05-15
DOI
https://doi.org/10.1016/j.jpdc.2025.105105
Primary Topic
Simulation Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Lock-free simulation algorithm to enhance the performance of sequential and parallel DEVS simulators in shared-memory architectures

Román Cárdenas, José L. Risco‐Martín, Patricia Arroba
Journal of Parallel and Distributed Computing
Simulation Techniques and Applications
article

Lock-free simulation algorithm to enhance the performance of sequential and parallel DEVS simulators in shared-memory architectures

Román Cárdenas, José L. Risco‐Martín, Patricia Arroba
article en

Abstract

This paper presents a new algorithm for the Discrete EVent System Specification (DEVS) formalism that improves the performance of simulating complex systems by reducing the number of iterations through the model components in each simulation step. It also minimizes unnecessary visits to model components by propagating simulation routines only when necessary. Additionally, we provide two parallel versions of this new simulation algorithm that use work-stealing scheduling and avoid locking mechanisms without compromising the validity of the execution in shared-memory architectures. We implemented the proposed algorithms in the xDEVS simulator and evaluated their performance using the DEVStone synthetic benchmark. The results show that the proposed algorithms outperform state-of-the-art alternatives. For computationally intensive models, parallel implementations achieve high parallelism efficiency. Furthermore, they are more resilient to model complexity than the sequential algorithm, showing better performance for complex models even without computational overhead in state transition functions. • A new simulation algorithm for DEVS models that significantly reduces execution overhead in each simulation step, enhancing performance. • Two different parallel implementations of this algorithm that achieve high parallelism efficiency. • Parallel algorithms avoid locking mechanisms, reducing thread contention and improving overall simulation speed. • Work-stealing scheduling is used to improve load balance, adapting better to dynamically multi-threaded programs, and allowing for nested parallelism without flattening the DEVS model. • Empirical results demonstrate that the proposed algorithms outperform the fastest state-of-the-art simulators, especially in computationally intensive scenarios. • Parallel implementations show better performance for complex models even without computational overhead in state transition functions. • In models with computation-intensive state transition functions, parallel implementations show parallelism efficiencies above 90%, indicating low thread contention in complex models.

Journal of Parallel and Distributed ComputingVol. 203
Universidad Complutense de Madrid (ES), Universidad Politécnica de Madrid (ES)
Openalex Percentile: Top 88%
Simulation Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.