Re: [patch] CFS (Completely Fair Scheduler), v2
- From: Peter Williams <pwil3058@xxxxxxxxxxxxxx>
- Date: Tue, 17 Apr 2007 16:46:57 +1000
Ingo Molnar wrote:
this is the second release of the CFS (Completely Fair Scheduler) patchset, against v2.6.21-rc7:
http://redhat.com/~mingo/cfs-scheduler/sched-cfs-v2.patch
i'd like to thank everyone for the tremendous amount of feedback and testing the v1 patch got - i could hardly keep up with just reading the mails! Some of the stuff people addressed i couldnt implement yet, i mostly concentrated on bugs, regressions and debuggability.
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.
--
Peter Williams pwil3058@xxxxxxxxxxxxxx
"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
-
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/
- Follow-Ups:
- Re: [patch] CFS (Completely Fair Scheduler), v2
- From: Ingo Molnar
- Re: [patch] CFS (Completely Fair Scheduler), v2
- From: William Lee Irwin III
- Re: [patch] CFS (Completely Fair Scheduler), v2
- References:
- [patch] CFS (Completely Fair Scheduler), v2
- From: Ingo Molnar
- [patch] CFS (Completely Fair Scheduler), v2
- Prev by Date: Re: [Announce] [patch] Modular Scheduler Core and Completely Fair Scheduler [CFS]
- Next by Date: Re: [patch] CFS (Completely Fair Scheduler), v2
- Previous by thread: Re: [patch] CFS (Completely Fair Scheduler), v2
- Next by thread: Re: [patch] CFS (Completely Fair Scheduler), v2
- Index(es):
Relevant Pages
|
|