Re: [PATCH, 2.6.9] improved load_balance() tolerance for pinned tasks

From: Nick Piggin
Date: Tue Oct 26 2004 - 01:01:30 EST


John Hawkes wrote:


To reiterate: this is probably reproducible on smaller SMP systems, too.
Just do a 'runon' (using sys_sched_setaffinity) of ~200 (or more) small
computebound processes on a single CPU.


Yeah I tried that with a handful... I'll try again with 200.

My patch -- that has load_balance() skip over (busiest->active_balance = 1)
trigger that starts up active_load_balance() -- does seem to reduce the
frequency of bursts of long-running activity of the migration thread, but
those burst of activity are still there, with migration_thread consuming
75-95% of its CPU for several seconds (as observed by 'top'). I have not yet
determined what's happening. It might be an artifact of how long it takes to
do those 'runon' startups of the computebound processes.


Hmm... it would be hard to believe that it is all to do with
migrating tasks... but its possible I guess.

I'll also look into it if I can reproduce the problem here.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/