Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932719AbaJVUCW (ORCPT ); Wed, 22 Oct 2014 16:02:22 -0400 Received: from casper.infradead.org ([85.118.1.10]:60382 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932242AbaJVUCV (ORCPT ); Wed, 22 Oct 2014 16:02:21 -0400 Date: Wed, 22 Oct 2014 22:02:19 +0200 From: Peter Zijlstra To: Joe Mario Cc: Don Zickus , LKML , eranian@google.com, Arnaldo Carvalho de Melo , Andi Kleen , jolsa@redhat.com, rfowles@redhat.com Subject: Re: perf: Translating mmap2 ids into socket info? Message-ID: <20141022200219.GM21513@worktop.programming.kicks-ass.net> References: <20141022162026.GG135937@redhat.com> <20141022164510.GJ21513@worktop.programming.kicks-ass.net> <5447F2DF.3000506@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5447F2DF.3000506@redhat.com> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 22, 2014 at 02:09:35PM -0400, Joe Mario wrote: > >Yes, kernel memory is directly addresses, you basically have a static > >address->node mapping, it never changes. > > For kernel addresses, is there a reason not to have it available in perf, > especially when that knowledge is important to understanding a numa-related slowdown? Dunno why that isn't exposed in sysfs. > In our case, when we booted with one configuration, AIM ran fine. When we > booted another way, AIM's performance dropped 50%. It was all due to the dentry > lock being located on a different (now remote) numa node. > > We used your dmesg approach to track down the home node in an attempt to understand > what was different between the two boots. But the problem would have been obvious > if perf simply listed the home node info. Or if you'd used more counters that track the node interconnect traffic ;-) There are a few simple ones that count local/remote type things (offcore), but using the uncore counters you can track way more. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/