> Hi,I have two questions regarding running Parsec on Gem5I am using the
following command to run it without checkpoints:./build/ALPHA/gem5.opt
--stats-file=bodytrack2-try.txt ./configs/example/fs.py
--script=/cs/arch2/heba/haha/gem5/Parsec/bodytrack_2c_simsmall.rcS
--num-cpus 2 --cpu-type detailed --caches --l2cache --fast-forward
1000000000 --maxinsts 100000000And my script is:cd
/parsec/install/bin#/sbin/m5 switchcpu#/sbin/m5 dumpstats/sbin/m5
resetstats./bodytrack /parsec/install/inputs/bodytrack/sequenceB_1 4 1 1000
5 0 2echo "Done :D"
>
> /sbin/m5 exit/sbin/m5 exit1- Why the statistics output has 3 begin/end
simulation section? which one to look at? I deliberately commented dumpstats
such that it does not write the statistics for the part before the actual
execution.2- What if I am using switchcpu in the script. Does that mean it
will do functional, and then transition to detailed simulation at beginning
of program execution ignoring the fastforward. Or does it start the
fastforward after the switching?
> I assumed that by my script (not using switchcpu) the simulation will run
in functional simulation until the fastforward ends and then switch to
detailed whether or not you reached the actual program execution. Is that true?
>
> Any help really appreciated!Thanks,-- Heba
>
> _______________________________________________
> gem5-users mailing list
> gem5-users <at> gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
------------------------
Hello,
I have the same problem. when ever I use the following code and script I
get 4 different sections in my stats.txt
./build/ALPHA/gem5.opt -d /home/motaman/gem5/parsecout/parsec1/lat1
./configs/example/fs.py --script=./mm/blackscholes_4c_simsmall.rcS
--kernel=/home/motaman/full_system_images/binaries/vmlinux_2.6.27-gcc_4.3.4
--fast-forward=1000000000 --mem-type=DDR3_1600_x64 --caches --l2cache
--cpu-type=detailed
And my script is:
#!/bin/sh
# File to run the blackscholes benchmark
cd /parsec/install/bin
/sbin/m5 switchcpu
/sbin/m5 dumpstats
/sbin/m5 resetstats
./blackscholes 4 /parsec/install/inputs/blackscholes/in_4.txt
/parsec/install/inputs/blackscholes/prices.txt
echo "Done :D"
/sbin/m5 exit
/sbin/m5 exit
but when ever I comment the first two line of script file, there is 3
sections. and system.switch_cpus.cpi for the first two sections are nan and
just for the third section is a number. I would really appreciate if someone
explain it for me.
Also I have another problem when I use simsmall instead of test it takes too
long to finish. Also I have a lot of warning in both case is that ok?
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users