In the stat file however the IPC is not zero:

system.switch_cpus.commit.count          3000001       # Number of
instructions committed
system.switch_cpus.ipc             3.187320         # IPC:
Instructions Per Cycle


So which one should I believe? Is everything normal?

On 11/22/11, Mahmood Naderan <[email protected]> wrote:
> Hi,
> I don't know what is wrong that the IPC is 0 in detail mode and no
> instruction is committed.
>
> The command I used is:
>
> build/X86_SE/m5.opt configs/example/cmp.py --prog-interval=7000000 -F
> 6000000 --maxinst 50000000 -d --caches --l2cache -b lbm
>
> The output in the fast forward mode looks normal:
>
> Switch at instruction count:6000000
> info: Entering event queue @ 0.  Starting simulation...
> warn: instruction 'fnstcw_Mw' unimplemented
> warn: instruction 'fldcw_Mw' unimplemented
> MAIN_printInfo:
> warn: instruction 'emms' unimplemented
>     grid size      : 100 x 100 x 130 = 1.30 * 10^6 Cells
>     nTimeSteps     : 3000
>     result file    : reference.dat
>     action         : nothing
>     simulation type: lid-driven cavity
>     obstacle file  : <none>
>
> 7000000000: Event_28: system.cpu progress event, total committed:4093433,
> progress insts committed: 4093433, IPC: 0.584776
> hack: be nice to actually delete the event here
>
>
>
> However in the detail simulation the IPC is 0 for 44M instructions. It
> means nothing!!
>
> Switched CPUS @ tick 10268402000
> Changing memory mode to timing
> switching cpus
> **** REAL SIMULATION ****
> info: Entering event queue @ 10268402000.  Starting simulation...
> 14000000000: Event_28: system.cpu progress event, total committed:6000000,
> progress insts committed: 1906567, IPC: 0.272367
> 21000000000: Event_28: system.cpu progress event, total committed:6000000,
> progress insts committed: 0, IPC: 0
> 28000000000: Event_28: system.cpu progress event, total committed:6000000,
> progress insts committed: 0, IPC: 0
> 35000000000: Event_28: system.cpu progress event, total committed:6000000,
> progress insts committed: 0, IPC: 0
> Exiting @ tick 41246130000 because a thread reached the max instruction
> count
>
>
> Is there any comment or idea to debug more to see what is happening?
> Thanks,
> --
> // Naderan *Mahmood;
>


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

Reply via email to