SpecSims: A Scalable Speculative Tree-based Simulation Cloning Framework for Finite Memory Machines
Open Access
- 16 May 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Modeling and Computer Simulation
- Vol. 35 (3) , 1-21
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.Keywords
Funding Information
- U.S. Department of Energy, Office of Science, Advanced Scientific Computing Research (DE-AC05-00OR22725)
This publication has 21 references indexed in Scilit:
- Energy Conservation Through Cloned Execution Of Simulations2019
- Data Farming: Reaping Insights from Simulation ExperimentsCHANCE, 2018
- An Efficient and Adaptive Mechanism for Parallel Simulation Replication2009
- Logical Process Based Sequential Simulation Cloning41st Annual Simulation Symposium (anss-41 2008), 2008
- SOFTWARE DIVERSITY-BASED ACTIVE REPLICATION AS AN APPROACH FOR ENHANCING THE PERFORMANCE OF ADVANCED SIMULATION SYSTEMSInternational Journal of Foundations of Computer Science, 2007
- Very large fractional factorial and central composite designsACM Transactions on Modeling and Computer Simulation, 2005
- Algorithms for HLA-based distributed simulation cloningACM Transactions on Modeling and Computer Simulation, 2005
- Concurrent Replication of Parallel and Distributed Simulations2005
- Just-in-time cloning2004
- Scalability of parallel simulation cloning2003