This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Which PMU Events for L2 Cache Misses on Cortex-A72

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:

  • L2D_CACHE_REFILL
  • L2D_CACHE_REFILL_LD
  • L2D_CACHE_REFILL_ST
  • L2D_CACHE_INVAL

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