Re: CFS flat runqueue proposal fixes/update

2020-08-21 Thread Dietmar Eggemann
On 20.08.20 22:39, Rik van Riel wrote: > On Thu, 2020-08-20 at 16:56 +0200, Dietmar Eggemann wrote: [...] > The issue happens with a flat runqueue, when t1 goes > to sleep, but t2 and t3 continue running. > > We need to make sure the vruntime for t2 has not been > advanced so far into the future

Re: CFS flat runqueue proposal fixes/update

2020-08-20 Thread Rik van Riel
On Thu, 2020-08-20 at 16:56 +0200, Dietmar Eggemann wrote: > Hi Rik, > > On 31/07/2020 09:42, Rik van Riel wrote: > > [...] > > > Lets revisit the hierarchy from above, and assign priorities > > to the cgroups, with the fixed point one being 1000. Lets > > say cgroups A, A1, and B have priority

Re: CFS flat runqueue proposal fixes/update

2020-08-20 Thread Dietmar Eggemann
Hi Rik, On 31/07/2020 09:42, Rik van Riel wrote: [...] > Lets revisit the hierarchy from above, and assign priorities > to the cgroups, with the fixed point one being 1000. Lets > say cgroups A, A1, and B have priority 1000, while cgroup > A2 has priority 1. > > /\ >/ \ >

Re: CFS flat runqueue proposal fixes/update

2020-08-07 Thread Rik van Riel
On Fri, 2020-08-07 at 16:14 +0200, Dietmar Eggemann wrote: > On 31/07/2020 09:42, Rik van Riel wrote: > > Possible solution > > ... > I imagine that I can see what you want to achieve here ;-) > > But it's hard since your v5 RFC > https://lkml.kernel.org/r/20190906191237.27006-1-r...@surriel.c

Re: CFS flat runqueue proposal fixes/update

2020-08-07 Thread Dietmar Eggemann
Hi Rik, On 31/07/2020 09:42, Rik van Riel wrote: > Hello, > > last year at Linux Plumbers conference, I presented on my work > of turning the hierarchical CFS runqueue into a flat runqueue, > and Paul Turner pointed out some corner cases that could not > work with my design as it was last year. >