Commit graph

2295 commits

Author SHA1 Message Date
Andrea Mazzoleni
e0f7f9fa6f Refactor and reorganize parity generation functions using inline templates 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
677aa0cc90 Add AArch64 NEON parity generation and recovery functions 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
7358bc0879 Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
0fd84857cc Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
3f68b2da4e Requires C99 2026-07-29 16:46:27 +02:00
Andrea Mazzoleni
3d7316e7f8 Further conversions from 32 to 64 bits 2026-07-29 16:46:26 +02:00
Andrea Mazzoleni
022f63846a Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-07-29 16:45:31 +02:00
Andrea Mazzoleni
62f791886e Remove the unused number of data disks from the vector allocation
The same addressing rules are applied to the parity disks because
they are used as data disks during recovery operations.
2026-07-29 16:45:31 +02:00
Andrea Mazzoleni
506e417e5f Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-07-29 16:45:31 +02:00
Andrea Mazzoleni
ce62fbb37c Use the optimal displacement depending on the number of disks 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
82157617ee Change RAID AVX512/GFNI functions to use forward iterations 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
20b3cd5dc1 Remove the special case of a single data disk when not strictly required 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
5d0b4df8e1 Remove unused level 0 from the pshufb table 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
5774f6b7f7 Change the AVX512BW generation to use pshufb also for Q parity 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
9bc827f714 Extend the pshufb table to include the Q parity coefficients 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
e2dc4b2dd9 New displacement benchmarks 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
b8d59f11da Simplify GFNI implementations 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
9e130237a1 Always build RAID test with USE_RAID_AES 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
9f432d440c Assume the assembler supports all x86 SSE/AVX instructions 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
ee4cc0c012 Extend the RAID regression test to detect unset parity 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
806f15b9eb Add support for AVX2 GFNI 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
4947a937fd Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
c1a4bf12a4 Revise the RAID library Makefile 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
b4242a3526 Be more clear when GFNI is really used 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
52a965df09 Optimize AVX512 gen1 parity with the vpternlogq instruction 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
48143a8fa7 Update TODO 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
6d9ba1cfa5 Extend io_init() to support arbitrary combinations of data and parity operations 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
fd8ed04c4d Do not expose Windows threads keys 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
a57606c0c7 Validate GUIDs before passing them to PowerShell 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
14c2b8387a Take into account that btrfs devices can be not contiguous 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
b97eae14b1 Portability 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
8eb54554e6 Add tables for the AES Polynomial 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
237d199159 Update TODO 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
89d201a5ba Secure the popen use 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
b7378c142b Delete snapshot links in Windows 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
1d3ad071d8 Report issues in github 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
1e8b7ec0a2 Update documentation about snapshots 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
1df84c9ce4 Comment about the RAID optimizations 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
a6022a55a6 Use a simpler approach in the new AVX512 generation functions 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
77bcb28adf Automatically exclude the snapshot .snapraid directory and content files 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
6253205bdb Preliminary support for AVX512GFNI 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
f084fcb143 Allow to configure path of external tools 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
5f319ad018 Secure external tools execution 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
86486ca2f9 Add Windows VirtualShadowCopy support for snapshots 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
52d4bd849f Add Windows support for symlink of directories 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
0e40488f45 In Windows readlink now convert \ to / to match symlink behaviour 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
93a72ac5da Always use PATH_MAX instead of MAX_PATH (limited to 260) 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
914bf68227 Revise manpage pattern section 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
dc38c9b634 Sanitize shell execution 2026-07-29 16:45:30 +02:00
Andrea Mazzoleni
9775fccfc7 Add ZFS support 2026-07-29 16:45:30 +02:00