skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Virtual Time III, Part 1: Unified Virtual Time Synchronization for Parallel Discrete Event Simulation

Journal Article · · ACM Transactions on Modeling and Computer Simulation
DOI:https://doi.org/10.1145/3505248· OSTI ID:1986609
 [1];  [1]
  1. Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)

Algorithms for synchronization of parallel discrete event simulation have historically been divided between conservative methods that require lookahead but not rollback, and optimistic methods that require rollback but not lookahead. In this paper we present a new approach in the form of a framework called Unified Virtual Time (UVT) that unifies the two approaches, combining the advantages of both within a single synchronization theory. Whenever timely lookahead information is available, a logical process (LP) executes conservatively using an irreversible event handler. When lookahead information is not available the LP does not block, as it would in a classical conservative execution, but instead executes optimistically using a reversible event handler. The switch from conservative to optimistic synchronization and back is decided on an event-by-event basis by the simulator, transparently to the model code. UVT treats conservative synchronization algorithms as optional accelerators for an underlying optimistic synchronization algorithm, enabling the speed of conservative execution whenever it is applicable, but otherwise falling back on the generality of optimistic execution. We describe UVT in a novel way, based on fundamental invariants, monotonicity requirements, and synchronization rules. UVT permits zero-delay messages and pays careful attention to tie-handling using superposition. We prove that under fairly general conditions a UVT simulation always makes progress in virtual time. This is Part 1 of a trio of papers describing the UVT framework for PDES, mixing conservative and optimistic synchronization and integrating throttling control.

Research Organization:
Lawrence Livermore National Laboratory (LLNL), Livermore, CA (United States)
Sponsoring Organization:
USDOE National Nuclear Security Administration (NNSA)
Grant/Contract Number:
AC52-07NA27344
OSTI ID:
1986609
Report Number(s):
LLNL-JRNL-814339; 1009720
Journal Information:
ACM Transactions on Modeling and Computer Simulation, Vol. 32, Issue 4; ISSN 1049-3301
Publisher:
Association for Computing MachineryCopyright Statement
Country of Publication:
United States
Language:
English

References (25)

Supercritical speedup (discrete event simulation) conference January 1991
Logical Reversibility of Computation journal November 1973
Irreversibility and Heat Generation in the Computing Process journal July 1961
Virtual time journal July 1985
Cross-state events: A new approach to parallel discrete event simulation and its speculative runtime support journal October 2019
Optimistic Synchronization in HLA-Based Distributed Simulation journal April 2005
Distributed Simulation: A Case Study in Design and Verification of Distributed Programs journal September 1979
The cost of conservative synchronization in parallel discrete event simulations journal April 1993
The local Time Warp approach to parallel simulation conference July 1993
Breathing Time Warp conference July 1993
A cost model for selecting checkpoint positions in time warp parallel simulation journal April 2001
Computing global virtual time in shared-memory multiprocessors journal October 1997
Time Management in The High Level Architecture journal December 1998
A reversible programming language and its invertible self-interpreter conference January 2007
A unified framework for conservative and optimistic distributed simulation conference July 1994
Efficient optimistic parallel simulations using reverse computation journal July 1999
Communicating sequential processes journal August 1978
Selecting the checkpoint interval in time warp simulation conference July 1993
A unifying framework for distributed simulation journal October 1991
Virtual Time III, Part 2: Combining Conservative and Optimistic Synchronization journal October 2022
A study of time warp rollback mechanisms journal January 1991
On deciding between conservative and optimistic approaches on massively parallel platforms conference December 2010
Transparently Mixing Undo Logs and Software Reversibility for State Recovery in Optimistic PDES
  • Cingolani, Davide; Pellegrini, Alessandro; Quaglia, Francesco
  • ACM Transactions on Modeling and Computer Simulation, Vol. 27, Issue 2 https://doi.org/10.1145/3077583
journal July 2017
Towards a fully non-blocking share-everything PDES platform conference October 2017
Optimal memory management for time warp parallel simulation journal October 1991