Abstract
dc:descriptionWith the slowdown of Moore's law and Dennard scaling, computer architects nowadays rely on hardware-software co-design to sustain the performance that modern workloads demand. Unfortunately, evaluating a candidate design that involves changes in both hardware and software requires full-system simulation that is inherently slow. Worse, a trustworthy evaluation must span tens of seconds of execution to average out performance variability, which makes the end-to-end simulation time unaffordable. For instance, simulating tens of seconds of a 64-core platform on gem5, one of the fastest full-system timing simulators, would take months. Time-based statistical sampling addresses this problem by measuring only a sample of short windows drawn uniformly over execution time. It relies on functional warming, where a fast simulator runs through the execution and captures the state each window needs as a checkpoint. In practice, however, time-based sampling faces three challenges. Functional warming must keep time accurately for the windows to stay uniformly distributed, yet the approximations prior work uses bias the estimate by up to 90%. Functional warming also runs sequentially, which is impractical for simulating today's commodity CPUs comprising tens to hundreds of cores. Finally, the machines running the simulation cap the end-to-end speed, because their memory size bounds how many windows they can simulate in parallel and their storage speed limits how fast they transfer checkpoints. We posit that rethinking time-based sampling around these obstacles makes it accurate, scalable, and fast. To address these challenges, this thesis presents Chronos, a parallel full-system functional warming simulator. Chronos derives target time from a linear timekeeping model over microarchitectural events that functional warming already exposes, correcting the bias of prior work and restoring a validated error bound of 5% at 95% confidence. Chronos parallelizes functional warming with a synchronization interval relaxed to tens of microseconds, reaching 50-170 MIPS on 64 simulated cores, a 26x speedup over the sequential baseline. Chronos's checkpoint database, co-designed for time-based sampling, loads memory on demand and compresses it, letting each timing simulator use 40x less memory and shrinking checkpoints by 2.5x. Altogether, Chronos turns experiments that previously took months into tens of hours.
Degree
thesis:*- Grantor dc:publisher
- EPFL
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Lin, Shanqing
- Contributors dc:contributor
-
- Falsafi, Babak
- Alian, Mohammad
Subjects
dc:subject × 6Rights
- Language dc:language
- eng