<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00" -->

---
title: AVX-512 xor_gen For Linux Updated &amp; Looking Real Good...
description: An AVX-512 optimized version of xor_gen(), the function used to generate and validate parity blocks for Linux software RAID 5 and RAID 6 arrays, has been...
canonical: https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AVX-512 xor_gen For Linux Updated &amp; Looking Real Good For RAID Arrays | daily.dev
og:description: An AVX-512 optimized version of xor_gen(), the function used to generate and validate parity blocks for Linux software RAID 5 and RAID 6 arrays, has been...
og:url: https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00
og:image: https://api.daily.dev/og/posts/s5zAoow00.png
og:image:alt: AVX-512 xor_gen For Linux Updated &amp; Looking Real Good For RAID Arrays
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AVX-512 xor_gen For Linux Updated & Looking Real Good For RAID Arrays

**[Phoronix](https://daily.dev/sources/phoronix)** · 2 min read · 0 upvotes · 0 comments

## Summary

An AVX-512 optimized version of xor_gen(), the function used to generate and validate parity blocks for Linux software RAID 5 and RAID 6 arrays, has been updated in its fifth patch series revision. Eric Biggers of Google, who leads Linux crypto performance work, also cleaned up how the kernel handles AVX and AVX-512 CPU feature flag checks across UML and native x86 to unblock the optimization, which was previously stalled due to confusion around cpu_has_xfeatures(). Benchmarks on an AMD Ryzen 9 9950X show strong performance gains, especially for 4-8 disk RAID arrays. The patches missed the v7.3 merge window but are hoped to land in Linux v7.4.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.phoronix.com/news/AVX-512-xor-gen-v5>

## Questions this post answers

### What is the AVX-512 xor_gen patch for the Linux kernel and why does it matter for RAID?

It is a patch series adding an AVX-512 optimized implementation of xor_gen(), the function that generates and validates parity blocks for Linux software RAID 5 and RAID 6 arrays. Led by Eric Biggers of Google, the fifth version of the series also cleans up kernel CPU feature flag checks for AVX and AVX-512 across UML and native x86. Benchmarks on an AMD Ryzen 9 9950X show significant speedups, especially for 4 to 8 disk RAID arrays, and the patches are hoped to merge for Linux v7.4.

_Kernel maintainers tracking software RAID performance work can follow patch progress like this on daily.dev._

## Similar posts on daily.dev

- [Revised AVX-512 xor\_gen\(\) Implementation For Linux RAID Yielding More Performance Gains](https://daily.dev/posts/revised-avx-512-xor-gen-implementation-for-linux-raid-yielding-more-performance-gains-hfxur0l34) · Phoronix · 0 upvotes · 0 comments
- [AVX-512 xor\_gen Continues To Look Exciting For Helping Linux RAID With Modern CPUs](https://daily.dev/posts/avx-512-xor-gen-continues-to-look-exciting-for-helping-linux-raid-with-modern-cpus-qv3oihkax) · Phoronix · 0 upvotes · 0 comments
- [AVX-512 Optimization For Linux RAID Showing Up To 41% Improvement On AMD Ryzen 9 9950X](https://daily.dev/posts/avx-512-optimization-for-linux-raid-showing-up-to-41-improvement-on-amd-ryzen-9-9950x-poo478v4o) · Phoronix · 1 upvotes · 0 comments
- [AES-GCM Optimizations Land In Linux 6.19 - Benefiting AMD Zen 3, AVX-512 CPUs Too](https://daily.dev/posts/aes-gcm-optimizations-land-in-linux-6-19---benefiting-amd-zen-3-avx-512-cpus-too-aguk9yzzy) · Phoronix · 0 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux), [#performance](https://daily.dev/tags/performance)

[View this post on daily.dev](https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AVX-512 xor_gen For Linux Updated & Looking Real Good For RAID Arrays","url":"https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00"},"datePublished":"2026-09-02T13:23:39.242Z","dateModified":"2026-09-02T13:36:39.796Z","description":"An AVX-512 optimized version of xor_gen(), the function used to generate and validate parity blocks for Linux software RAID 5 and RAID 6 arrays, has been...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/acf067829e2f300b628cf43a0cb8696e?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/acf067829e2f300b628cf43a0cb8696e?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Phoronix","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Phoronix","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/6a26ba379dd64932830aa0c9803dd7ee","url":"https://daily.dev/sources/phoronix"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"linux,performance","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Phoronix","item":"https://daily.dev/sources/phoronix"},{"@type":"ListItem","position":3,"name":"AVX-512 xor_gen For Linux Updated & Looking Real Good For RAID Arrays"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/avx-512-xor-gen-for-linux-updated-looking-real-good-for-raid-arrays-s5zaoow00#faq","mainEntity":[{"@type":"Question","name":"What is the AVX-512 xor_gen patch for the Linux kernel and why does it matter for RAID?","acceptedAnswer":{"@type":"Answer","text":"It is a patch series adding an AVX-512 optimized implementation of xor_gen(), the function that generates and validates parity blocks for Linux software RAID 5 and RAID 6 arrays. Led by Eric Biggers of Google, the fifth version of the series also cleans up kernel CPU feature flag checks for AVX and AVX-512 across UML and native x86. Benchmarks on an AMD Ryzen 9 9950X show significant speedups, especially for 4 to 8 disk RAID arrays, and the patches are hoped to merge for Linux v7.4. Kernel maintainers tracking software RAID performance work can follow patch progress like this on daily.dev."}}]}
```

