[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200807155510.2b380f49@nowhere>
Date: Fri, 7 Aug 2020 15:55:10 +0200
From: luca abeni <luca.abeni@...tannapisa.it>
To: Juri Lelli <juri.lelli@...hat.com>
Cc: peterz@...radead.org, mingo@...hat.com, rostedt@...dmis.org,
tglx@...utronix.de, linux-kernel@...r.kernel.org,
tommaso.cucinotta@...tannapisa.it, alessio.balsini@...il.com,
bristot@...hat.com, dietmar.eggemann@....com,
linux-rt-users@...r.kernel.org, mtosatti@...hat.com,
williams@...hat.com, valentin.schneider@....com
Subject: Re: [RFC PATCH v2 6/6] sched/fair: Implement starvation monitor
On Fri, 7 Aug 2020 15:43:53 +0200
Juri Lelli <juri.lelli@...hat.com> wrote:
> On 07/08/20 15:28, luca abeni wrote:
> > Hi Juri,
> >
> > On Fri, 7 Aug 2020 11:56:04 +0200
> > Juri Lelli <juri.lelli@...hat.com> wrote:
> >
> > > Starting deadline server for lower priority classes right away
> > > when first task is enqueued might break guarantees
> >
> > Which guarantees are you thinking about, here? Response times of
> > fixed priority tasks?
>
> Response time, but also wakeup latency (which, for better or worse, is
> another important metric).
>
> > If fixed priority tasks are also scheduled through deadline servers,
> > then you can provide response-time guarantees to them even when
> > lower-priority/non-real-time tasks are scheduled through deadline
> > servers.
>
> Right, but I fear we won't be able to keep current behavior for
> wakeups: RT with highest prio always gets scheduled right away?
Uhm... I think this depends on how the servers' parameters are
designed: assigning "wrong" (or "bad") parameters to the server used to
schedule RT tasks, this property is broken.
(however, notice that even with the current patchset the highest
priority task might be scheduled with some delay --- if the SCHED_OTHER
deadline server is active because SCHED_OTHER tasks are being starved).
Luca
Powered by blists - more mailing lists