Re: [PATCH V3 0/2] sched/fair: Fallback to sched-idle CPU in absence of idle CPUs

2019-07-03 Thread Viresh Kumar
On 01-07-19, 15:43, Peter Zijlstra wrote: > On Wed, Jun 26, 2019 at 10:36:28AM +0530, Viresh Kumar wrote: > > Hi, > > > > We try to find an idle CPU to run the next task, but in case we don't > > find an idle CPU it is better to pick a CPU which will run the task the > > soonest, for performance r

Re: [PATCH V3 0/2] sched/fair: Fallback to sched-idle CPU in absence of idle CPUs

2019-07-01 Thread Peter Zijlstra
On Wed, Jun 26, 2019 at 10:36:28AM +0530, Viresh Kumar wrote: > Hi, > > We try to find an idle CPU to run the next task, but in case we don't > find an idle CPU it is better to pick a CPU which will run the task the > soonest, for performance reason. > > A CPU which isn't idle but has only SCHED_

[PATCH V3 0/2] sched/fair: Fallback to sched-idle CPU in absence of idle CPUs

2019-06-25 Thread Viresh Kumar
Hi, We try to find an idle CPU to run the next task, but in case we don't find an idle CPU it is better to pick a CPU which will run the task the soonest, for performance reason. A CPU which isn't idle but has only SCHED_IDLE activity queued on it should be a good target based on this criteria as