VOOZH about

URL: https://www.phoronix.com/news/Linux-520-XFS-uring-Async-Buff

⇱ Linux 5.20 To Support Async Buffered Writes For XFS + IO_uring For Big Performance Boost - Phoronix


👁 Phoronix

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
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.

👁 Image


More details via this patch series.

Buffered writes to files on XFS is going to get a lot better for 5.20, queued up the series from Stefan:https://t.co/kMDhkD5VMl

This brings XFS buffered writes on par with the buffered async read support that io_uring already offers.

— Jens Axboe (@axboe) June 22, 2022

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.

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.