Transparently Mixing Undo Logs and Software Reversibility for State Recovery in Optimistic PDES

Author:

Cingolani Davide1,Pellegrini Alessandro1,Quaglia Francesco1

Affiliation:

1. Sapienza University of Rome, Roma, Italy

Abstract

The Time Warp synchronization protocol for Parallel Discrete Event Simulation (PDES) is universally considered a viable solution to exploit the intrinsic simulation model parallelism and to provide model execution speedup. Yet it leads the PDES system to execute events in an order that may generate causal inconsistencies that need to be recovered via rollback , which requires restoration of a previous (consistent) simulation state whenever a causality violation is detected. The rollback operation is so critical for the performance of a Time Warp system that it has been extensively studied in the literature for decades to find approaches suitable to optimize it. The proposed solutions can be roughly classified as based on either checkpointing or reverse computing . In this article, we explore the practical design and implementation of a fully new approach based on the runtime generation of so-called undo code blocks , which are blocks of instructions implementing the reverse memory side effects generated by the forward execution of the events. However, this is not done by recomputing the original values to be restored, as instead it occurs in reverse computing schemes. Hence, the philosophy undo code blocks rely on is similar in spirit to that of undo-logs (as a form of checkpointing). Nevertheless, they are not data logs (as instead checkpoints are); rather, they are logs of instructions. Our proposal is fully transparent, thanks to the reliance on static software instrumentation (targeting the x86 architecture and Linux systems). Also, as we show, it can be combined with classical checkpointing to further improve the runtime behavior of the state recoverability support as a function of the workload. We also present experimental results related to our implementation, which is released as free software and fully integrated into the open source ROOT-Sim package. Experimental data support the viability and effectiveness of our proposal.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Science Applications,Modelling and Simulation

Reference45 articles.

1. GDB : The GNU Project Debugger. 2017. Retrieved from http://www.gnu.org/software/gdb/. GDB: The GNU Project Debugger. 2017. Retrieved from http://www.gnu.org/software/gdb/.

2. Dynamo

3. Reverse execution of programs

Cited by 22 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Spatial/Temporal Locality-based Load-sharing in Speculative Discrete Event Simulation on Multi-core Machines;ACM Transactions on Modeling and Computer Simulation;2024-01-08

2. Incremental Checkpointing of Large State Simulation Models with Write-Intensive Events via Memory Update Correlation on Buddy Pages;2023 IEEE/ACM 27th International Symposium on Distributed Simulation and Real Time Applications (DS-RT);2023-10-04

3. Effective Access to the Committed Global State in Speculative Parallel Discrete Event Simulation on Multi-core Machines;ACM SIGSIM Conference on Principles of Advanced Discrete Simulation;2023-06-21

4. Hybrid Speculative Synchronisation for Parallel Discrete Event Simulation;ACM SIGSIM Conference on Principles of Advanced Discrete Simulation;2023-06-21

5. Reversing an imperative concurrent programming language;Science of Computer Programming;2022-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3