linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Christoph Lameter <clameter@sgi.com>
To: Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: linux-mm <linux-mm@kvack.org>
Subject: Re: [PATCH/RFC] AutoPage Migration - V0.1 - 1/8 migrate task memory with default policy
Date: Tue, 14 Mar 2006 07:36:15 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0603140734060.17761@schroedinger.engr.sgi.com> (raw)
In-Reply-To: <1142347567.5235.18.camel@localhost.localdomain>

On Tue, 14 Mar 2006, Lee Schermerhorn wrote:

> > Could you add some special casing instead to migrate_to_node and/or 
> > check_range?
> 
> I think this could be done.  Don't know whether the results would be
> "pretty" or not.

Make it as pretty as possible.

> Currently, you'll note that I'm calling check_range for one vma at a
> time.  I'm not sure this is a good idea.  It probably adds overhead
> revisiting upper level page table pages many times.  But, I want to
> compare different approaches.  If I use migrate_to_node() and it's call
> to check_range(), I would have to have something like the above logic to
> do the per vma stuff.   But, why per vma?  I agree it doesn't make a lot
> of sense for the kernel build workload.  I find very few eligible pages
> to migrate, so even if I scanned the entire mm at once, the resulting
> page list would be very small.  However, I was concerned about tying up
> a large number of pages, isolated from the LRU, for applications with
> larger footprints.  I'm also going to experiment with more agressive

Well if you just find a few pages to migrate then the pages isolated from 
the LRU will also be few.

> migration--i.e., selecting pages with >1 map counts.  This may result in
> larger numbers of pages migrating.

Yes and doing so may stall the concurrent compiler passes.

> But, I have thought about adding internal flags to steer different paths
> through migrate_to_node() and check_range().  If we ever get serious
> about including an automigration mechanism like this, I'll go ahead and
> take a look at it.

Ok.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2006-03-14 15:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-10 19:37 Lee Schermerhorn
2006-03-13 23:52 ` Christoph Lameter
2006-03-14 14:46   ` Lee Schermerhorn
2006-03-14 15:36     ` Christoph Lameter [this message]

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=Pine.LNX.4.64.0603140734060.17761@schroedinger.engr.sgi.com \
    --to=clameter@sgi.com \
    --cc=lee.schermerhorn@hp.com \
    --cc=linux-mm@kvack.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