[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 03 Mar 2014 13:07:00 -0500
From: Joe Mario <jmario@...hat.com>
To: Andi Kleen <andi@...stfloor.org>
CC: Don Zickus <dzickus@...hat.com>,
Davidlohr Bueso <davidlohr@...com>, acme@...stprotocols.net,
LKML <linux-kernel@...r.kernel.org>, jolsa@...hat.com,
fowles@...each.com, eranian@...gle.com,
Arnaldo Carvalho de Melo <acme@...hat.com>,
David Ahern <dsahern@...il.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Mike Galbraith <efault@....de>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <peterz@...radead.org>,
Richard Fowles <rfowles@...hat.com>
Subject: Re: [PATCH 08/19] perf c2c: Shared data analyser
On 03/03/2014 12:23 PM, 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.
>
> -Andi
>
If you only sample on the HITMs then you don't get the store misses. That means you'll not be able to detect who is simultaneously tugging on the same cache lines. That gives up much of the value of "perf c2c".
As we developed this, we ended up settling on Ivy Bridge to get the behavior we wanted.
Joe
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists