lkml.org 
[lkml]   [2005]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.6.12-rc6-mm1
Date
On Sun, 12 Jun 2005 10:23, Martin J. Bligh wrote:
> --Con Kolivas <kernel@kolivas.org> wrote (on Sunday, June 12, 2005 09:47:08
+1000):
> > The patches should balance things as fairly as possible according to nice
> > levels across cpus. As you can see this is clearly a bug in behaviour and
> > has been a showstopper for many trying to move from 2.4.
>
> Oh, right. that makes a lot of sense ... maybe just let it have an error
> factor when migrating cross numa nodes (ie not be as strict)? Not sure
> that's really the problem, as I doubt anything in my test is actually
> niced anyway (assuming you're meaning static prio, not dynamic). In that
> case, your changes should have no effect, right (from explanation, not
> looking at the code ;-))

The balancing code is not really aware that the loads being returned are being
altered and it was not clear whether this would be needed or not as it
usually bases its decisions on ratios of load rather than absolute amounts.
The tricky part is idle balancing where we don't want to try and pull from a
queue that only has one running task and the patch has a "if single task
running and idle balancing tell it only one task running and don't bias"
feature. This may cause slight performance effects on numa as I guess the
other nodes suddenly seem much more loaded and we normally wouldn't try
balancing between nodes until there was a larger load discrepancy than
between cpus. I'll think on this and see how much more nice-aware the
balancing code needs to be for this to not have any effect.
Cheers,
Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-12 08:34    [from the cache]
©2003-2011 Jasper Spaans