Traditionally, Logical Processes (LPs) forming a simulation model store their execution information into disjoint simulations states, forcing events exchange to communicate data between each other. In this work we propose the design and implementation of an extension to the traditional Time Warp (optimistic) synchronization protocol for parallel/distributed simulation, targeted at shared-memory/multicore machines, allowing LPs to share parts of their simulation states by using global variables. In order to preserve optimism's intrinsic properties, global variables are transparently mapped to multi-version ones, so to avoid any form of safety predicate verification upon updates. Execution's consistency is ensured via the introduction of a new rollback scheme which is triggered upon the detection of an incorrect global variable's read. At the same time, efficiency in the execution is guaranteed by the exploitation of non-blocking algorithms in order to manage the multi-version variables' lists. Furthermore, our proposal is integrated with the simulation model's code through software instrumentation, in order to allow the application-level programmer to avoid using any specific API to mark or to inform the simulation kernel of updates to global variables. Thus we support full transparency. An assessment of our proposal, comparing it with a traditional message-passing implementation of variables' multi-version is provided as well. © 2012 IEEE.

Transparent and efficient shared-state management for optimistic simulations on multi-core machines / Pellegrini, Alessandro; Vitali, Roberto; Peluso, Sebastiano; Quaglia, Francesco. - (2012), pp. 134-141. (Intervento presentato al convegno 2012 IEEE 20th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, MASCOTS 2012 tenutosi a Washington, DC, USA) [10.1109/MASCOTS.2012.25].

Transparent and efficient shared-state management for optimistic simulations on multi-core machines

PELLEGRINI, ALESSANDRO
;
VITALI, Roberto;Peluso, Sebastiano;QUAGLIA, Francesco
2012

Abstract

Traditionally, Logical Processes (LPs) forming a simulation model store their execution information into disjoint simulations states, forcing events exchange to communicate data between each other. In this work we propose the design and implementation of an extension to the traditional Time Warp (optimistic) synchronization protocol for parallel/distributed simulation, targeted at shared-memory/multicore machines, allowing LPs to share parts of their simulation states by using global variables. In order to preserve optimism's intrinsic properties, global variables are transparently mapped to multi-version ones, so to avoid any form of safety predicate verification upon updates. Execution's consistency is ensured via the introduction of a new rollback scheme which is triggered upon the detection of an incorrect global variable's read. At the same time, efficiency in the execution is guaranteed by the exploitation of non-blocking algorithms in order to manage the multi-version variables' lists. Furthermore, our proposal is integrated with the simulation model's code through software instrumentation, in order to allow the application-level programmer to avoid using any specific API to mark or to inform the simulation kernel of updates to global variables. Thus we support full transparency. An assessment of our proposal, comparing it with a traditional message-passing implementation of variables' multi-version is provided as well. © 2012 IEEE.
2012
2012 IEEE 20th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, MASCOTS 2012
Parallel Discrete Event Simulation; Parallel Simulation; Shared Variables; Synchronization
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Transparent and efficient shared-state management for optimistic simulations on multi-core machines / Pellegrini, Alessandro; Vitali, Roberto; Peluso, Sebastiano; Quaglia, Francesco. - (2012), pp. 134-141. (Intervento presentato al convegno 2012 IEEE 20th International Symposium on Modeling, Analysis and Simulation of Computer and Telecommunication Systems, MASCOTS 2012 tenutosi a Washington, DC, USA) [10.1109/MASCOTS.2012.25].
File allegati a questo prodotto
File Dimensione Formato  
Pellegrini_Postprint_Transparent-and-Efficient _2012.pdf

accesso aperto

Note: https://ieeexplore.ieee.org/document/6298173
Tipologia: Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 346.36 kB
Formato Adobe PDF
346.36 kB Adobe PDF
Pellegrini_Transparent-and-Efficient _2012.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 251.32 kB
Formato Adobe PDF
251.32 kB Adobe PDF   Contatta l'autore
Pellegrini_Frontespizio-indice_Transparent-and-Efficient _2012.pdf

solo gestori archivio

Tipologia: Altro materiale allegato
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 587.21 kB
Formato Adobe PDF
587.21 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/477297
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 15
  • ???jsp.display-item.citation.isi??? ND
social impact