Peter Zijlstra 218050855e 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>
2007-08-25 18:41:53 +02:00
..
2007-08-22 19:52:44 -07:00
2007-08-22 19:52:44 -07:00
2007-08-11 15:47:42 -07:00
2007-07-31 15:39:40 -07:00
2007-08-22 19:52:46 -07:00
2007-08-11 15:47:42 -07:00
2007-08-25 18:41:53 +02:00
2007-08-25 18:41:53 +02:00