[lkml]   [2012]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] cpuidle: menu: use nr_running instead of cpuload for calculating perf mult
    On Mon, 2012-06-04 at 21:08 +0400, Vladimir Davydov wrote:
    > But this_cpu_load(), which is currently used by cpuidle, does not
    > return the "load average". It returns the value of cpuload at some
    > moment in the past (actually, the value is updated in
    > update_cpu_load()). This value is usually used for load balancing.
    > Moreover, this value does not reflect the real cpu load from the
    > cpuidle pow, because it depends on tasks priority (nice) and, what is
    > worse, with the introduction of cgroups it can be pretty arbitrary.
    > For instance, each group of tasks is accounted just as a single task
    > with standard priority "spreaded" among all cpus, no matter how many
    > tasks are actually running in it.


     \ /
      Last update: 2012-06-04 20:01    [W:0.022 / U:15.172 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site