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

2018-12-13 Thread Vincent Guittot
On Thu, 13 Dec 2018 at 14:12, Peter Zijlstra wrote: > > On Thu, Dec 13, 2018 at 12:04:20PM +0100, Vincent Guittot wrote: > > On Thu, 13 Dec 2018 at 11:44, Peter Zijlstra wrote: > > > > > > On Mon, Sep 10, 2018 at 04:43:09PM +0200, Vincent Guittot wrote: > > > > When CPUs have different capacity b

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

2018-12-13 Thread Peter Zijlstra
On Thu, Dec 13, 2018 at 12:04:20PM +0100, Vincent Guittot wrote: > On Thu, 13 Dec 2018 at 11:44, Peter Zijlstra wrote: > > > > On Mon, Sep 10, 2018 at 04:43:09PM +0200, Vincent Guittot wrote: > > > When CPUs have different capacity because of RT/DL tasks or > > > micro-architecture or max frequenc

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

2018-12-13 Thread Vincent Guittot
On Thu, 13 Dec 2018 at 11:44, Peter Zijlstra wrote: > > On Mon, Sep 10, 2018 at 04:43:09PM +0200, 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

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

2018-12-13 Thread Peter Zijlstra
On Mon, Sep 10, 2018 at 04:43:09PM +0200, 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. > > The UC uses

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

2018-12-13 Thread Vincent Guittot
Hi Peter, Ingo, On Fri, 14 Sep 2018 at 18:26, Vincent Guittot wrote: > > On Fri, 14 Sep 2018 at 05:22, Valentin Schneider > wrote: > > > > Hi, > > > > On 10/09/18 07:43, Vincent Guittot wrote: > > > When CPUs have different capacity because of RT/DL tasks or > > > micro-architecture or max frequ

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

2018-09-14 Thread Vincent Guittot
On Fri, 14 Sep 2018 at 05:22, Valentin Schneider wrote: > > Hi, > > On 10/09/18 07:43, 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 mig

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

2018-09-13 Thread Valentin Schneider
Hi, On 10/09/18 07:43, 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. > > The UC uses the force_balance

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

2018-09-10 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