Dealing with Reversibility of Shared Libraries in PDES
Open Access
- 16 May 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 41-52
Abstract
State recoverability is a crucial aspect of speculative Time Warp-based Parallel Discrete Event Simulation. In the literature, we can identify three major classes of techniques to support the correct restoration of a previous simulation state upon the execution of a rollback operation: state checkpointing/restore, manual reverse computation and automatic reverse computation. The latter class has been recently supported by relying either on binary code instrumentation or on source-to-source code transformation. Nevertheless, both solutions are not intrinsically meant to support a reversible execution of third-party shared libraries, which can be pretty useful when implementing complex simulation models. In this paper, we present an architectural solution (realized as a static C library) which allows to transparently instrument at runtime any third party shared library, with no need for any modification to the model's code. We also present a preliminary experimental evaluation, based on the integration of our library with the ROOT-Sim simulation engine.Keywords
This publication has 22 references indexed in Scilit:
- How to Do a Million Watchpoints: Efficient Debugging Using Dynamic Instrumentation2008
- Lock-Free Dynamically Resizable Arrays2006
- A cost model for selecting checkpoint positions in time warp parallel simulationIEEE Transactions on Parallel and Distributed Systems, 2001
- DynamoACM SIGPLAN Notices, 2000
- Efficient optimistic parallel simulations using reverse computationACM Transactions on Modeling and Computer Simulation, 1999
- LAPACK: A portable linear algebra library for high‐performance computersConcurrency: Practice and Experience, 1991
- ALGLIB, a simple symbol-manipulation packageCommunications of the ACM, 1985
- Virtual timeACM Transactions on Programming Languages and Systems, 1985
- Basic Linear Algebra Subprograms for Fortran UsageACM Transactions on Mathematical Software, 1979
- Reversible executionCommunications of the ACM, 1973