Re: [PATCH -mm V3] do_migrate_pages() calls migrate_to_node() even if task is already on a correct node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  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@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]