If you are trying to simulate a perfect unified cache, the easiest way to do it would be to take the main memory object and put it where the cache is and give it the latency of the cache.

If you want to do something more complex, like simulate a perfect instruction cache but a realistic data cache, then you probably would need to hack up a new cache model that simply always acted as if it had a hit. Another approach is to just make the cache extremely large and highly associative; you would still pay for compulsory misses, but that's it.

Steve

Krit Athikulwongse wrote:
Dear M5 team,

I am trying to simulate a system with ideal caches. I used to use sim-alpha, and it has this option for L2 cache. I would like to know whether M5 has this option or not. If so, could you please direct me to the class/object that I should look at?

If not, a method that comes up in my mind right now, besides using very big cache (few MB) with 0-cycle hit latency, is to hack one of the class/object in the memory hierarchy to return latency of 0 no matter the accesses hit or miss.

Thank you,
Krit


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to