lkml.org 
[lkml]   [2014]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/19] perf c2c: Shared data analyser
On Mon, Mar 03, 2014 at 06:23:16PM +0100, Andi Kleen wrote:
> > Hmm, so based on Andi's reply, I am assuming you are running on a Westmere
> > (or Nehalem) due to the lack of mem-stores.
> >
> > If you don't have mem-stores, this tool isn't going to work. The tool can
> > only detect contention when sampling reads _and_ writes to the same
> > addresses.
>
> On these CPUs you could simply sample on HITM. You won't get addresses,
> but at least IPs and call stacks.

Heh. I never thought about that. And sure enough a quick test with
mem-stores commented out produced the same results (minus the stores).

One would just have to 'figure' out what cacheline offsets are causing the
HITMs.

Cheers,
Don


\
 
 \ /
  Last update: 2014-03-03 22:01    [W:0.341 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site