Re: [REGRESSION] sched: 333238da9a19 makes 1-CPU TCP loopback ping-pong ~25% slower (lost wakeup preemption)
From: Jiri Vozar
Date: Fri Dec 04 2026 - 10:12:45 EST
On Fri, 4 Dec 2026 at 10:15, Vincent Guittot <vincent.guittot@xxxxxxxxxx> wrote:
> > - Is this an expected consequence of computing the requeue lag
> > correctly? Is the 1-CPU synchronous ping-pong case acceptable
> > collateral?
>
> Yes, This is the correct behavior and this is something we discussed
> there as well:
> https://lore.kernel.org/all/CAKfTPtCJVBpZNm7bVUSQZ01Q-iStNZvdz6BiNw1NN9+7y0+=mA@xxxxxxxxxxxxxx/
Thanks Vincent, and sorry for missing that thread. Our traces match
Tianchen's analysis there: the wakee's lag is reset to zero on requeue,
the waker stays protected, and every round trip ends in a voluntary
switch. So we will treat the TCP loopback numbers as an expected change.
#regzbot resolve: intended behavior per maintainer (correct lag
accounting on delayed requeue), see thread
Thanks,
Jiri Vozar
Red Hat Kernel Performance QE