]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'net-deal-with-sticky-tx-queues'
authorJakub Kicinski <kuba@kernel.org>
Wed, 15 Oct 2025 16:04:23 +0000 (09:04 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Oct 2025 16:04:24 +0000 (09:04 -0700)
Eric Dumazet says:

====================
net: deal with sticky tx queues

Back in 2010, Tom Herbert added skb->ooo_okay to TCP flows.

Extend the feature to connected flows for other protocols like UDP.

skb->ooo_okay might never be set for bulk flows that always
have at least one skb in a qdisc queue of NIC queue,
especially if TX completion is delayed because of a stressed cpu
or aggressive interrupt mitigation.

The so-called "strange attractors" has caused many performance
issues, we need to do better now that TCP reacts better to
potential reorders.

Add new net.core.txq_reselection_ms sysctl to let
flows follow XPS and select a more efficient queue.

After this series, we no longer have to make sure threads
are pinned to cpus, they can migrate without adding
too much [spinlock, qdisc, TX completion] pressure anymore.
====================

Link: https://patch.msgid.link/20251013152234.842065-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge