Re: [patch] CFS (Completely Fair Scheduler), v2




* Peter Williams <pwil3058@xxxxxxxxxxxxxx> 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.

Peter

PS You'd have to change the migration thread's load_weight from 0 to 1
in order to prevent divide by zero without having to explicitly check
for it every time.

yeah - nice idea, i'll try this.

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



Relevant Pages

  • Re: "Access denied" while trying to change a service priorityclass
    ... you will have rights to elevate the priority of the process. ... service to run under the LocalService account and see if you can elevate ... I know services don't have user tokens - I suspect users do have ... Impersonate method (the documentation for the Impersonate method should ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: DataType Conversion Speed
    ... Then divide by zero to conver to percent. ... > - if either field contains a value, that's the discount, ... > Then divide by zero to conver to percent. ...
    (microsoft.public.access.modulesdaovba)
  • Re: fft2 and ifft2 outputs
    ... Dave Robinson ... ./ is this element by element divide? ... whereas correlation requires the conjugation of the second vector. ... The reason that you are getting a divide by zero error is because you ...
    (comp.soft-sys.matlab)
  • Re: DataType Conversion Speed
    ... > Then divide by zero to conver to percent. ... >> - if either field contains a value, that's the discount, ... >> Then divide by zero to conver to percent. ...
    (microsoft.public.access.modulesdaovba)
  • Re: How many mathematicians ...
    ... be divided by 7 before multiplying by 6. ... Who is trying to divide h by 7? ... No division by zero. ... gets to zero even if Bonehead wishes it so. ...
    (sci.physics.relativity)