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 48.5ms across 3,471 title embeddings via pgvector HNSW
- New patches allow building Linux IPv6-only Bender · 115 pts · April 01, 2026 · 54% similar
- The Linux Kernel Will Soon Be MIT-Licensed and Copyleft Will Be Dead bananamogul · 21 pts · March 08, 2026 · 46% similar
- Linux 7.0 File-System Benchmarks wasting_time · 14 pts · March 07, 2026 · 45% similar
- What's new in Linux kernel for PostgreSQL erthalion · 21 pts · March 03, 2026 · 44% similar
- WolfIP: Lightweight TCP/IP stack with no dynamic memory allocations 789c789c789c · 114 pts · March 12, 2026 · 44% 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.