lkml.org 
[lkml]   [2007]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] CFS (Completely Fair Scheduler), v2

* William Lee Irwin III <wli@holomorphy.com> wrote:

> On Tue, Apr 17, 2007 at 04:46:57PM +1000, Peter Williams wrote:
>
> > Have you considered using rq->raw_weighted_load instead of
> > rq->nr_running in calculating fair_clock? This would take the nice
> > value (or RT priority) of the other tasks into account when
> > determining what's fair.
>
> I suspect you mean
> (curr->load_weight*delta_exec)/rq->raw_weighted_load in update_curr().

good idea, i'll try that.

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-17 10:19    [W:0.098 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site