Linux Optimization Shows +5% For EXT4, XFS After Moving Around 2 Lines Of Code
6 hours ago
- #Linux Kernel
- #File System Optimization
- #IOPS Improvement
- Linux 7.2 includes an optimization for EXT4 and XFS file systems that shows a 5% IOPS improvement when using NVMe SSD storage and IO_uring.
- The optimization involves moving two lines of code to skip a memset in iomap_iter(), reducing wasted memory write bandwidth.
- The change was discovered by Bytedance engineer Fengnan Chang and is part of VFS pull requests for the kernel.
- The same pull request also adds VFS infrastructure to support FS-VERITY for XFS with a post-EOF Merkle tree.
- Linux kernel versions consistently deliver exciting performance improvements with each new release.