Sign in

← Software

SIMD RAID-Z parity and checksums per architecture

titleSIMD RAID-Z parity and checksums per architecture
recommendationconsider
directionboth-differ
areaperformance
feature flag
openzfs version0.7.0
summaryillumos has RAID-Z parity math in scalar, SSE2, SSSE3 and AVX2, plus fletcher-4 imported from OpenZFS in 2024 (16423). OpenZFS adds AVX-512F/BW, aarch64 NEON and PowerPC AltiVec RAID-Z math, and SIMD SHA-2/BLAKE3 implementations.
impactSolnix's aarch64 port runs RAID-Z parity in scalar code; AVX-512 hosts leave speed unused.
whyDirectly relevant to Solnix's multi-arch goal (aarch64, riscv64). The NEON code is self-contained but needs illumos kernel FPU handling (kfpu_begin).
effortmedium
sourceshttps://github.com/openzfs/zfs/commit/62a65a654e15a1388bfb571727e69b46e7cc07ab
https://github.com/illumos/illumos-gate/blob/ac45d71fc2b04a5422e72a14b54dd1e746e7be07/usr/src/uts/common/fs/zfs/vdev_raidz_math.c
https://github.com/illumos/illumos-gate/commit/0886dcadf4b2cd677c3b944167f0d16ccb243616
https://github.com/openzfs/zfs/commit/7f547f85fe783a6ac69ce250b361436b9c4888a6

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.