News: 0001451937

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

IO_uring With Linux 6.9 Gains Truncate Support, Per-Ring NAPI

([Linux Storage] 17 Minutes Ago IO_uring)


The IO_uring changes were merged early during the nearly-over [1]Linux 6.9 merge window. This round brought yet a few more features to this wonderful and innovative kernel feature.

The IO_uring updates for Linux 6.9 include support for per-ring NAPI, support for truncate, exposing SQPOLL utilization states, making task_work internal loops more fair, multi-shot fixes, and various other fixes/clean-ups.

The [2]NAPI busy polling support has long been in the works by Stefan Roesch. When leveraging NAPI busy polling, round-trip times tested by Stefan dropped from 55 us to 38 us. The patch messages have more details for those interested in this new IO_uring functionality.

The IO_uring truncate (ftruncate) support allows for native truncate through IO_uring so applications no longer need to setup their own thread pool or offloading for doing non-blocking truncates.

More details on the IO_uring updates for Linux 6.9 via [3]this pull with the code already in Linux Git ahead of today's Linux 6.9-rc1 release.



[1] https://www.phoronix.com/search/Linux+6.9

[2] https://lore.kernel.org/io-uring/6b9ad861-6bb2-d01e-2207-9c32f495ec5e@kernel.dk/T/

[3] https://lore.kernel.org/io-uring/171018617546.28701.3866737610241624331.pr-tracker-bot@kernel.org/T/#t



phoronix

Finagle's First Law:
If an experiment works, something has gone wrong.