lkml.org 
[lkml]   [2007]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [REPORT] cfs-v4 vs sd-0.44

* Ingo Molnar <mingo@elte.hu> wrote:

> sorry, i was a bit imprecise here. There is a case where CFS can give
> out a 'loan' to tasks. The scheduler tick has a low resolution, so it
> is fundamentally inevitable [*] that tasks will run a bit more than
> they should, and at a heavy context-switching rates these errors can
> add up significantly. Furthermore, we want to batch up workloads.
>
> So CFS has a "no loans larger than sched_granularity_ns" policy (which
> defaults to 5msec), and it captures these sub-granularity 'loans' with
> nanosec accounting. This too is a very sane economic policy and is
> anti-infationary :-)

at which point i guess i should rename CFS to 'EFS' (the Economic Fair
Scheduler)? =B-)

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-23 23:09    [W:0.200 / U:0.020 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site