Kleovoulos Kalaitzidis
2018-09-18 22:09:55 UTC
Hello,
I am trying to create checkpoints for some benchmark by using the gem5 argument "--take-checkpoint". I have created my first checkpoint right
after boot, so I restore from that checkpoint and then I want to take the next one after X number of instructions. The gem5 command I use is :
build/X86/gem5.opt -r -e -d OUTPUT_FOLDER /configs/example/fs.py --cpu-type=NonCachingSimpleCPU -n 1 --mem-size=2GB --sys-clock=4GHz --cpu-clock=4GHz --kernel=path_to_kernel --disk-image=path_to_image --checkpoint-dir=path_to_checkpoint_directory -r 1 --at-instruction --take-checkpoints=X
It normally restores the checkpoint I have created at instruction 1 and then I expect it to take a checkpoint at instruction X and exit simulation. I tried that
with a small X number and I see that the checkpoint and exit of simulation never happens. Has anybody worked on that before? Any help or idea would
be very appreciated.
Thank you in advance.
I am trying to create checkpoints for some benchmark by using the gem5 argument "--take-checkpoint". I have created my first checkpoint right
after boot, so I restore from that checkpoint and then I want to take the next one after X number of instructions. The gem5 command I use is :
build/X86/gem5.opt -r -e -d OUTPUT_FOLDER /configs/example/fs.py --cpu-type=NonCachingSimpleCPU -n 1 --mem-size=2GB --sys-clock=4GHz --cpu-clock=4GHz --kernel=path_to_kernel --disk-image=path_to_image --checkpoint-dir=path_to_checkpoint_directory -r 1 --at-instruction --take-checkpoints=X
It normally restores the checkpoint I have created at instruction 1 and then I expect it to take a checkpoint at instruction X and exit simulation. I tried that
with a small X number and I see that the checkpoint and exit of simulation never happens. Has anybody worked on that before? Any help or idea would
be very appreciated.
Thank you in advance.
--
Kleovoulos Kalaitzidis
Doctorant - Équipe PACAP
Centre de recherche INRIA Rennes - Bretagne Atlantique
Bâtiment 12E, Bureau E321, Campus de Beaulieu,
35042 Rennes Cedex, France
Kleovoulos Kalaitzidis
Doctorant - Équipe PACAP
Centre de recherche INRIA Rennes - Bretagne Atlantique
Bâtiment 12E, Bureau E321, Campus de Beaulieu,
35042 Rennes Cedex, France