arrow
Return

Accelerating the Simulation of Parallel Workloads using Loop-Bounded Checkpoints

delete2026-03-01
delete0
PRE
AI
S
Sabu, Alen *
Z
Zhantong Qiu
H
Harish Gulabrao Patil
L
Liu, Changxi
H
Heirman, Wim
J
Jason Lowe-Power
C
Carlson, Trevor E.
DOI:10.1145/3799430delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Efficient sampled simulation of multi-threaded applications remains a long-standing challenge with significant implications for evaluating modern computing systems. Existing methodologies are either limited in speedup (Time-based Sampling) or restricted to specific synchronization types (BarrierPoint). Workload-specific techniques tend to be rigid with respect to region selection, which may limit the overall speedup. In this work, we aim to solve these challenges and propose a novel sampling technique for multi-threaded applications, called LoopPoint, that is both agnostic to the type of synchronization primitives used and scales with the similarity exhibited by the application. The methodology combines several vital features, including (a) repeatable, up-front loop-based analysis of the workload, (b) a novel clustering approach to take into account run-time parallelism, and (c) the use of simulation markers to divide the execution into measurable chunks based on the amount of work done, even in the presence of spin-loops. LoopPoint identifies representative regions that can be simulated in parallel to achieve speedups of up to 801 & times; for the train input set of the multi-threaded SPEC CPU2017 benchmarks with an absolute geometric mean sampling error of just 1.48%. For the ref inputs, we estimate speedups up to 31,253 & times;, demonstrating how the identification of application regularity and loops can lead to significant simulation improvements. We further propose ROIperf, a hardware-based framework to enable rapid correlation of representative regions. Instead of long-running simulations, ROIperf allows for the performance measurement of full workloads and the representative regions directly on the hardware itself. This presents a practical methodology for large, realistic workloads where the prevailing simulation-based validation techniques are prohibitively slow. We demonstrate the efficacy of ROIperf across SPEC CPU2017 and NPB benchmark suites, showing strong correlation between hardware measurements and simulation predictions.
Keywords:
Sampled simulation
multi-threaded workloads
checkpointing
performance estimation

Journal

A
ACM Transactions on Architecture and Code Optimization
IF:
1.8
Papers:
96
Citations:
1.1K

Organization

I
intel usa
Scholars:
736
Papers: 548
Citations: 1
U
university of california davis
Scholars:
3.3W
Papers: 2.6W
Citations: 45
A
arm holdings
Scholars:
48
Papers: 34
Citations: 0
I
Intel Corporation
Scholars:
2.7K
Papers: 2.0K
Citations: 6
University of California System cover
University of California System
Scholars:
37.5W
Papers: 33.7W
Citations: 6.6K
researcher View more organizations