Speculative parallel discrete event simulation requires a support for reversing processed events, also called state recovery, when causal inconsistencies are revealed. In this article we present an approach where state recovery relies on a mix of hardware- and software-based techniques. We exploit the Hardware Transactional Memory (HTM) support, as offered by Intel Haswell CPUs, to process events as in-memory transactions, which are possibly committed only after their causal consistency is verified. At the same time, we exploit an innovative software-based reversibility technique, fully relying on transparent software instrumentation targeting x86/ELF objects, which enables undoing side effects by events with no actual backward re-computation. Each thread within our speculative processing engine dynamically (on a per-event basis) selects which recovery mode to rely on (hardware vs software) depending on varying runtime dynamics. The latter are captured by a lightweight analytic model indicating to what extent the HTM support (not paying any instrumentation cost) is efficient, and after what level of events’ parallelism it starts degrading its performance, e.g., due to excessive data conflicts while manipulating causality meta-data within HTM-based transactions. We released our implementation as open source software and provide experimental results for an assessment of its effectiveness. © Springer International Publishing Switzerland 2016.

Mixing Hardware and Software Reversibility for Speculative Parallel Discrete Event Simulation / Cingolani, Davide; Ianni, Mauro; Pellegrini, Alessandro; Quaglia, Francesco. - STAMPA. - 9720:(2016), pp. 137-152. (Intervento presentato al convegno 8th Conference on Reversible Computation (RC) tenutosi a Bologna; Italy nel 07-08 July 2016) [10.1007/978-3-319-40578-0_9].

Mixing Hardware and Software Reversibility for Speculative Parallel Discrete Event Simulation

CINGOLANI, DAVIDE
;
IANNI, MAURO;PELLEGRINI, ALESSANDRO;
2016

Abstract

Speculative parallel discrete event simulation requires a support for reversing processed events, also called state recovery, when causal inconsistencies are revealed. In this article we present an approach where state recovery relies on a mix of hardware- and software-based techniques. We exploit the Hardware Transactional Memory (HTM) support, as offered by Intel Haswell CPUs, to process events as in-memory transactions, which are possibly committed only after their causal consistency is verified. At the same time, we exploit an innovative software-based reversibility technique, fully relying on transparent software instrumentation targeting x86/ELF objects, which enables undoing side effects by events with no actual backward re-computation. Each thread within our speculative processing engine dynamically (on a per-event basis) selects which recovery mode to rely on (hardware vs software) depending on varying runtime dynamics. The latter are captured by a lightweight analytic model indicating to what extent the HTM support (not paying any instrumentation cost) is efficient, and after what level of events’ parallelism it starts degrading its performance, e.g., due to excessive data conflicts while manipulating causality meta-data within HTM-based transactions. We released our implementation as open source software and provide experimental results for an assessment of its effectiveness. © Springer International Publishing Switzerland 2016.
2016
8th Conference on Reversible Computation (RC)
Parallel Discrete Event Simulation; Reversible Computation; Runtime Environments
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Mixing Hardware and Software Reversibility for Speculative Parallel Discrete Event Simulation / Cingolani, Davide; Ianni, Mauro; Pellegrini, Alessandro; Quaglia, Francesco. - STAMPA. - 9720:(2016), pp. 137-152. (Intervento presentato al convegno 8th Conference on Reversible Computation (RC) tenutosi a Bologna; Italy nel 07-08 July 2016) [10.1007/978-3-319-40578-0_9].
File allegati a questo prodotto
File Dimensione Formato  
Cingolani_Postprint_Mixing-Hardware_2016.pdf

accesso aperto

Note: https://link.springer.com/chapter/10.1007/978-3-319-40578-0_9
Tipologia: Documento in Post-print (versione successiva alla peer review e accettata per la pubblicazione)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 282.41 kB
Formato Adobe PDF
282.41 kB Adobe PDF
Cingolani_Mixing-Hardware_2016.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 327.28 kB
Formato Adobe PDF
327.28 kB Adobe PDF   Contatta l'autore
Cingolani_Frontespizio-indice_Mixing-Hardware_2016.pdf

solo gestori archivio

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