Re: [PATCH 3/6] sched/fair: Make utilization tracking cpu scale-invariant

2015-09-04 Thread Vincent Guittot
On 15 August 2015 at 01:04, Dietmar Eggemann wrote: > On 14/08/15 17:23, Morten Rasmussen wrote: >> From: Dietmar Eggemann > > [...] > >> @@ -2596,7 +2597,7 @@ __update_load_avg(u64 now, int cpu, struct sched_avg >> *sa, >> } >> } >> if (running)

Re: [PATCH 3/6] sched/fair: Make utilization tracking cpu scale-invariant

2015-08-14 Thread Dietmar Eggemann
On 14/08/15 17:23, Morten Rasmussen wrote: > From: Dietmar Eggemann [...] > @@ -2596,7 +2597,7 @@ __update_load_avg(u64 now, int cpu, struct sched_avg > *sa, > } > } > if (running) > - sa->util_sum += scaled_delta_w; > +

[PATCH 3/6] sched/fair: Make utilization tracking cpu scale-invariant

2015-08-14 Thread Morten Rasmussen
From: Dietmar Eggemann Besides the existing frequency scale-invariance correction factor, apply cpu scale-invariance correction factor to utilization tracking to compensate for any differences in compute capacity. This could be due to micro-architectural differences (i.e. instructions per seconds