Output production and predicate detection are critical in speculative parallel discrete event simulation, since they need to take place accessing past state values-which have become committed-rather than the current state of the simulation objects, which is possibly affected by causality errors related to speculative event processing. In this article, we present an architecture that enables an effective management of the access to the committed state of any simulation object while still guaranteeing: (i) minimal impact on the forward execution of the simulation in terms of synchronization (and roll-back generation) and (ii) highly balanced distribution of the tasks among all the threads running the simulation application. Our architecture is devised for speculative simulation engines running on top of shared-memory parallel machines, where worker threads full share the simulation workload. We exploit kernel-level facilities-targeting the Linux operating system-and user level ones, which work together for enabling a suited wall-clock-time collocation of the threads' activities for the access to the committed global state of the simulation. We integrated our proposal within the USE (Ultimate Share-Everything) open-source simulation platform, and provide an experimental assessment of it.

Marotta, R., Montesano, F., Quaglia, F. (2023). Effective access to the committed global state in speculative parallel discrete event simulation on multi-core machines. In SIGSIM-PADS '23: Proceedings of the 2023 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation (pp.107-117). New York : ACM [10.1145/3573900.3591117].

Effective access to the committed global state in speculative parallel discrete event simulation on multi-core machines

Romolo Marotta;Federica Montesano;Francesco Quaglia
2023-06-01

Abstract

Output production and predicate detection are critical in speculative parallel discrete event simulation, since they need to take place accessing past state values-which have become committed-rather than the current state of the simulation objects, which is possibly affected by causality errors related to speculative event processing. In this article, we present an architecture that enables an effective management of the access to the committed state of any simulation object while still guaranteeing: (i) minimal impact on the forward execution of the simulation in terms of synchronization (and roll-back generation) and (ii) highly balanced distribution of the tasks among all the threads running the simulation application. Our architecture is devised for speculative simulation engines running on top of shared-memory parallel machines, where worker threads full share the simulation workload. We exploit kernel-level facilities-targeting the Linux operating system-and user level ones, which work together for enabling a suited wall-clock-time collocation of the threads' activities for the access to the committed global state of the simulation. We integrated our proposal within the USE (Ultimate Share-Everything) open-source simulation platform, and provide an experimental assessment of it.
2023 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation
Orlando, United States
2023
ACM
Rilevanza internazionale
giu-2023
Settore ING-INF/05
English
PDES; Load-sharing; Shared-memory; Multi-core; Committed-state reconstruction; Linux kernel
Intervento a convegno
Marotta, R., Montesano, F., Quaglia, F. (2023). Effective access to the committed global state in speculative parallel discrete event simulation on multi-core machines. In SIGSIM-PADS '23: Proceedings of the 2023 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation (pp.107-117). New York : ACM [10.1145/3573900.3591117].
Marotta, R; Montesano, F; Quaglia, F
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2108/367023
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 2
social impact