Scaling Architectural Simulation to Giga Instructions Per Second
Zhouyi Shen, Hao Tang, Ruike Liu, Jingwei Sun, Guangzhong Sun
Abstract
The cost of detailed architectural simulation constrains design-space exploration, while parallelization across simulated cores offers limited host concurrency for single-core and small multicore targets. We present GIPSim, an instruction-driven simulator that derives instruction timing from dependencies and resource constraints, reducing the overhead of updating pipeline state every simulated cycle. It applies synchronization-guided temporal decomposition to recorded execution, exposing host parallelism beyond the target core count. GIPSim replays the resulting segments in parallel and aggregates their durations through a dependency graph to estimate overall execution time, with replay contexts reconstructed using retained microarchitectural state, warmup, and synchronization-guided cache eviction. This accounts for synchronization waits without requiring host workers to follow target execution order. We evaluate GIPSim using QEMU traces of application and operating system execution on multi-core x86-64, AArch64, and RV64GC systems. GIPSim achieves an average single-node simulation throughput of 13.8 million instructions per second (MIPS) with one worker and 1,010 MIPS with 96 workers, peaking at 1,421 MIPS. The corresponding mean absolute percentage errors in execution cycles relative to gem5 are 7.52\% and 7.43\%, respectively.
Create a lesson
Related papers
FoldSim: Scaling Cycle-Exact RTL Simulation with Hierarchical Folding and Static Scheduling
Shared title terminologycs.ARChengxuan Wang, Nikhil Rout, Yang-gon Kim et al.
L2C2: Enhancing Large-scale Chiplets for Agent Long-Context LLM Inference with Sparse and Distributed Attention
Shared title terminologycs.ARKangbo Bai, Zhonghua Mu, Hongze Zhou et al.
RTLDetective: Agentic RTL Debugging through Dataflow Analysis and Simulation-Guided Fault Localization
Shared title terminologycs.ARNeusha Javidnia, Ruisi Zhang, Farinaz Koushanfar
ANOR: Scaling Sparse Attention with a GPU-PNM Computing Hierarchy
Shared title terminologycs.ARHyunsu Ye, Hyunmin Choi, Jaehong Cho et al.
Making Protocol Effects Explicit: LLM-to-Packet Simulation for Superpod Interconnect Exploration
Shared title terminologycs.ARYu Zhu, Xinhao Yang, Zhaoshi Li et al.
Synapse: An HBM-Coordinated HBF Near-Memory Computing Architecture for Pipelined Agentic AI Execution
Shared title terminologycs.ARJuhyeong Jin, Hyunjun Cho, Joo-Young Kim