Re: [RFC PATCH 0/1] sched/eevdf: Curb wakeup preemption further

From: Madadi Vineeth Reddy
Date: Thu Mar 28 2024 - 06:32:14 EST


Hi Prateek,

On 25/03/24 11:32, K Prateek Nayak wrote:
> Wakeup preemption problem
> =========================
>
> With the curr entity's eligibility check, a wakeup preemption is very
> likely when an entity with positive lag joins the runqueue pushing the
> avg_vruntime of the runqueue backwards, making the vruntime of the
> current entity ineligible. This leads to aggressive wakeup preemption
> which was previously guarded by wakeup_granularity_ns in legacy CFS.

Is base_slice_ns not guarding it in EEVDF?

> Below figure depicts one such aggressive preemption scenario with EEVDF:

Thanks and Regards
Madadi Vineeth Reddy