On 11/19/2013 10:21 PM, Vincent Guittot wrote:
sched_avg is better because it can't miss any load whereas cpu_load average can miss tasks that don't wakeup synchronously to tick
But cpu_load[] is already based on the sched_avg load?
Ah you're right that we have mode the cpu_load on load_avg. Nevertheless, the cpu_load is based on the instant value of the load_avg at the tick and not the integration of the value between tick which still make it possible to miss some activity
Thanks a lot for the question and explanations! Just it is too late in China to join your discussion more. Sorry.