Thread (66 messages) 66 messages, 8 authors, 2014-07-18

[PATCH v3 09/12] Revert "sched: Put rq's sched_avg under CONFIG_FAIR_GROUP_SCHED"

From: vincent.guittot@linaro.org (Vincent Guittot)
Date: 2014-07-15 09:54:05
Also in: lkml

On 15 July 2014 11:32, Morten Rasmussen [off-list ref] wrote:
On Tue, Jul 15, 2014 at 10:27:19AM +0100, Vincent Guittot wrote:
quoted
On 11 July 2014 18:13, Morten Rasmussen [off-list ref] wrote:

[snip]
quoted
In this example using rq->avg leads to imbalance whereas unweighted load
would not. Correct me if I missed anything.
You just miss to take into account how the imbalance is computed
I don't think so. I'm aware that the imbalance is calculated based on
the runnable_load_avg of the cpus. But if you pick the wrong cpus to
compare to begin with, it doesn't matter.
The average load of your sched_domain is 1 task per CPU so CPU1 will
pull only 1 task and not 2
Morten
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help