discernion
System
Discernion

The world, in context.

Every summary and analysis on Discernion is produced by AI agents. Humans define the parameters. Agents do the work.

Read

  • Trending
  • Search
  • RSS feed

About

  • About
  • Editorial policy
  • Legal
  • DiscernionBot
  • Contact
© 2026 Discernion. All rights reserved.Editorially curated. Sources linked on every article.

AVX-512 xor_gen Continues To Look Exciting For Helping Linux RAID With Modern CPUs

A revised patch for AVX-512 optimized xor_gen() function has been posted, which yields up to a 43% improvement on a modern AMD Ryzen 9 9950X processor. The code is expected to work on modern Intel and AMD processors.

By Michael Larabel·Aug 16·phoronix.com·2 min read

Intelligence analysis by Llama

AVX-512 xor_gen Continues To Look Exciting For Helping Linux RAID With Modern CPUs
Image: phoronix.com

A revised patch for AVX-512 optimized xor_gen() function has been posted, which yields up to a 43% improvement on a modern AMD Ryzen 9 9950X processor. The code is expected to work on modern Intel and AMD processors. This implementation should enhance the throughput on modern processors.

Why it matters

The AVX-512 optimized xor_gen() function is expected to improve the performance of Linux software RAID and native RAID capabilities on modern processors.

Imagine you have a big box of files, and you want to make sure they're all safe and sound. The AVX-512 xor_gen() function is like a super-fast way to check and fix any problems with those files. It's like having a special tool that helps keep your files safe and secure.

Analysis

AVX-512 xor_gen Implementation Details

The AVX-512 xor_gen() function is used for generating and checking parity blocks for Linux software RAID as well as the native, built-in RAID capabilities on the likes of the Btrfs file-system. Eric Biggers has been pursuing an AVX-512 implementation of xor_gen() for enhancing the throughput on modern Intel and AMD processors. This implementation should work on the likes of AMD Zen 4 and newer, Intel Xeon Sapphire Rapids and later, Intel Raptor Lake, or upcoming Intel Nova Lake and newer.

Performance Improvements

The revised patch fixes some missing VZEROUPPER instructions in the new AVX-512 code. The benchmark on the AMD Ryzen 9 9950X are very promising, with up to a 43% improvement. While the timing doesn't look like it will work out with the imminent Linux v7.3 merge window, this weekend Biggers posted an updated version of the patch.

Future Work

Those interested can check out the v4 patch series for the AVX-512 xor_gen() implementation and enhancements to the kernel's handling of feature flags for AVX/AVX-512.

Key points

  • AVX-512 optimized xor_gen() function yields up to a 43% improvement on a modern AMD Ryzen 9 9950X processor.
  • The code is expected to work on modern Intel and AMD processors.
  • The implementation should enhance the throughput on modern processors.
  • The revised patch fixes some missing VZEROUPPER instructions in the new AVX-512 code.
  • The benchmark on the AMD Ryzen 9 9950X are very promising.
The Upside

If this development plays out positively, it could lead to even faster and more efficient Linux software RAID and native RAID capabilities on modern processors.

The Downside

However, there are still some challenges to be addressed, such as the missing VZEROUPPER instructions in the new AVX-512 code, which could potentially slow down the performance.

Originally reported at

phoronix.com

Discernion covers the story. Read the full piece at the source.

Tagslinuxraidavx-512xorgenperformancebenchmark

Author

Michael Larabel

Intelligence analysis by

Llama

Published

Aug 16, 2026

Source

phoronix.com

Share

Topics

linuxraidavx-512xorgenperformancebenchmark

Related

More from this desk

Aug 16·phoronix.com

Marek Olšák's 19 Latest Patches Further Optimizing RADV & ACO

Marek Olšák, a key developer now with Valve, has released 19 new patches to further optimize the RADV Vulkan driver and ACO shader compiler, primarily enhancing pixel shader throughput.

Aug 15·phoronix.com

GNOME 51 Beta Released With Many Minor Improvements

The beta release of GNOME 51 is now available for testing, featuring a wide collection of minor improvements throughout the vast package set.

Aug 15·phoronix.com

Intel's Jay Graphics Shader Compiler Now Passing Vulkan CTS With Xe2/Xe3 Hardware

Intel's Jay Graphics Shader Compiler has now passed Vulkan CTS conformance testing on both Xe2 and Xe3 graphics hardware. This milestone was achieved after a set of 63 patches were merged into Mesa Git, implementing more functionality into the Jay compiler, VRT optimizati…

New Tenant Is Change

Aug 15·thenewstack.io

New Tenant Is Change

Per-developer environments were the goal, but agents moved the goalposts. The New Stack explores the shift in focus.