On 10/5/2021 8:01 AM, Đức Anh wrote:
> Hi Eliot,
>
> How could you restore the checkpoint with fs.py? What command option did you
use? I read through the
> fs.py file so I believed m5.instatiate(<checkpoint_dir>) is enough. I am using
> - gem5 version [DEVELOP-FOR-V21.2]
> - commit 6811158b28bd293487fb5e4bbbfb4bc2d5c259cb
> - GCC version 7.5.0 and 11.1.0 (I tried both)
> - Ubuntu 18.04
Here's the command I run. My OS kernel is modified, but not in ways that
would matter. My gem5 version 21.0, not 21.2. My gcc is 10.3.0. I believe
my fs.py is out-of-the-box. You probably know this, but some of the arguments
on the command line are to gem5 and others are to fs.py. It's important to
get them in the right place (before / after fs.py on the command line).
I believe it looks for the checkpoint directory inside the --path directory.
./build/X86/gem5.fast --stats-file=stats_gem5.txt.gz
--outdir=/home/moss/Autoclean/work/scenarios/a01/default/m5out
--path=/home/moss/Autoclean/work/scenarios/a01/default/m5out --quiet --listener-mode=on
./configs/example/fs.py --cpu-type=DerivO3CPU --num-cpu=1 --cpu-clock=3GHz
--script=/home/moss/Autoclean/work/scenarios/a01/default/m5out/do.rcs --caches --l2cache
--l1i_size=32kB --l1d_size=64kB --l2_size=4MB --mem-type=LPDDR5_6400_1x16_BG_BL32 --mem-size=512MB
--cacheline_size=64 --kernel=/home/moss/Autoclean/work/linux_kernel/vmlinux-5.2.3
--disk-image=/home/moss/Autoclean/work/gem5-images/ubuntu-18.04/ubuntu-18.04-base.img
--disk-image=/home/moss/Autoclean/AUTOC/../work/gem5-images/extra.img.2430.tmp
--checkpoint-restore=1 --restore-with-cpu=DerivO3CP
Best wishes - EM
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s