GIPSim:面向十亿级指令每秒的架构仿真器
Scaling Architectural Simulation to Giga Instructions Per Second
GIPSim 是一款指令驱动仿真器,通过依赖与资源约束推导指令时序,避免每周期更新流水线状态的开销。它采用同步引导的时间分解并行回放执行片段,在 96 个 worker 下实现平均 1,010 MIPS、峰值 1,421 MIPS,单 worker 为 13.8 MIPS。
arXiv:2611.32397v1 Announce Type: new 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.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org