I hope this is an appropriate place to post my question.
Using the linux /proc/mtrr i have configured all physical memory space to be uncachable.
I have then ran 'perf stat myapp' and looked on the cache counters for references and misses.
Since i have used mtrr to set all physical memory as uncachable, i was expecting the
cache misses to be 0 (zero), as uncachable memory should not be referencing the cache to begin with..
When running on an old Core E6700 CPU, I got both cache-references, as well as cache-misses to be 0.
When running on a newer X3430 Xeon CPU, I got both cache-reference and cache-misses to be the same number
(as all memory references where also cache-misses)
Is there any expected behvious when it comes to counter references to uncachable memory?
In praticular memory that was configured uncachable by mtrr?