Re: [Lse-tech] [patch] sched-domain cleanups, sched-2.6.5-rc2-mm2-A3

Ingo Molnar
2004-03-30T06:39:59Z

* Andi Kleen <ak@suse.de> wrote:

> > So both -mm5 and Ingo's sched.patch are much worse than
> > what 2.4 and 2.6 get?
>
> Yes (2.6 vanilla and 2.4-aa at that, i haven't tested 2.4-vanilla)
>
> Ingo's sched.patch makes it a bit better (from 1x CPU to 1.5-1.7xCPU),
> but still much worse than the max of 3.7x-4x CPU bandwidth.

Andi, could you please try the patch below - this will test whether this
has to do with the rate of balancing between NUMA nodes. The patch
itself is not correct (it way overbalances on NUMA), but it tests the
theory.

Ingo

--- linux/include/linux/sched.h.orig
+++ linux/include/linux/sched.h
@@ -627,7 +627,7 @@ struct sched_domain {
.parent = NULL, \
.groups = NULL, \
.min_interval = 8, \
- .max_interval = 256*fls(num_online_cpus()),\
+ .max_interval = 8, \
.busy_factor = 8, \
.imbalance_pct = 125, \
.cache_hot_time = (10*1000000), \