| Subject | Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig | From | Steve Muckle <> | Date | Thu, 3 Sep 2015 16:51:28 -0700 |
| |
Hi Morten, Dietmar,
On 08/14/2015 09:23 AM, Morten Rasmussen wrote: ... > + * cfs_rq.avg.util_avg is the sum of running time of runnable tasks plus the > + * recent utilization of currently non-runnable tasks on a CPU. It represents > + * the amount of utilization of a CPU in the range [0..capacity_orig] where
I see util_sum is scaled by SCHED_LOAD_SHIFT at the end of __update_load_avg(). If there is now an assumption that util_avg may be used directly as a capacity value, should it be changed to SCHED_CAPACITY_SHIFT? These are equal right now, not sure if they will always be or if they can be combined.
> + * capacity_orig is the cpu_capacity available at * the highest frequency
spurious *
thanks, Steve
|