linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Rik van Riel <riel@redhat.com>
To: lwoodman@redhat.com
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-mm@kvack.org, Christoph Lameter <cl@linux.com>,
	Motohiro Kosaki <mkosaki@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH -mm V3] do_migrate_pages() calls migrate_to_node() even if task is already on a correct node
Date: Thu, 26 Apr 2012 14:15:53 -0400	[thread overview]
Message-ID: <4F9990D9.10300@redhat.com> (raw)
In-Reply-To: <4F998FDE.5020104@redhat.com>

On 04/26/2012 02:11 PM, Larry Woodman wrote:

> This patch changes do_migrate_pages() to only preserve the relative
> layout inside the
> program if the number of NUMA nodes in the source and destination mask
> are the
> same. If the number is different, we do a much more efficient migration
> by not touching
> memory that is in an allowed node.
>
> This preserves the old behaviour for programs that want it, while
> allowing a userspace
> NUMA placement tool to use the new, faster migration. This improves
> performance in
> our tests by up to a factor of 7.

> Signed-off-by: Larry Woodman<lwoodman@redhat.com>

Reviewed-by: Rik van Riel <riel@redhat.com>

--
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/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2012-04-26 18:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-26 18:11 [PATCH -mm V3] do_migrate_pages() calls migrate_to_node() even if task is already on a correct node Larry Woodman
2012-04-26 18:15 ` Rik van Riel [this message]
2012-04-27  1:14 ` KOSAKI Motohiro
2012-04-27 23:09   ` Andrew Morton
2012-04-28 13:05     ` KOSAKI Motohiro

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=4F9990D9.10300@redhat.com \
    --to=riel@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lwoodman@redhat.com \
    --cc=mkosaki@redhat.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;
as well as URLs for NNTP newsgroup(s).