lkml.org 
[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
From
Date
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.

Indeed.


\
 
 \ /
  Last update: 2012-06-04 20:01    [W:0.057 / U:0.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site