Re: [PATCH 2/2] sched/fair: Scale wakeup granularity relative to nr_running

From: Mike Galbraith
Date: Thu Sep 23 2021 - 05:22:38 EST


On Thu, 2021-09-23 at 10:40 +0200, Vincent Guittot wrote:
>
> a 100us value should even be enough to fix Mel's problem without
> impacting common wakeup preemption cases.

It'd be nice if it turn out to be something that simple, but color me
skeptical. I've tried various preemption throttling schemes, and while
it was trivial to get promising results, my scheme always managed to
harm something. Everything I ever tried, I ended up tossing.

-Mike