EXT4 In Linux 5.6 To See Big Write Performance Boost For Direct I/O

Written by Michael Larabel in Linux Storage on 3 January 2020 at 08:28 AM EST. 33 Comments
LINUX STORAGE
For those of you running EXT4 with Direct I/O on the likes of Intel Optane DC Persistent Memory or PMEM simulated via a virtual machine, better write performance is coming when overwriting already allocated blocks.

Queued within the EXT4 development code ahead of Linux 5.6 is optimize EXT4 DIO overwrites by SUSE's Jan Kara. This optimization about Direct I/O when overwriting already allocated blocks is particularly beneficial for multi-threaded workloads engaging in small writes.

When testing with FIO for performing 4K random writes, Kara found that the performance went up from 3018MB/s to 4059MB/s or when using direct access (DAX) the improvement went from 3042MB/s to 4311MB/s. This optimization just affects the performance when writing over already allocated blocks and won't have any performance improvements for reads or other non-DIO areas.

Quite the win for EXT4 Direct I/O performance come Linux 5.6!
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