Hi all,

 

I have written a script to boot the ALPHA FS called spec2006.rcs:

 

----------------------------------------------------------------------------
-----------------------------------------------------

cd /spec2006/bin

#/sbin/m5 switchcpu

/sbin/m5 checkpoint 100000000 100000000

#/sbin/m5 dumpresetstats 100000000 100000000

./bzip2_base.amd64-m64-gcc42-nn /spec2006/inputs/bzip2/input.program 280
/spec2006/inputs/bzip2/program.out &

./gcc_base.amd64-m64-gcc42-nn /spec2006/inputs/gcc/200.i -o
/spec2006/inputs/gcc/200.s &

./mcf_base.amd64-m64-gcc42-nn /spec2006/inputs/mcf/inp.in
/spec2006/inputs/mcf/inp.out &

./milc_base.amd64-m64-gcc42-nn /spec2006/inputs/milc/su3imp.in
/spec2006/inputs/milc/su3imp.out &

echo "Done :D"

 

#/sbin/m5 exit

#/sbin/m5 exit

----------------------------------------------------------------------------
-------------------------------------------------------

 

Afterwards, I restore from the checkpoints and run the simulation using the
following command:

 

./build/ALPHA_MOESI_CMP_directory/gem5.opt configs/example/fs.py
--cpu-type=detailed -n 4 --caches --l2cache --num-dir=4 --l1d_size=16kB
--l1i_size=16kB -r 5 

 

After a few seconds, I use "Ctrl+C" to break the simulation.

However, the execution results indicate that the simulation has not been
forwarded. (Most of the statistics are 0. And the switchcpu: numCycle result
for each core is always 1. )

On the other hand, when I use a single-core configuration, there are some
statistics and the simulation can be forwarded.

 

Since in the checkpoint boot script the "/sbin/m5 switchcpu" is commended
out, I guess that I cannot simulate a multicore configuration without
setting switchcpu?

 

On the other hand, I attempted to using the switchcpu in the spec2006.rcS,
however, the gem5 always exits because of switchcpu.

 

----------------------------------------------------------------------------
-----------------------------------------------------

cd /spec2006/bin

/sbin/m5 switchcpu

/sbin/m5 checkpoint 100000000 100000000

#/sbin/m5 dumpresetstats 100000000 100000000

./bzip2_base.amd64-m64-gcc42-nn /spec2006/inputs/bzip2/input.program 280
/spec2006/inputs/bzip2/program.out &

./gcc_base.amd64-m64-gcc42-nn /spec2006/inputs/gcc/200.i -o
/spec2006/inputs/gcc/200.s &

./mcf_base.amd64-m64-gcc42-nn /spec2006/inputs/mcf/inp.in
/spec2006/inputs/mcf/inp.out &

./milc_base.amd64-m64-gcc42-nn /spec2006/inputs/milc/su3imp.in
/spec2006/inputs/milc/su3imp.out &

echo "Done :D"

 

#/sbin/m5 exit

#/sbin/m5 exit

----------------------------------------------------------------------------
-------------------------------------------------------

 

 

Any advice will be appreciated.

 

The attachment shows the stats with and without the "-n 4" configuration .

 

Regards ,

Shuchang

Attachment: stats.rar
Description: Binary data

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to