UDP IPv6 Optimizations Queued Up For Linux 5.18

Written by Michael Larabel in Linux Networking on 8 February 2022 at 12:00 AM EST. 3 Comments
LINUX NETWORKING
With Linux 5.17 are some nice networking performance optimizations touching different areas while the never-ending optimization work will continue with Linux 5.18.

The previously reported on patches providing a ~5% improvement for UDP/IPv6 is now queued in the networking subsystem's net-next codebase ahead of the Linux 5.18 merge window opening around the end of March.

That UDP IPv6 work is summed up in this merge:
Shed some weight from udp/ipv6. Zerocopy benchmarks over dummy showed ~5% tx/s improvement, should be similar for small payload non-[zero copy] cases.

The performance comes from killing 4 atomics and a couple of big struct memcpy/memset. 1/10 removes a pair of atomics on dst refcounting for cork->skb setup, 9/10 saves another pair on cork init. 5/10 and 8/10 kill extra 88B memset and memcpy respectively.

Linux 5.18 stable in turn should be out around the end of May with these optimization patches and a whole lot more.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week