The increasing diffusion of shared-memory multi-core machines has given rise to a change in the design of Parallel Discrete Event Simulation (PDES) platforms. In particular, the possibility to share large amounts of memory by many worker threads has lead to a boost in the adoption of non-blocking coordination algorithms, which have been proven to offer higher scalability when compared to their blocking counterparts based on critical sections. In this article we present an innovative non-blocking algorithm for computing Global Virtual Time (GVT)—namely, the current commit horizon—in multi-thread PDES engines to be run on top of multi-core machines. Beyond being non-blocking, our proposal has the advantage of providing a logarithmic (rather than linear) number of per-thread memory operations—read/write operations of values involved in the reduction for computing the GVT value—vs the amount of threads participating in the GVT computation. This allows for keeping low the actual CPU time that is required for determining the new GVT value. We compare our algorithm with a literature solution, still based on the non-blocking approach, but entailing a linear number of memory operations, quantifying the advantages from our proposal especially for very large numbers of threads participating in the GVT computation.

A Non‑blocking Global Virtual Time Algorithm with Logarithmic Number of Memory Operations / Ianni, Mauro; Marotta, Romolo; Pellegrini, Alessandro; Quaglia, Francesco. - CD-ROM. - (2017), pp. 17-24. (Intervento presentato al convegno 21st International Symposium on Distributed Simulation and Real Time Applications tenutosi a Rome; Italy) [10.1109/DISTRA.2017.8167662].

A Non‑blocking Global Virtual Time Algorithm with Logarithmic Number of Memory Operations

Ianni, Mauro
;
Marotta, Romolo;Pellegrini, Alessandro;Quaglia, Francesco
2017

Abstract

The increasing diffusion of shared-memory multi-core machines has given rise to a change in the design of Parallel Discrete Event Simulation (PDES) platforms. In particular, the possibility to share large amounts of memory by many worker threads has lead to a boost in the adoption of non-blocking coordination algorithms, which have been proven to offer higher scalability when compared to their blocking counterparts based on critical sections. In this article we present an innovative non-blocking algorithm for computing Global Virtual Time (GVT)—namely, the current commit horizon—in multi-thread PDES engines to be run on top of multi-core machines. Beyond being non-blocking, our proposal has the advantage of providing a logarithmic (rather than linear) number of per-thread memory operations—read/write operations of values involved in the reduction for computing the GVT value—vs the amount of threads participating in the GVT computation. This allows for keeping low the actual CPU time that is required for determining the new GVT value. We compare our algorithm with a literature solution, still based on the non-blocking approach, but entailing a linear number of memory operations, quantifying the advantages from our proposal especially for very large numbers of threads participating in the GVT computation.
2017
21st International Symposium on Distributed Simulation and Real Time Applications
Parallel Discrete Event Simulation; Global Virtual Time; Non-Blocking Algorithms
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
A Non‑blocking Global Virtual Time Algorithm with Logarithmic Number of Memory Operations / Ianni, Mauro; Marotta, Romolo; Pellegrini, Alessandro; Quaglia, Francesco. - CD-ROM. - (2017), pp. 17-24. (Intervento presentato al convegno 21st International Symposium on Distributed Simulation and Real Time Applications tenutosi a Rome; Italy) [10.1109/DISTRA.2017.8167662].
File allegati a questo prodotto
File Dimensione Formato  
Ianni_Frontespizio_A-non-blocking_2017.pdf

solo gestori archivio

Tipologia: Altro materiale allegato
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 849.2 kB
Formato Adobe PDF
849.2 kB Adobe PDF   Contatta l'autore
Ianni_A-non-blocking_2017.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 467.33 kB
Formato Adobe PDF
467.33 kB Adobe PDF   Contatta l'autore

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/11573/1096572
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 6
social impact