IO_uring Bringing Better Send Zero-Copy Performance With Linux 6.10

Written by Michael Larabel in Linux Storage on 12 May 2024 at 06:11 AM EDT. 14 Comments
LINUX STORAGE
Linux I/O expert and subsystem maintainer Jens Axboe has submitted all of the IO_uring feature updates ahead of the imminent Linux 6.10 merge window.

Exciting on the IO_uring front this cycle is to "greatly improve" the send zero-copy performance. This big performance improvement for zero-copy send is thanks to coalescing of sent buffers. Axboe explained:
"Greatly improve send zerocopy performance, by enabling coalescing of sent buffers. MSG_ZEROCOPY already does this with send(2) and sendmsg(2), but the io_uring side did not. In local testing, the crossover point for send zerocopy being faster is now around 3000 byte packets, and it performs better than the sync syscall variants as well. This feature relies on a shared branch with net-next, which was pulled into both branches."

IO_uring for the next kernel also unifies async preparation handling across opcodes, support for bundles for send/receive to yield greater efficiency, cleaning up of some workqueue handling, and various other code reworks/improvements.

IO_uring logo


More details on the IO_uring feature changes for Linux 6.10 via this pull request.
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