mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Adam Litke <agl@us.ibm.com>
Cc: Andi Kleen <ak@suse.de>,
	linux-kernel@vger.kernel.org, christoph@lameter.com,
	dwg@au1.ibm.com
Subject: Re: [RFC] Demand faulting for large pages
Date: Fri, 5 Aug 2005 19:12:51 +0200	[thread overview]
Message-ID: <20050805171251.GZ8266@wotan.suse.de> (raw)
In-Reply-To: <1123261200.3121.104.camel@localhost.localdomain>

On Fri, Aug 05, 2005 at 12:00:00PM -0500, Adam Litke wrote:
> On Fri, 2005-08-05 at 11:47, Andi Kleen wrote:
> > On Fri, Aug 05, 2005 at 11:37:27AM -0500, Adam Litke wrote:
> > > On Fri, 2005-08-05 at 10:53, Andi Kleen wrote:
> > > > On Fri, Aug 05, 2005 at 10:21:38AM -0500, Adam Litke wrote:
> > > > > Below is a patch to implement demand faulting for huge pages.  The main
> > > > > motivation for changing from prefaulting to demand faulting is so that
> > > > > huge page allocations can follow the NUMA API.  Currently, huge pages
> > > > > are allocated round-robin from all NUMA nodes.   
> > > > 
> > > > I think matching DEFAULT is better than having a different default for
> > > > huge pages than for small pages.
> > > 
> > > I am not exactly sure what the above means.  Is 'DEFAULT' a system
> > > default numa allocation policy?
> > 
> > It's one of the four numa policies: DEFAULT, PREFERED, INTERLEAVE, BIND
> > 
> > It just means allocate on the local node if possible, otherwise fall back.
> > 
> > You said you wanted INTERLEAVE by default, which i think is a bad idea.
> > It should be only optional like in all other allocations.
> 
> I tried to say that allocations are _currently_ INTERLEAVE (aka
> round-robin) but that I want it to be configurable.  So I think we are
> in agreement here.

Ok, but the way to configure it should be the standard mempolicy
infrastructure (that is how it works in SLES9 too) 

-Andi

  reply	other threads:[~2005-08-05 17:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-05 15:21 Adam Litke
2005-08-05 15:53 ` Andi Kleen
2005-08-05 16:37   ` Adam Litke
2005-08-05 16:47     ` Andi Kleen
2005-08-05 17:00       ` Adam Litke
2005-08-05 17:12         ` Andi Kleen [this message]
2005-08-05 17:09       ` Christoph Lameter
2005-08-05 21:05 ` Chen, Kenneth W
2005-08-05 21:35   ` Andi Kleen
2005-08-05 21:33 ` Chen, Kenneth W
2005-08-05 22:05   ` Chen, Kenneth W
2005-08-08 22:16     ` Adam Litke
2005-08-08 22:36       ` Chen, Kenneth W

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=20050805171251.GZ8266@wotan.suse.de \
    --to=ak@suse.de \
    --cc=agl@us.ibm.com \
    --cc=christoph@lameter.com \
    --cc=dwg@au1.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®