Hi Tony,

If you are using the “classic” gem5 memory system, the caches already have 
options that gets you a bit on the way:

1) The options clusivity along with writeback_clean can be set to match your 
desired behaviour. Have a look at src/mem/cache/Caches.py for more details.

2) You have a set of prefetchers that can be added to the cache. There are 
already a range of options here, but you can always add a new one if the 
behaviour you desire is not captured.

Please contribute back any improvements and extensions that you create as part 
of this effort.

Andreas

From: gem5-users 
<[email protected]<mailto:[email protected]>> on behalf of 
"Adamo, Anthony M" <[email protected]<mailto:[email protected]>>
Reply-To: gem5 users mailing list 
<[email protected]<mailto:[email protected]>>
Date: Sunday, 22 January 2017 at 22:02
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [gem5-users] Making a Victim-like Cache (for an L3 Cache) that also 
makes calls to memory


Hi everyone,


I am attempting to make a victim cache that collects L3 evictions, and based on 
those items, fetch spatially located blocks from main memory.


My current system is based off the example "two-level" file that I have simply 
added an L3 cache to. I don't think that adding the victim cache will be much 
more of an issue since it is merely adding another level to the cache hierarchy.


However, adding the fetching portion to the victim cache is where I don't know 
where to start.


Could someone point me in the right direction to implement the fetching 
algorithm for my system?



Thank you,

Tony Adamo

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to