public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Brice Goglin <Brice.Goglin@inria.fr>
Cc: Andi Kleen <andi@firstfloor.org>,
	KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>,
	Yinghai Lu <yhlu.kernel@gmail.com>,
	David Rientjes <rientjes@google.com>,
	Chris Worley <worleys@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: Off topic: Numactl "distance" wrong
Date: Tue, 7 Apr 2009 09:56:21 +0200	[thread overview]
Message-ID: <20090407075621.GK17934@one.firstfloor.org> (raw)
In-Reply-To: <49DB0388.1040408@inria.fr>

On Tue, Apr 07, 2009 at 09:40:56AM +0200, Brice Goglin wrote:
> Andi Kleen wrote:
> >> Well, some user-space application may use these distances
> >> to improve their binding.
> >>     
> >
> > I'm not aware of any that does.
> 
> We have some people here that would like to use it ideally. But they
> know numa distances is almost never available, so they don't really look
> at using them...

>From my experience and from talking at people they tend to have enough
trouble getting the basic NUMA tunings done, without caring about
such (arcane) details.

> 
> > If it's true then the correct place would be to fix the BIOS.
> >   
> 
> Come on, you know it's not going to happen for 99.9% on the existing
> opteron boxes. We have many hardware quirks in the kernel, I don't see
> why this numa distance problem would not deserve its own work around.

The systems where it makes a large difference typically have them anyways.

Anyways if you really want you can ask Len for a way to override SLIT
tables at boot time (similar to the mechanism for MADTs), but I suspect
he wouldn't be particularly enthuiastic. Also it's a little more tricky
than for normal MADTs because SLIT parsing happens very early.

> By the way, anybody looked at this on Nehalem boxes ?

Current Nehalem boxes are all fully connected, so 10/20 
(or sometimes scaled to trigger the zone fallback workaround) is the
correct answer and you don't get any benefits from magic in this area.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  reply	other threads:[~2009-04-07  7:54 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 20:02 Off topic: Numactl "distance" wrong Chris Worley
2009-04-03 20:16 ` Brice Goglin
2009-04-03 20:49   ` Yinghai Lu
2009-04-03 21:01     ` Cliff Wickman
2009-04-03 21:43       ` Yinghai Lu
2009-04-03 21:24 ` Andi Kleen
2009-04-03 21:43   ` David Rientjes
2009-04-03 21:48     ` Yinghai Lu
2009-04-03 21:52       ` David Rientjes
2009-04-03 21:55       ` Andi Kleen
2009-04-03 22:15         ` Yinghai Lu
2009-04-07  2:52         ` KOSAKI Motohiro
2009-04-07  6:17           ` Brice Goglin
2009-04-07  7:05             ` Andi Kleen
2009-04-07  7:40               ` Brice Goglin
2009-04-07  7:56                 ` Andi Kleen [this message]
2009-04-07  7:44               ` David Rientjes
2009-04-07  7:59                 ` Andi Kleen
2009-04-07  8:08                   ` David Rientjes
2009-04-07  8:23                     ` Andi Kleen
2009-04-07  8:30                       ` David Rientjes
2009-04-07  9:13                         ` Andi Kleen
2009-04-03 21:53     ` Andi Kleen
2009-04-03 21:54       ` David Rientjes
2009-04-03 22:18         ` Yinghai Lu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090407075621.GK17934@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=Brice.Goglin@inria.fr \
    --cc=kosaki.motohiro@jp.fujitsu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rientjes@google.com \
    --cc=worleys@gmail.com \
    --cc=yhlu.kernel@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox