]> git.hungrycats.org Git - linux/commit
[PATCH] CPU scheduler balancing fix
authorAndrew Morton <akpm@osdl.org>
Sun, 21 Sep 2003 08:38:16 +0000 (01:38 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sun, 21 Sep 2003 08:38:16 +0000 (01:38 -0700)
commit875ee1e15641e6662264f9279b12cba1f1d3c4fc
tree7e6eb2d8b330a5399955377c0a9780a3fa0e1a45
parent2b7e8ff797a84f7ae561ca8af65a3070b348287f
[PATCH] CPU scheduler balancing fix

From: Nick Piggin <piggin@cyberone.com.au>

The patch changes the imbalance required before a balance to 25% from 50% -
as the comments intend.  It also changes a case where the balancing
wouldn't be done if the imbalance was >= 25% but only 1 task difference.

The downside of the second change is that one task may bounce from one cpu
to another for some loads.  This will only bounce once every 200ms, so it
shouldn't be a big problem.

(Benchmarking results are basically a wash - SDET is increased maybe 0.5%)
kernel/sched.c