Re: [rfc] balance-on-fork NUMA placement

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Martin Bligh <mbligh@...>
Cc: Lee Schermerhorn <Lee.Schermerhorn@...>, Andi Kleen <ak@...>, Ingo Molnar <mingo@...>, Linux Kernel Mailing List <linux-kernel@...>, Linux Memory Management List <linux-mm@...>, Eric Whitney <eric.whitney@...>
Date: Wednesday, August 1, 2007 - 9:36 pm

On Wed, Aug 01, 2007 at 03:52:11PM -0700, Martin Bligh wrote:

It's only the wrong thing to do if it hurts the common case too
much. Considering we _already_ balance on exec, then adding another
balance on fork is not going to introduce some order of magnitude
problem -- at worst it would be 2x but it really isn't too slow
anyway (at least nobody complained when we added it).

One place where we found it helps is clone for threads.

If we didn't do such a bad job at keeping tasks together with their
local memory, then we might indeed reduce some of the balance-on-crap
and increase the aggressiveness of periodic balancing.

Considering we _already_ balance on fork/clone, I don't know what
your argument is against this patch is? Doing the balance earlier
and allocating more stuff on the local node is surely not a bad
idea.



Task migration? Automatic memory migration you mean? I think it deserves
another look regardless of what SGI could or could not do, and Lee and I
are slowly getting things in place. We'll see what happens...

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[rfc] balance-on-fork NUMA placement, Nick Piggin, (Tue Jul 31, 1:41 am)
Re: [rfc] balance-on-fork NUMA placement, Andi Kleen, (Tue Jul 31, 5:14 am)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Tue Jul 31, 8:23 pm)
Re: [rfc] balance-on-fork NUMA placement, Martin Bligh, (Wed Aug 1, 1:53 pm)
Re: [rfc] balance-on-fork NUMA placement, Lee Schermerhorn, (Wed Aug 1, 2:32 pm)
Re: [rfc] balance-on-fork NUMA placement, Martin Bligh, (Wed Aug 1, 6:52 pm)
Re: [rfc] balance-on-fork NUMA placement, Lee Schermerhorn, (Thu Aug 2, 10:49 am)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Wed Aug 1, 9:36 pm)
Re: [rfc] balance-on-fork NUMA placement, Martin Bligh, (Thu Aug 2, 2:33 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Thu Aug 2, 8:20 pm)
Re: [rfc] balance-on-fork NUMA placement, Siddha, Suresh B, (Fri Aug 3, 4:10 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Sun Aug 5, 9:20 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Tue Jul 31, 7:40 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Wed Aug 1, 11:42 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Thu Aug 2, 3:58 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Thu Aug 2, 8:26 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Thu Aug 2, 8:52 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Thu Aug 2, 8:57 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Thu Aug 2, 9:02 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Thu Aug 2, 9:14 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Thu Aug 2, 9:34 pm)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Thu Aug 2, 11:14 pm)
Re: [rfc] balance-on-fork NUMA placement, Christoph Lameter, (Fri Aug 3, 1:47 am)
Re: [rfc] balance-on-fork NUMA placement, Andi Kleen, (Wed Aug 1, 4:39 am)
Re: [rfc] balance-on-fork NUMA placement, Ingo Molnar, (Tue Jul 31, 4:01 am)
Re: [rfc] balance-on-fork NUMA placement, Nick Piggin, (Tue Jul 31, 8:21 pm)
Re: [rfc] balance-on-fork NUMA placement, Ingo Molnar, (Wed Aug 1, 2:19 am)