diff options
author | Mike Galbraith <efault@gmx.de> | 2009-10-27 15:35:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-18 14:03:12 -0800 |
commit | c2f1953231c6e99777633761c3bc0d2ca7ead20a (patch) | |
tree | ff609b6d242a97f0262ddbc9cd7baec077742016 /kernel/futex.c | |
parent | 7f112f35f0da073a10d4d3bfdfcef2955555e4f7 (diff) |
sched: Check for an idle shared cache in select_task_rq_fair()
commit a1f84a3ab8e002159498814eaa7e48c33752b04b upstream.
When waking affine, check for an idle shared cache, and if
found, wake to that CPU/sibling instead of the waker's CPU.
This improves pgsql+oltp ramp up by roughly 8%. Possibly more
for other loads, depending on overlap. The trade-off is a
roughly 1% peak downturn if tasks are truly synchronous.
Signed-off-by: Mike Galbraith <efault@gmx.de>
Cc: Arjan van de Ven <arjan@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1256654138.17752.7.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions