Scaling Architectural Simulation to Giga Instructions Per Second
Zhouyi Shen, Hao Tang, Ruike Liu, Jingwei Sun, Guangzhong Sun
原文摘要
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.
cs.AR