Skip to main navigation Skip to search Skip to main content

SpecSims: A Scalable Speculative Tree-based Simulation Cloning Framework for Finite Memory Machines

Research output: Contribution to journal › Article › peer-review

1 Scopus citations

Abstract

Simulation cloning is a technique in which cloned simulations whose state spaces differ partially from their parent simulation due to intervening events are spawned at runtime and concurrently advanced. It is a powerful method to carry out what-if analysis by speculatively exploring and evaluating the impact of various permutations of intervening cascade of events. Due to the exponential growth in the number of possible clones even for a small number of distinct intervening events, the practical efficacy of the approach is often severely limited by the maximum available memory of the computing host. In this paper, we introduce a novel speculative simulation cloning framework that executes a simulation cloning campaign capable of efficiently exploring an exponentially large space of clone simulations created by permutation of intervening events under a finite memory constraint. We provide a theoretical analysis of the runtime characteristics of our proposed approach and highlight its novel advantages such as memory-aware and as-long-as-needed execution. In support of our analytical findings and to demonstrate its practical feasibility, we implement a prototype of the cloning framework on a shared memory system and report its performance characteristics in the context of a heat diffusion simulation, and a power grid simulation subject to cascading disruptions from geomagnetic disturbances.

Original languageEnglish
Article number23
JournalACM Transactions on Modeling and Computer Simulation
Volume35
Issue number3
DOIs
StatePublished - May 16 2025

Funding

This manuscript has been authored by UT-Battelle, LLC under Contract No. DE-AC05-00OR22725 with the U.S. Department of Energy, Office of Science, Advanced Scientific Computing Research (ASCR) program. The United States Government retains and the publisher, by accepting the article for publication, acknowledges that the United States Government retains a non-exclusive, paid-up, irrevocable, worldwide license to publish or reproduce the published form of this manuscript or allow others to do so, for United States Government purposes. The Department of Energy will provide public access to these results of federally sponsored research in accordance with the DOE Public Access Plan ( http://energy.gov/downloads/doe-public-access-plan ).

Keywords

  • Simulation framework
  • high-performance computing
  • simulation cloning algorithms

Fingerprint

Dive into the research topics of 'SpecSims: A Scalable Speculative Tree-based Simulation Cloning Framework for Finite Memory Machines'. Together they form a unique fingerprint.

Cite this