Commit graph

2295 commits

Author SHA1 Message Date
Andrea Mazzoleni
84d274bd2e Add AArch64 NEON parity generation and recovery functions 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
fff2298fee Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
0258fbdb64 Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a8e644abb7 Requires C99 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
03f5458e90 Further conversions from 32 to 64 bits 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
df0139493b Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
e8b3059511 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-30 16:26:38 +02:00
Andrea Mazzoleni
2483daa126 Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
12e843b06e Use the optimal displacement depending on the number of disks 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
3ea5c479c3 Change RAID AVX512/GFNI functions to use forward iterations 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
960e97ac36 Remove the special case of a single data disk when not strictly required 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
bb36e50376 Remove unused level 0 from the pshufb table 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
59854c7c06 Change the AVX512BW generation to use pshufb also for Q parity 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
42631042f5 Extend the pshufb table to include the Q parity coefficients 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
a4dc9b43b5 New displacement benchmarks 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
1c7b8a3797 Simplify GFNI implementations 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
9143b12136 Always build RAID test with USE_RAID_AES 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
d5fe6f14f6 Assume the assembler supports all x86 SSE/AVX instructions 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
ff2e137201 Extend the RAID regression test to detect unset parity 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
aaaf175a80 Add support for AVX2 GFNI 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
cec3efb058 Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
6cd8a73bdd Revise the RAID library Makefile 2026-07-30 16:26:38 +02:00
Andrea Mazzoleni
c4de62fb2a Be more clear when GFNI is really used 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
6e090538a3 Optimize AVX512 gen1 parity with the vpternlogq instruction 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
8a7390b407 Update TODO 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
cfb9ac0224 Extend io_init() to support arbitrary combinations of data and parity operations 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
613b88da83 Do not expose Windows threads keys 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
71157c79ee Validate GUIDs before passing them to PowerShell 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
f359b8c431 Take into account that btrfs devices can be not contiguous 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
598dc13918 Portability 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
6ac6a666f4 Add tables for the AES Polynomial 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
641ce82216 Update TODO 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
4f53e6bb61 Secure the popen use 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
b04ae73eef Delete snapshot links in Windows 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
b2b2b6d391 Report issues in github 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
d2e5a92347 Update documentation about snapshots 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
b8509a0b52 Comment about the RAID optimizations 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
c48d9b8178 Use a simpler approach in the new AVX512 generation functions 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
3cc18a1168 Automatically exclude the snapshot .snapraid directory and content files 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
f7524d39a0 Preliminary support for AVX512GFNI 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
db98fb0e68 Allow to configure path of external tools 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
72cbf932d9 Secure external tools execution 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
afefcffa7c Add Windows VirtualShadowCopy support for snapshots 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
8d19590829 Add Windows support for symlink of directories 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
ff3806c185 In Windows readlink now convert \ to / to match symlink behaviour 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
b0504f4f1a Always use PATH_MAX instead of MAX_PATH (limited to 260) 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
c9d80bb8c1 Revise manpage pattern section 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
f9a935f051 Sanitize shell execution 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
ea70143695 Add ZFS support 2026-07-30 16:26:37 +02:00
Andrea Mazzoleni
6354ec9236 Rework snapshot interface 2026-07-30 16:26:37 +02:00