Hi,

I want to boot up Linux with X86KvmCPU and switch to TimingCpu to run some 
benchmarks, and I needed to run them with garnet interconnection network. I’m 
planning to do switching via checkpoint (loading checkpoint with TimingCPU).

Following is the command I used to run gem5 in full system mode and create the 
checkpoint. The details on versions can be found at the end.

./build/X86/gem5.opt configs/example/fs.py --disk-image=dist/x86-ubuntu.img 
--kernel=dist/vmlinux-4.4.186 --num-cpus=4 --num-dirs=4 --cpu-type=X86KvmCPU 
--cpu-clock=2GHz --caches --l1d_size=16kB --l1i_size=16kB --l2cache 
--num-l2cache=4 --mem-type=SimpleMemory --mem-size=2GB --ruby --network=garnet 
--topology=Mesh_XY --mesh-rows=2 --script=config/boot/hack_back_ckpt.rcS


system.pc.com_1.device shows the last message as "Checkpointing simulation..." 
and I can see a folder cpt.<clocknumber> created at m5out directory. But the 
simulation is hanging there for more than two hours. I would like to know :

  1.  Is there anything I'm doing wrong or missing or does checkpointing 
usually take hours like this?
  2.  Does checkpointing works with KvmCPU ?
  3.  Is there a better way to do fast forwarding without using checkpoints? (I 
cannot use new gem5 standard library because it does not support garnet, 
therefore I need to use fs.py)

gem5 version : 22.0.0.1

disk image : x86-ubuntu-18.04-img from the gem5 resources : 
https://resources.gem5.org/resources/x86-ubuntu-18.04-img?database=gem5-resources&version=1.0.0

kernel : x86-linux-kernel-4.4.186 from gem5 resources : 
https://resources.gem5.org/resources/x86-linux-kernel-4.4.186?version=1.0.0

Regards,
Hansika Weerasena

Hansika Weerasena

_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to