OSDN Git Service

sched: Tweak sched_latency and min_granularity
authorMike Galbraith <efault@gmx.de>
Thu, 11 Mar 2010 16:17:15 +0000 (17:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 11 Mar 2010 17:32:51 +0000 (18:32 +0100)
commit21406928afe43f1db6acab4931bb8c886f4d04ce
tree623458f3c35ce4fbf18bcf4bba29c16c1c42c433
parenta64692a3afd85fe048551ab89142fd5ca99a0dbd
sched: Tweak sched_latency and min_granularity

Allow LAST_BUDDY to kick in sooner, improving cache utilization as soon as
a second buddy pair arrives on scene.  The cost is latency starting to climb
sooner, the tbenefit for tbench 8 on my Q6600 box is ~2%.  No detrimental
effects noted in normal idesktop usage.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1268301285.6785.34.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched_fair.c