Hi all,

When I switched gem5 from v21.0.0.0 to v21.1.0.1, the dumped `stats.txt` is 
much longer than previous one, filled with strange entry like the following.

==========stats.txt (Trimmed)==========
system.cpu0.dcache.demandHits::cpu0.mmu.dtb.walker 730151
system.cpu0.dcache.demandHits::cpu0.mmu.itb.walker 730151
system.cpu0.dcache.demandHits::cpu0.inst 730151
system.cpu0.dcache.demandHits::cpu0.data 730151
system.cpu0.dcache.demandHits::cpu1.mmu.dtb.walker 730151
system.cpu0.dcache.demandHits::cpu1.mmu.itb.walker 730151
system.cpu0.dcache.demandHits::cpu1.inst 730151
system.cpu0.dcache.demandHits::cpu1.data 730151
system.cpu0.dcache.demandHits::cpu2.mmu.dtb.walker 730151
system.cpu0.dcache.demandHits::cpu2.mmu.itb.walker 730151
system.cpu0.dcache.demandHits::cpu2.inst 730151
system.cpu0.dcache.demandHits::cpu2.data 730151
system.cpu0.dcache.demandHits::cpu3.mmu.dtb.walker 730151
system.cpu0.dcache.demandHits::cpu3.mmu.itb.walker 730151
system.cpu0.dcache.demandHits::cpu3.inst 730151
system.cpu0.dcache.demandHits::cpu3.data 730151
system.cpu0.dcache.demandHits::total 13872869
=================================

It's strange that private Dcache in cpu0 generated stats related to other 
cores, and even with the identical numbers. I cannot find out how this happens.

And the problem happens not only in cache stats. For TimingSimpleCPU, all 
`statExecutedInstType` seems to be covered by the same number.

==========stats.txt (Trimmed)==========
system.cpu0.exec_context.thread_0.statExecutedInstType::No_OpClass 3988372 
1.89% 1.89% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::IntAlu 3988372 1.89% 
3.77% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::IntMult 3988372 1.89% 
5.66% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::IntDiv 3988372 1.89% 
7.55% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::FloatAdd 3988372 1.89% 
9.43% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::FloatCmp 3988372 1.89% 
11.32% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::FloatCvt 3988372 1.89% 
13.21% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::FloatMult 3988372 1.89% 
15.09% # Class of executed instruction. (Count)
system.cpu0.exec_context.thread_0.statExecutedInstType::FloatMultAcc 3988372 
1.89% 16.98% # Class of executed instruction. (Count)
=================================

I tried to run `configs/example/se.py` with the same config for both v21.1 and 
v21.0 copy, but seems like the problem only happens in the newer one. Each copy 
is unmodified.

Anyone have clue about this? I'm looking forward to your reply. :)

Best regards,
Meng
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to