Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1218611

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

From Steve Muckle <steve.muckle@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig
Date 2015-09-04 02:00 +0200
Message-ID <q4MAa-1Sc-5@gated-at.bofh.it> (permalink)
References <pXq1H-7le-7@gated-at.bofh.it> <pXq1H-7le-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by  capacity_orig Steve Muckle <steve.muckle@linaro.org> - 2015-09-04 02:00 +0200

csiph-web