----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2915/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- changesets:10880:bb718472abc3 tests: scripts for taking checkpoint and a simple test for pd-gem5 Please follow these steps to start a simple experiment with pd-gem5: 1- Apply pd-gem5 patch http://reviews.gem5.org/r/2914/ (first apply dependent patch chain) to a newly downloaded gem5, then apply this patch 2- Compile gem5 3- Download http://www.gem5.org/dist/current/arm/aarch-system-2014-10.tar.xz and extract it under your gem5 directory 4- Modify these two lines in util/pd_gem5/pd-gem5.conf: pd-gem5_dir= <set it to your gem5 directory> other_command_line_options= --disk-image=<path to "aarch32-ubuntu-natty-headless.img"> 5- Lanuch simulation using the script under util/pd_gem5/pd-gem5.py: python pd-gem5.py pd-gem5.conf 6- Wait till pd-gem5 boot linux on all nodes and take checkpoint (~30min). You will see this message at the end of simulation : "gem5 process simulating *** is finished/killed." 7- Modify these two lines in util/pd_gem5/pd-gem5.conf to restore from the newly taken checkpoint and run a simple ping test: script_dir=TEST other_command_line_options= --disk-image=<path to "aarch32-ubuntu-natty-headless.img"> --checkpoint-restore=1 8- run pd-gem5 again to restore from the checkpoint and run ping test: python pd-gem5.py pd-gem5.conf 9- check $pd-gem5_dir/rundir/TEST/tux0/m5out/system.terminal Diffs ----- scriptdir/CKPT/tux0.sh PRE-CREATION scriptdir/CKPT/tux1.sh PRE-CREATION scriptdir/CKPT/tux2.sh PRE-CREATION scriptdir/CKPT/tux3.sh PRE-CREATION scriptdir/TEST/tux0.sh PRE-CREATION scriptdir/TEST/tux1.sh PRE-CREATION scriptdir/TEST/tux2.sh PRE-CREATION scriptdir/TEST/tux3.sh PRE-CREATION Diff: http://reviews.gem5.org/r/2915/diff/ Testing ------- Thanks, Mohammad Alian _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev