[PATCH 07/15] sched,cfs: fix zero length timeslice calculation

2019-09-06 Thread Rik van Riel
The way the time slice length is currently calculated, not only do high priority tasks get longer time slices than low priority tasks, but due to fixed point math, low priority tasks could end up with a zero length time slice. This can lead to cache thrashing and other inefficiencies. Cap the

Re: [PATCH 07/15] sched,cfs: fix zero length timeslice calculation

2019-08-28 Thread Vincent Guittot
On Thu, 22 Aug 2019 at 04:18, Rik van Riel wrote: > > The way the time slice length is currently calculated, not only do high > priority tasks get longer time slices than low priority tasks, but due > to fixed point math, low priority tasks could end up with a zero length > time slice. This can

[PATCH 07/15] sched,cfs: fix zero length timeslice calculation

2019-08-21 Thread Rik van Riel
The way the time slice length is currently calculated, not only do high priority tasks get longer time slices than low priority tasks, but due to fixed point math, low priority tasks could end up with a zero length time slice. This can lead to cache thrashing and other inefficiencies. Cap the