Re: [PATCH v3 1/3] sched/fair: fix rounding issue for asym packing

2018-12-20 Thread Vincent Guittot
On Thu, 20 Dec 2018 at 12:16, Valentin Schneider wrote: > > On 20/12/2018 07:55, Vincent Guittot wrote: > > When check_asym_packing() is triggered, the imbalance is set to : > > busiest_stat.avg_load * busiest_stat.group_capacity / SCHED_CAPACITY_SCALE > > But busiest_stat.avg_load equals > >

Re: [PATCH v3 1/3] sched/fair: fix rounding issue for asym packing

2018-12-20 Thread Valentin Schneider
On 20/12/2018 07:55, Vincent Guittot wrote: > When check_asym_packing() is triggered, the imbalance is set to : > busiest_stat.avg_load * busiest_stat.group_capacity / SCHED_CAPACITY_SCALE > But busiest_stat.avg_load equals > sgs->group_load *SCHED_CAPACITY_SCALE / sgs->group_capacity > These d