Hi all,

I'm currently using X86 Full system mode.

Firstly, I tried to make a checkpoint while running SPEC CPU by
AtomicSimpleCPU, and I got it. After that, I did restoring checkpoint by
adding an option '--cpu-type=DerivO3CPU', and also added the cache option.

However, if I run(restoring) by O3CPU, the simulation didn't keep running,
it just hanged and nothing changed. I also added some 'printf()' at
'src/cpu/o3/cpu.cc', 'FullO3CPU<Impl>::instDone()' to check the count of
instruction, nothing changed.

I'm also tried just restoring to Atomic, not O3, but in this case, the
simulation works fine. I'm not sure why this is hanging when I restore O3.
Below is the command line that I used for restoring O3.

/home/workspace/gem5_fs/build/X86/gem5.opt
/home/workspace/gem5_fs/configs/example/fs.py -n 1
--disk-image=/home/workspace/fs_image/disks/ubuntu-16.04-v3.6.img
--kernel=/home/taeklim/workspace/fs_image/binaries/vmlinux-4.14.53-prof
--sys-clock=1GHz --cpu-clock=4GHz
--mem-size=4096MB --mem-type=DDR3_1600_8x8
--restore-with-cpu=DerivO3CPU --cpu-type=DerivO3CPU
--caches --checkpoint-dir=/home/workspace/gem5_fs/m5out/ --at-instruction
-r 977530554357000

Your help will be appreciated.

Best,

Taeklim

ᐧ
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to