Cache Set

Cache Set

I'm using a E5-2690 processor, and I would like to know it there is a way to know, given an addr (from a pointer), what cache set (L1, L2 and L3) this address is mapped to. Is it just something like: addr % number_of_sets ? Does make sense do it with a pointer (virtual address)?Thanks.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

I have the some problem!

Leave a Comment

Please sign in to add a comment. Not a member? Join today