[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20160819151642.GF10153@twins.programming.kicks-ass.net>
Date: Fri, 19 Aug 2016 17:16:42 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Borislav Petkov <bp@...en8.de>
Cc: Matt Fleming <matt@...eblueprint.co.uk>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...nel.org>
Subject: Re: [PATCH] perf/x86/amd: Make HW_CACHE_REFERENCES and
HW_CACHE_MISSES measure L2
On Fri, Aug 19, 2016 at 04:44:53PM +0200, Borislav Petkov wrote:
> On Fri, Aug 19, 2016 at 03:34:22PM +0200, Peter Zijlstra wrote:
> > Can't those events are NB events and cannot be used on per CPU counters.
>
> It fugures, considering L3 is part of the NB on AMD.
>
> So the Intel ones are special in the sense that they can be used on per
> CPU counters even though they're not really per-CPU?
Intel has L3 (and L2,1) request and miss events per logical CPU. The CPU
still issues the load/store that causes the request and miss and thus
can be accounted to the program under execution.
Intel also has a bunch of L3 events at the uncore of course.
Powered by blists - more mailing lists