Re: [PATCH] Load balancing problem in 2.6.2-mm1

Nick Piggin
2004-02-08T03:21:12Z

Anton Blanchard wrote:

>>Does active balancing still work? Ie. get two processes running on the
>>same physical CPU and see if one is migrated away.
>>
>
>Both Ricks patch and your patch still have the active rebalance issue.
>
>Martins patch doesnt, but that seems to be because it does absolutely no
>rebalancing (all my runnable tasks are on one physical cpu) :)
>
>

Yeah its because you have a lot of cpus, so the average is still
small. You also need something like

if (*imbalance == 0 && max_load - this_load > SCHED_LOAD_SCALE)
*imbalance = 1;

I don't have a >= 4 CPU box to test on, so I hate to be feeding
you lots of little unproven patches.