Linux 5.20 To Support Async Buffered Writes For XFS + IO_uring For Big Performance Boost
Written by Michael Larabel in Linux Storage on 22 June 2022 at 07:25 PM EDT. 11 Comments
LINUX STORAGE --
Adding to the list of features slowly building up that will be destined for the Linux 5.20 cycle, Jens Axboe has queued up the support for async buffered writes with XFS when using IO_uring can deliver some significant performance advantages.

The code set for introduction in the next kernel version enables async buffered writes when using both XFS and IO_uring. Meta's Stefan Roesch who led this work explained, "This patch series adds support for async buffered writes when using both xfs and io-uring. Currently io-uring only supports buffered writes in the slow path, by processing them in the io workers. With this patch series it is now possible to support buffered writes in the fast path. To be able to use the fast path the required pages must be in the page cache, the required locks in xfs can be granted immediately and no additional blocks need to be read form disk."

The performance results are promising for sequential writes with going from 77k to 209k IOPS, 314MB/s to 854MB/s bandwidth, and 9600ns to 120ns latency. These IO_uring numbers with XFS also put it now ahead of the performance of using libaio with XFS.


More details via this patch series.

IO_uring and block subsystem maintainer Jens Axboe also shared that support for other file-systems is also being worked on, with Btrfs expected to be the next candidate.
Related News
About The Author
Author picture

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