We are running a timing CPU model with 4 cores in gem5.
Ruby is enabled and MOESI_CMP_DIRECTORY is the cache coherence protocol.
Benchmark - Blackscholes from Parsec with 64 threads

I am getting all misses as zero.
Here is my snippet of rubystats.txt. I am getting other events such as Load,


Cache Stats: system.l1_cntrl0.L1IcacheMemory
  system.l1_cntrl0.L1IcacheMemory_total_misses: 0
  system.l1_cntrl0.L1IcacheMemory_total_demand_misses: 0
  system.l1_cntrl0.L1IcacheMemory_total_prefetches: 0
  system.l1_cntrl0.L1IcacheMemory_total_sw_prefetches: 0
  system.l1_cntrl0.L1IcacheMemory_total_hw_prefetches: 0


Cache Stats: system.l1_cntrl0.L1DcacheMemory
  system.l1_cntrl0.L1DcacheMemory_total_misses: 0
  system.l1_cntrl0.L1DcacheMemory_total_demand_misses: 0
  system.l1_cntrl0.L1DcacheMemory_total_prefetches: 0
  system.l1_cntrl0.L1DcacheMemory_total_sw_prefetches: 0
  system.l1_cntrl0.L1DcacheMemory_total_hw_prefetches: 0


 --- L1Cache ---
 - Event Counts -
Load [174868554 163855032 221745226 166711739 ] 727180551
Ifetch [924567274 861223004 1180618876 875681854 ] 3842091008
Store [116265701 110546818 138053735 112724748 ] 477591002
L1_Replacement [2419806 232035 2469089 665311 ] 5786241
Own_GETX [322 239 249 138 ] 948
Fwd_GETX [22044 11221 67881 26829 ] 127975
Fwd_GETS [163707 122323 148798 142861 ] 577689
Fwd_DMA [2 0 0 0 ] 2
Inv [3797 5618 9397 10513 ] 29325
Ack [50413 12189 38092 51382 ] 152076
Data [404780 103025 415698 293237 ] 1216740
Exclusive_Data [2070056 152001 2140166 429355 ] 4791578
Writeback_Ack [386312 94307 394124 275575 ] 1150318
Writeback_Ack_Data [2015856 133928 2007161 378049 ] 4534994
Writeback_Nack [0 0 0 3 ] 3
All_acks [233031 28095 203273 79717 ] 544116
Use_Timeout [2070376 152240 2140415 429493 ] 4792524

L1 replacement and Inv is present. But no cache misses.

DO I need to enable something to see the cache misses??


Regards,
Atish
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to