Linux 7.3 Improving RAID 5/6 Benchmark-Based Algorithm Selection

Written by Michael Larabel in Linux Storage on 23 August 2026 at 08:38 PM EDT. 2 Comments
LINUX STORAGE
Following the main set of memory management "MM" changes submitted for Linux 7.3, Andrew Morton sent in his "non-MM" pull request of the other patches he's been collecting from various developers for this next Linux kernel release. Standing out there were some improvements to the RAID 5/6 benchmark-based algorithm selection.

Linux selects its optimal RAID XOR engine (used by RAID5 and RAID6 software configurations) and the RAID6 specific code paths based on an internal speed test during the kernel module initialization. This is done for picking the fastest hardware-accelerated method available for the given hardware such as for leveraging AVX2 or AVX-512. With the Linux 7.3 kernel, various improvements are made to the benchmark-based algorithm selection for the XOR and RAID6.

Linux RAID setup on server


In addition to various improvements around the benchmark-based algorithm selection at boot time, there is also now KUnit benchmark coverage for the XOR and RAID6 code plus other code improvements. Among the code changes are using 4 + 1 disks for a more realistic load calculation and reporting the throughput on the data disks rather than just that of the parity disk. No data was provided on the patches to quantify the impact or further highlight the benefits, but any enhancements ultimately are welcome.

That was the main takeaway for me from the non-MM pull request for the Linux 7.3 kernel with much of the other material amounting to routine bug fixes.
Related News
About The Author

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