Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-10 Thread Vincent Guittot
On Sat, 8 Sep 2018 at 22:17, Valentin Schneider wrote: > > Hi Vincent, > > On 07/09/18 08:40, Vincent Guittot wrote: > > When CPUs have different capacity because of RT/DL tasks or > > micro-architecture or max frequency differences, there are situation where > > the imbalance is not correctly set

Re: [PATCH] sched/fair: fix 1 task per CPU

2018-09-08 Thread Valentin Schneider
Hi Vincent, On 07/09/18 08:40, Vincent Guittot wrote: > When CPUs have different capacity because of RT/DL tasks or > micro-architecture or max frequency differences, there are situation where > the imbalance is not correctly set to migrate waiting task on the idle CPU. > This is essentially alw

[PATCH] sched/fair: fix 1 task per CPU

2018-09-07 Thread Vincent Guittot
When CPUs have different capacity because of RT/DL tasks or micro-architecture or max frequency differences, there are situation where the imbalance is not correctly set to migrate waiting task on the idle CPU. The UC uses the force_balance case : if (env->idle != CPU_NOT_IDLE && group_has