Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code - Phoronix
Articles & Reviews
News Archive
Forums
Premium Ad-Free<br>Contact
Popular Categories
Close
Articles & Reviews
News Archive
Forums
Premium
Contact
Categories
Computers Display Drivers Graphics Cards Linux Gaming Memory Motherboards Processors Software Storage Operating Systems Peripherals
Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code
Written by Michael Larabel in Linux Storage on 15 June 2026 at 09:02 PM EDT. 1 Comment
In addition to the surprising impact of /proc/filesystems read optimizations for Linux 7.2, another one of the VFS pull requests for this next kernel version is delivering some nice improvements for EXT4 and XFS around IOmap, the framework that maps file data offsets in memory to their physical locations on storage.
Among the IOmap changes now merged for the Linux kernel is an optimization showing nice benefit for EXT4 and XFS when running with NVMe SSD storage and using IO_uring:<br>"Skip the memset of the iomap in iomap_iter() once the iteration is done. In high-IOPS scenarios (4k randread NVMe polling via io_uring) the pointless memset wasted memory write bandwidth; this improves IOPS by about 5% on ext4 and xfs."
A 5% uplift to IOPS isn't bad for such a straight forward optimization. That optimization comes from Bytedance engineer Fengnan Chang after discovering the wasted memory write bandwidth due to the caller just discarding the iterator when it's done. The 5% IOPS gain comes at moving around two lines of code.
Separately, that same pull also adds the VFS infrastructure needed for implementing FS-VERITY support for XFS with a post-EOF Merkle tree, as another notable change.
Linux 7.2 continues to prove quite exciting as do most Linux kernel versions N+1.
1 Comment
Tweet
Reading /proc/filesystems Is Surprisingly Done Very Often & Now As Much As 444% Faster<br>Linux 7.2 To Better Communicate File-System Casefolding For Helping Windows NFS & More<br>Revised AVX-512 xor_gen() Implementation For Linux RAID Yielding More Performance Gains<br>OpenZFS 2.4.3 Released With Many Bug Fixes<br>New NTFS Linux Driver Being Improved For Windows Native Symbolic Links<br>AVX-512 Optimization For Linux RAID Showing Up To 41% Improvement On AMD Ryzen 9 9950X
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.
ReactOS "Open-Source Windows" Reaches The Milestone Of Being Able To Run Half-Life<br>Arch Linux Now Believes Malware Incident Under Control: More Than 1,500 Affected Packages<br>macOS 27 Beta Breaks The Ability To Boot Asahi Linux<br>Arch Linux's AUR Sees More Than 400 Packages Compromised With Malware<br>Arch Linux AUR Hit By Another Wave Of Now More Sophisticated Malware Attack<br>Firefox Merges Support For Vulkan Video Decoding<br>YSERVER: Modern X11 Server Written In Rust With The Help Of Claude Code<br>AMD Opens Pre-Orders For The Linux-Friendly Ryzen AI Halo Developer Platform
Linux 7.2 Optimization Shows +5% IOPS For EXT4 & XFS After Moving Around Two Lines Of Code
FreeBSD 15.1 Released With Updated WiFi Drivers, Better C23 Support & Other Improvements
Intel Performance Skills: New Open-Source Project Leveraging AI For Linux Performance Optimizations
FreeBSD Receives Funding To Launch AI-Assisted Vulnerability Discovery
GCC Steering Committee Supports Inclusion Of WebAssembly Backend
Russian Spam & Profanities Are Now Plaguing The Arch Linux AUR
Firefox 152 Now Available With JPEG-XL Support Built By Default, Modernized Settings UI
Reading /proc/filesystems Is Surprisingly Done Very Often & Now As Much As 444% Faster
Framework Computer Making Progress On Coreboot For Their Modern Intel-Powered Laptops
Cache Aware Scheduling Merged For Linux 7.2 For Boosting Modern Intel & AMD CPUs
Linux 7.2 Introducing The Rust Zerocopy Library To Eliminate More "Unsafe" Code
Linux 7.2 To Better Communicate File-System Casefolding For Helping Windows NFS & More
GNU Linux-libre 7.1-gnu Released With More Driver Deblobbing, Unhappy With i486 Removal
Phoronix Premium allows ad-free access to the site, multi-page articles on a single page, and other features while supporting this site's continued operations.
Open-Source Success Achieved For Greater Transparency & Security: Running AMD openSIL + Coreboot On EPYC
Benchmarking The Performance Benefits To Ubuntu 26.10 amd64v3 Packages
RISC-V CPU Performance Up 8x In Five Years: SiFive HiFive Unmatched To SpacemiT K3
Linux 7.1 Helping Intel Arc Battlemage Graphics Achieve Better...