Hi Edmond,

I'm not sure about the m5 switchcpu command - i've never used it before, hopefully someone else knows about that.  but the periods that you mention represent how long, in cycles i believe, to run on one cpu, and then how long to go on the next before exiting.  we currently do not have the capability to switch back and forth, we can only go through the sequence of cpus one time.

if you want to change these defaults, just change the environemnet variable WARMUP_PERIOD and RUN_PERIOD, the same way you set SYSTEM and MEMORY.

finally, the CacheCPU is a construct that only exists in the python configuration code (that is why Kevin didn't know what it was), and it's just a simple CPU attached to a blocking cache hierarchy. 

The default of our sampler is to start at a cache CPU (to warm the caches) for 1e9 cycles and go to a detailed CPU (to take data) for 200e6 cycles.  we also often start from a checkpoint, which we generated using only a simpleCPU so that we can skip a lot of the stuff that happens in the beginning of a program.

good luck.
lisa


On 3/31/06, Edmond Coté <[EMAIL PROTECTED]> wrote:
Hello,

I'm currently attempting to perform a full-system simulation using M5's
Sampler feature. I receive the following output after issuing "m5
switchcpu" at the command prompt:

m5.opt: m5/cpu/simple/cpu.cc:806: void SimpleCPU::tick(): Assertion
`status() == Running || status() == Idle || status() == DcacheMissStall'
failed.
Program aborted at cycle 3967324804

The simulator is launched within m5/configs/fullsys using:

SYSTEM=Sampler MEMORY=STX NUMCPUS=4 [...] m5.opt run.py

Next, I'm not entirely clear about how the period parameter (periods =
[1e10, 200e6]) works. Am I correct to assume that the first value (in
time/ticks/??) represents the delay until the first switch to detailed
mode takes place? If so, how can I obtain a more accurate value? For
example, when set at the default value, 1e9, the simulator essentially
stalls before the CLI appears.

Finally, can anyone comment on the differences between CacheCPU and
DetailedCPU?

Thanks, your help is much appreciated.

Edmond




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users


Reply via email to