VOOZH about

URL: https://www.phoronix.com/news/AVX-512-Xor-Gen-More-Perf

⇱ Revised AVX-512 xor_gen() Implementation For Linux RAID Yielding More Performance Gains - Phoronix


👁 Phoronix

Revised AVX-512 xor_gen() Implementation For Linux RAID Yielding More Performance Gains

Written by Michael Larabel in Linux Storage on 14 June 2026 at 06:22 AM EDT. 20 Comments
A few days back I wrote about Google's Eric Biggers spearheading an AVX-512 implementation of xor_gen() as the Linux kernel function used for generating and validating parity blocks such as for RAID5/RAID6. That initial implementation was yielding up to 41% better performance while a new implementation has now been posted for scoring some additional victories.

Biggers has been working through an AVX-512 version of xor_gen() to help with Linux software RAID performance and the like, that function is also used by some Linux file-systems directly like Btrfs too.

With the new implementation posted overnight, it's now up to a 43% improvement in performance while other src count sizes are benefiting more than the original implementation:

👁 xor_gen v2 benchmark


That v2 implementation is now out for review on the Linux kernel mailing list.

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.