{"id":476823,"date":"2026-06-14T12:26:08","date_gmt":"2026-06-14T12:26:08","guid":{"rendered":"https:\/\/www.newsbeep.com\/nz\/476823\/"},"modified":"2026-06-14T12:26:08","modified_gmt":"2026-06-14T12:26:08","slug":"revised-avx-512-xor_gen-implementation-for-linux-raid-yielding-more-performance-gains","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/nz\/476823\/","title":{"rendered":"Revised AVX-512 xor_gen() Implementation For Linux RAID Yielding More Performance Gains"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"LINUX STORAGE\" src=\"https:\/\/www.phoronix.com\/assets\/categories\/linuxstorage.webp\" width=\"100\" height=\"100\"\/><br \/>\nA few days back I wrote about Google&#8217;s Eric Biggers spearheading <a href=\"https:\/\/www.phoronix.com\/news\/AVX-512-Linux-RAID-Optimization\" rel=\"nofollow noopener\" target=\"_blank\">an AVX-512 implementation of xor_gen()<\/a> 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.<\/p>\n<p>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.&#13;<\/p>\n<p>With the new implementation posted overnight, it&#8217;s now up to a 43% improvement in performance while other src count sizes are benefiting more than the original implementation:&#13;<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.newsbeep.com\/nz\/wp-content\/uploads\/2026\/06\/1781439968_513_image.webp\" alt=\"xor_gen v2 benchmark\"\/><\/p>\n<p>That v2 implementation is now out for review on the <a href=\"https:\/\/lore.kernel.org\/all\/20260614010357.69416-1-ebiggers@kernel.org\/\" rel=\"nofollow noopener\" target=\"_blank\">Linux kernel mailing list<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"A few days back I wrote about Google&#8217;s Eric Biggers spearheading an AVX-512 implementation of xor_gen() as the&hellip;\n","protected":false},"author":2,"featured_media":476824,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[10857,10856,10854,10853,10860,10858,10855,111,139,69,10859,10852,10863,145,10861,10862],"class_list":["post-476823","post","type-post","status-publish","format-standard","has-post-thumbnail","category-technology","tag-desktop-linux","tag-linux-benchmarking","tag-linux-hardware-benchmarks","tag-linux-hardware-reviews","tag-linux-how-to","tag-linux-performance","tag-linux-server-benchmarks","tag-new-zealand","tag-newzealand","tag-nz","tag-open-source-graphics","tag-phoronix","tag-phoronix-test-suite","tag-technology","tag-ubuntu-benchmarks","tag-ubuntu-hardware"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts\/476823","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/comments?post=476823"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/posts\/476823\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/media\/476824"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/media?parent=476823"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/categories?post=476823"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/nz\/wp-json\/wp\/v2\/tags?post=476823"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}