Re: Stopping the tick on a fully loaded system

From: Frederic Weisbecker
Date: Wed Jul 26 2023 - 06:59:21 EST


Le Tue, Jul 25, 2023 at 04:27:56PM +0200, Rafael J. Wysocki a écrit :
> On Tue, Jul 25, 2023 at 3:07 PM Anna-Maria Behnsen
> I'll let Frederic respond to the above, but from my perspective it all
> just means that the idle governors in use today are not perfect.
>
> However, they will never be perfect, because they only have a little
> time to make a decision, so it's a matter of balancing that with
> precision.

So, even without considering Anna-Maria's patchset, sparing
the next timer lookup if we already know we won't stop it would show
quite a benefit because that lookup involves locking and quite some
overhead walking through all levels.

Thanks.