We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I want to monitor L2 cache misses through Linux perf, i.e. data that is not in the L2 cache and requires a main memory access, but I'm a bit confused which PMU events to use.
The Cortex-A72 TRM lists the following which seem likely candidates:
Which is a L2 cache miss?
What I'm trying to do is measure the effect of the L2 cache size on the performance of a CPU with 0.5MB L2 cache vs that of CPU with 1.0MB L2 cache.
Kind regards
IMHO: REFILL: Loading cacheline because of any event, for example clearing itREFILL_LD: Loading it, because of a "load instruction"REFILL_ST: same, but storeINVAL: Is invalidation of a cache line.So, I'd say, the sum of the REFILL* events gives the number of cache misses.
Thank you!