Linux 7.1 to Retire UDP-Lite – Allows for Better Performance with Cleansed Code
doener
42 points
13 comments
March 16, 2026
Related Discussions
Found 5 related stories in 81.0ms across 8,303 title embeddings via pgvector HNSW
- Linux 7.1 Expected to Begin Removing I486 CPU Support rbanffy · 17 pts · April 05, 2026 · 63% similar
- Linux 7.0 Released with New Hardware Support, Optimizations and Self-Healing XFS isaacfrond · 24 pts · April 14, 2026 · 55% similar
- New patches allow building Linux IPv6-only Bender · 115 pts · April 01, 2026 · 54% similar
- Linux 6.6 LTS To Linux 7.1 Bechmarks: Performance Up 13% Threadripper Over 3 yrs Bender · 29 pts · May 18, 2026 · 53% similar
- Linux 7.1 Removes Drivers for Bus Mouse Support speckx · 46 pts · April 24, 2026 · 52% similar
Discussion Highlights (6 comments)
AdamN
It's interesting how they found the unused code. Are there enough real world participants who would allow tracing in order to understand what other codeblocks are unused in the real world and put in deprecation notices? I kind of wonder what percentage of the code is nominally functional but never actually used even in the wild.
phoronixrly
Source: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-n...
koolba
> So per that messaging, the UDP-Lite code really hasn't been used in years and doing away with it can net some measurable (+3~10% packets per second) for other UDP workloads. Often times removing deprecated code is purely for developer purity. You just don’t want it lying around. But 3-10% pps improvement is quite an achievement for removing some branches.
201984
So much for never breaking userspace.
jackhalford
> By removing a bunch of conditionals for UDP-Lite from the fast path, udp_rr with 20,000 flows sees a 10% increase in pps (13.3 Mpps -> 14.7 Mpps) on an AMD EPYC 7B12 (Zen 2) 64-Core Processor platform. Considering the number linux udp sockets in the wild this is huge. It’s a shame C/compilers can’t optimize this away though without entirely removing the code, this is exactly why zig’s comptime exists.
jcalvinowens
The variable length checksum is much less useful when the data stream is encrypted, which it usually is today.