On Thu, 21 Jun 2012, Can Hankendi wrote:

> i'm running benchmarks from PARSEC suite. The event I'm using is f74e1,
> which basically collects cache misses for any of the 6 cores, although there
> are 12 cores on my system. So, collecting per-core cache-misses doesn't mean
> anything for that specific event?

You should check out the "Revision Guide for AMD Family 10h Processors".
The one that most likely applies is #437:
  L3 Cache Performance Events May Not Reliably Track Processor Core
#387 might be relevant too.

> Can you elaborate on some of those 'boring' computer architecture reasons?

Besides the problem of chip errata, cache events are notoriously bad at 
giving "expected" results.

Caches being include/exclusive can mean that cache levels are skipped when
doing lookups.

Victim caches can also change the results.

Some caches include cache coherency requests in their miss rates even if 
no actual miss happens.

Some events include results from prefetching as hits or misses.  It's not 
always clear from the documentation.

Most companies do not provide detailed enough descriptions of their cache 
infrastructures to generate accurate models of what the expected cache 
behavior should be.

Vince

--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to