Commit graph

2286 commits

Author SHA1 Message Date
Andrea Mazzoleni
17907d5960 Add CRC support for macOS 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
9922001b2d In the speed test, set the CPU affinity to the expected best core 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
124661886c Run the speed test with and without displacement 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
2555eff8d1 Allow to specify the wrap size in allocation 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
455861302b Refactor and reorganize parity generation functions using inline templates 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
5b1258b704 Add AArch64 NEON parity generation and recovery functions 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
d526a472c3 Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
9ef4db764c Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
86cfd14389 Requires C99 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
a8a85b2a11 Further conversions from 32 to 64 bits 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
97565a4adb Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
24389023ad 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-06-23 11:47:51 +02:00
Andrea Mazzoleni
9522d57691 Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
05e79de5a8 Use the optimal displacement depending on the number of disks 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
32de9e45d5 Change RAID AVX512/GFNI functions to use forward iterations 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
b2e6fffdfb Remove the special case of a single data disk when not strictly required 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
138da4fcf3 Remove unused level 0 from the pshufb table 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
26fe681062 Change the AVX512BW generation to use pshufb also for Q parity 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
cc1958817a Extend the pshufb table to include the Q parity coefficients 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
3cf7a154a9 New displacement benchmarks 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
c17bfb1a39 Simplify GFNI implementations 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
f8caae364c Always build RAID test with USE_RAID_AES 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
72edbe4d01 Assume the assembler supports all x86 SSE/AVX instructions 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
0754586136 Extend the RAID regression test to detect unset parity 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
c4f9869f98 Add support for AVX2 GFNI 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
994c208315 Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
de04356870 Revise the RAID library Makefile 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
1b6f649a77 Be more clear when GFNI is really used 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
7e6e201554 Optimize AVX512 gen1 parity with the vpternlogq instruction 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
e65e25ad78 Update TODO 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
0b5d0d981a Extend io_init() to support arbitrary combinations of data and parity operations 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
f93f56f59f Do not expose Windows threads keys 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
88b92d8758 Validate GUIDs before passing them to PowerShell 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
b8e32c68eb Take into account that btrfs devices can be not contiguous 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
759bbc53ac Portability 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
3e59cadb96 Add tables for the AES Polynomial 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
afbd5d5e4d Update TODO 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
64737da4b9 Secure the popen use 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
d45c1007e7 Delete snapshot links in Windows 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
9f62f23da0 Report issues in github 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
e7b4ba0963 Update documentation about snapshots 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
ab932352a0 Comment about the RAID optimizations 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
1fc51d2b85 Use a simpler approach in the new AVX512 generation functions 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
26499a8f4b Automatically exclude the snapshot .snapraid directory and content files 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
582899a7cc Preliminary support for AVX512GFNI 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
1551644589 Allow to configure path of external tools 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
a33e048a4b Secure external tools execution 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
084ced8699 Add Windows VirtualShadowCopy support for snapshots 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
d9a706c072 Add Windows support for symlink of directories 2026-06-23 11:47:50 +02:00
Andrea Mazzoleni
91075e1e65 In Windows readlink now convert \ to / to match symlink behaviour 2026-06-23 11:47:50 +02:00