Approximated Rollbacks

Matteo Principe, Andrea Piccione, Alessandro Pellegrini, and Francesco Quaglia


Published in: Proceedings of the 2020 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation
pdf Download PDF

Abstract:
A rollback operation in a speculative parallel discrete event simulator has traditionally targeted the perfect reconstruction of the state to be restored after a timestamp-order violation. This imposes that the rollback support entails specific capabilities and consequently pays given costs. In this article we propose approximated rollbacks, which allow a simulation object to perfectly realign its virtual time to the timestamp of the state to be restored, but lead the reconstructed state to be an approximation of what it should really be. The advantage is an important reduction of the cost for managing the state restore task in a rollback phase, as well as for managing the activities (i.e. state saving) that actually enable rollbacks to be executed. Our proposal is suited for stochastic simulations, and explores a tradeoff between the statistical representativeness of the outcome of the simulation run and the execution performance. We provide mechanisms that enable the application programmer to control this tradeoff, as well as simulation-platform level mechanisms that constitute the basis for managing approximate rollbacks in general simulation scenarios. A study on the aforementioned tradeoff is also presented.

BibTeX Entry:

@inproceedings{Pri20b,
author = {Principe, Matteo and Piccione, Andrea and Pellegrini, Alessandro and Quaglia, Francesco},
booktitle = {Proceedings of the 2020 ACM SIGSIM Conference on Principles of Advanced Discrete Simulation},
title = {Approximated Rollbacks},
year = {2020},
month = jun,
publisher = {ACM},
series = {PADS},
doi = {10.1145/3384441.3395984},
location = {Miami, FL, USA}
}