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

From: Nick Piggin
Date: Sat Feb 07 2004 - 22:21:52 EST




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.


-
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/