Re: [PATCH 0/4] sched/fair: Manage lag and run to parity with different slices
From: Vincent Guittot
Date: Thu Jun 19 2025 - 08:30:50 EST
On Wed, 18 Jun 2025 at 09:03, Vincent Guittot
<vincent.guittot@xxxxxxxxxx> wrote:
>
> On Tue, 17 Jun 2025 at 11:22, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> >
> > On Fri, Jun 13, 2025 at 04:05:10PM +0200, Vincent Guittot wrote:
> > > Vincent Guittot (3):
> > > sched/fair: Use protect_slice() instead of direct comparison
> > > sched/fair: Limit run to parity to the min slice of enqueued entities
> > > sched/fair: Improve NO_RUN_TO_PARITY
> >
> > Ah. I wrote these here patches and then totally forgot about them :/.
> > They take a different approach.
> >
> > The approach I took was to move decision to stick with curr after pick,
> > instead of before it. That way we can evaluate the tree at the time of
> > preemption.
>
> Let me have a look at your patches
I have looked and tested your patches but they don't solve the lag and
run to parity issues not sur what he's going wrong. Also, my patchset
take into account the NO_RUN_TO_PARITY case by adding a notion of
quantum execution time which was missing until now
Regarding the "fix delayed requeue", I already get an update of
current before requeueing a delayed task. Do you have a use case in
mind ?
>
> >
> >