QPoints: QEMU to gem5 ARM Full System Checkpointing [abstract]
Bhargav Reddy Godala, Ishita Chaturvedi, Yucan Wu, Simone Campanoni, and David I. August
ISCA 2023: The gem5 Workshop, June 2023.
Simulating data center workloads on gem5 with
ARM model takes a prohibitively long time. The Atomic CPU
model in gem5 is orders of magnitude faster than detail mode but
still not fast enough to be practical and scalable. We built a
framework that converts a checkpoint taken from QEMU to
gem5âs checkpoint so that gem5 can resume execution. This
approach helps accelerate the startup time in booting a full
operating system and running heavy workloads like the ones used in
the datacenter. QEMU can be used with KVM support to speedup
emulation time. We have added QEMUâs virtual hardware model
in gem5 so that a checkpoint collected on QEMU could run on
the gem5 simulator seamlessly. Checkpoints created using this
method are reusable. The framework also supports multicore
checkpoints. We used Apple M1 Mac to create checkpoints
of various datacenter workloads from DaCapo, Renaissance,
Cloudsuite v4, OLTP bench, and Speedometer 2.0 successfully
ported them to the gem5 checkpoint format. The checkpoint contains
a disk image, memory dump, register state, and hardware state.