diff options
author | Peter Zijlstra | 2007-08-25 18:41:53 +0200 |
---|---|---|
committer | Ingo Molnar | 2007-08-25 18:41:53 +0200 |
commit | 218050855ece4e923106ab614ac65afa0f618df3 (patch) | |
tree | f7b1234ce9e8ad0bc5d5af949949251240ec6a2c /include/asm-m68knommu/m5307sim.h | |
parent | sched: fix CONFIG_SCHED_DEBUG dependency of lockdep sysctls (diff) | |
download | kernel-qcow2-linux-218050855ece4e923106ab614ac65afa0f618df3.tar.gz kernel-qcow2-linux-218050855ece4e923106ab614ac65afa0f618df3.tar.xz kernel-qcow2-linux-218050855ece4e923106ab614ac65afa0f618df3.zip |
sched: adaptive scheduler granularity
Instead of specifying the preemption granularity, specify the wanted
latency. By fixing the granlarity to a constany the wakeup latency
it a function of the number of running tasks on the rq.
Invert this relation.
sysctl_sched_granularity becomes a minimum for the dynamic granularity
computed from the new sysctl_sched_latency.
Then use this latency to do more intelligent granularity decisions: if
there are fewer tasks running then we can schedule coarser. This helps
performance while still always keeping the latency target.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-m68knommu/m5307sim.h')
0 files changed, 0 insertions, 0 deletions