Re: [RFC PATCH 0/7] sched: cpufreq: Remove magic margins

From: Peter Zijlstra
Date: Thu Sep 07 2023 - 11:35:49 EST


On Thu, Sep 07, 2023 at 02:33:49PM +0100, Lukasz Luba wrote:
>
>
> On 9/7/23 14:29, Peter Zijlstra wrote:
> > On Thu, Sep 07, 2023 at 02:06:15PM +0100, Lukasz Luba wrote:
> >
> > > > Many extentions to the periodic task model are possible, including
> > > > things like average runtime with bursts etc.. all have their trade-offs.
> > >
> > > Was that maybe proposed somewhere on LKML (the other models)?
> >
> > RT literatur mostly methinks. Replacing WCET with a statistical model of
> > sorts is not uncommon, the argument goes that not everybody will have
> > their worst case at the same time and lows and highs can commonly cancel
> > out and this way we can cram a little more on the system.
> >
> > Typically this is proposed in the context of soft-realtime systems.
>
> Thanks Peter, I will dive into some books...

I would look at academic papers, not sure any of that ever made it to
books, Daniel would know I suppose.