Hello,

I created checkpoints using the following configuration

build/X86/gem5.opt \
--outdir=./check_2-core-l1--l2-noruby/ \
configs/example/fs.py \
--kernel=/gem5-stable/full_system_images/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
 \
--mem-size='2GB' \
--mem-type=DDR3_1600_x64 \
--sys-clock='3.7GHz' \
--cpu-clock='3.7GHz' \
--sys-voltage='0.7V' \
--script=./parsec-scripts/fluidanimate.rcS \
--num-cpus=2 \
--num-dirs=2 \
--l1i_size=32kB \
--l1d_size=32kB \
--caches \
--num-l2caches=2 \
--l2_size=2MB \
--l2cache \
--take-checkpoints=5089510440360,17442781 \
--max-checkpoints=10 \
--checkpoint-dir=/gem5-stable/fluid-check/fluid_analyse/check-inst_2-core-l1--l2-noruby/
 \


I see that checkpoints are created using AtomicSimple cpu-type and the 
stats.txt file shows that both the cpus are active ( num_cycles simulated by 
cpu0 is 64699209 and cpu1 is 64664572).


And then I tried to restore from the checkpoints using O3 cpu-type using the 
below command. But when I look at the simulation output in "stats.txt", I see 
only cpu0 is active (num_cycles simulated is 64602 for cpu0 and 0 for cpu1 ). 
All the statistics for cpu1(2nd core) are either 0 or nan. I looked at the 
simulation 'config.ini' and it says both the cpus are configured as O3.


build/X86/gem5.opt \
--outdir=./restore_2-core-l1-l2-noruby-atomicTOdet-norub/ \
configs/example/fs.py \
--kernel=/gem5-stable/full_system_images/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
 \
--script=./parsec-scripts/fluidanimate.rcS \
--mem-size='2GB' \
--num-cpus=2 \
--sys-clock='3.7GHz' \
--cpu-clock='3.7GHz' \
--sys-voltage='0.7V' \
--l1i_size=32kB \
--l1d_size=32kB \
--checkpoint-dir=/gem5-stable/fluid-check/fluid_analyse/check_2-core-l1--l2-noruby/
 \
--checkpoint-restore=5 \
--rel-max-tick=17442781 \
--caches \
--num-l2caches=2 \
--l2_size=2MB \
--l2cache \
--cpu-type=detailed \
--restore-with-cpu=detailed \


Any insights or solutions to this problem would be of great help to me!


Thanks,

Yaswanth

PhD student, McGill University
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to