Hello,

I am writing about a ruby databank latency problem.

I am trying to simulate caches with longer data bank access latency. It seems that the ruby data/tag bank (BankArray model) is perfect for this job. But no matter how I change the dataAccessLatency under ruby L1Cache, the output stats do not show any difference. And I turned on the debug-flag RubyResourceStalls, nothing is printed either.

I can actually see that the l1_cntrl0.L1Dcache in the config.ini has the configured dataAccessLatency (I set that to 10000 to try to make a difference) and resourceStalls is set to be True. Besides, I did not find where the CacheMemory::checkResourceAvailable function is called. This function should trigger the banked model, is it right?

I am using [ ALPHA_MESI_CMP_directory, gem5-dev, Ruby, FS ] to run test simulation with splash FFT.
I have changed the configs/ruby/MESI_CMP_directory.py as below:

#
# Note: the L1 Cache latency is only used by the sequencer on fast path hits
#
class L1Cache(RubyCache):
    dataAccessLatency = 10000
    resourceStalls = True
    latency = 3

Could anyone please give me some suggestion on what I did wrong? Any idea would be really appreciated.

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

Reply via email to