On Wed, 3 Oct 2012, Tao Zhang wrote:

Dear all,



I was trying to run multiple SAME spec2006 benchmarks under SE mode. For
example, I employed 4 cores and each core run bzip2 independently. When I
used fastforward "-F" and maximum instruction "-I", the whole simulation
terminated exactly after the CPU switching. It seems like the switched CPU
thought it has hit the maximum instruction number. Originally, I think it

What do you mean by seems like? Is it happening in a non-deterministic fashion? gem5 should have printed the reason for exiting the simulation.

may be caused by the use of the same binary file. However, after I read the
Simulation.py, both "-F" and "-I" are applied to the cpu models, rather than
the processes. Therefore, the switched CPU should start with instruction
number 0..


Instruction accounting is done on a per thread basis, so the simulation will end after switching of cpus as the threads still remain the same. I guess you know what you need to do to keep the simulation going after switching of cpus.

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

Reply via email to