Non-inclusive Cache Implementation

221 views
Skip to first unread message

Hyeonggyu Kim

unread,
Feb 18, 2014, 2:00:01 AM2/18/14
to snip...@googlegroups.com
Hello, all.

I'm now struggling to implement non-inclusive cache using Sniper.
As I understand so far, Sniper has strictly 'inclusive cache' model.
In other words, upper level cache can take the wanted cache line only through lower level cache.
I tried to access DRAM on L1-D Cache miss, but, I encountered a message like It's impossible work because lower level cache doesn't have the copied cache block. (It's not exact message.)

Is there anybody who has implemented non-inclusive cache or similar structure?


Although this is irrelative... is there single-core model that doesn't need the coherency protocol or directory scheme in Sniper?


Regards,
Hyeonggyu

Wim Heirman

unread,
Feb 18, 2014, 7:33:25 AM2/18/14
to snip...@googlegroups.com
Hyeonggyu,

If you only have a single last-level cache, you can set perf_model/dram/direct_access=true which means the LLC will access DRAM directly and bypass the directory scheme. There will still be snooping coherency between multiple cores sharing that LLC though.

As for non-inclusive caches, we've never implemented this. I'm sure it's possible, but the assumption of inclusion is made in many places (e.g. both line fill and writeback) so you'll have to find and update all those cases.

Regards,
Wim



--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hyeonggyu Kim

unread,
Feb 18, 2014, 9:20:06 AM2/18/14
to snip...@googlegroups.com
Wim,

Thank you for your helpful reply.

Sincerely,
Hyeonggyu
Reply all
Reply to author
Forward
0 new messages