Hi Timon, Good to hear.
Rather than starting with a different disk, what I usually do is have two disk images. One for boot and one for the workloads. After I resume from the checkpoint, I then mount the second disk with the workloads on it. Jason On Fri, Mar 23, 2018 at 7:18 AM Timon Evenblij <[email protected]> wrote: > Thanks, the hack_back script works great! > Another follow up question, can we resume checkpoints with different disk > images? I guess this one is trickier, but if the boot related files are not > changed, this should work right, since all architectural state is the same > then. > I have tried this and it seems to be working, but I want to be sure I > don't run into issues because of this. > > Regards > > Timon > > On Wed, Mar 21, 2018 at 4:47 PM, Ciro Santilli <[email protected]> > wrote: > >> On Wed, Mar 21, 2018 at 10:12 AM, Timon Evenblij >> <[email protected]> wrote: >> > Hi all, >> > >> > A quick question: Is it possible to restore from a checkpoint with a >> > different runscript then used during the first boot? >> > This way, I could run a lot of benchmarks without losing time waiting >> for >> > gem5 to boot. >> > I know I could boot interactively and then checkpoint, but restoring >> then >> > requires me to use m5term and execute the benchmark command manually, >> which >> > is a pain if I want to do a lot of benchmark simulations in parallel. >> > >> >> I'd just use the checkpoints and expect as mentioned at: >> >> https://stackoverflow.com/questions/7013137/automating-telnet-session-using-bash-scripts >> >> E.g.: >> >> #!/usr/bin/expect >> spawn telnet localhost 3456 >> expect "# $" >> send "pwd\r" >> send "ls /\r" >> send "m5 exit\r" >> expect eof >> >> > Regards >> > >> > Timon >> > >> > _______________________________________________ >> > gem5-users mailing list >> > [email protected] >> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> _______________________________________________ >> gem5-users mailing list >> [email protected] >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
