Commit graph

2303 commits

Author SHA1 Message Date
Andrea Mazzoleni
bc7b849e5b Avoid a folding VLA warning in clang 2026-06-24 23:25:43 +02:00
Andrea Mazzoleni
03296ac0f2 Fix translation inconsistencies 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
6a0c99a2df Add Translation section to manual translations 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
b9d697a891 New target make doc 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
6c76917bdf Localize section headers and update content commands in translations 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
8760aaaa91 Update manual description of content file commands to include all available options 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
1bc76e3ca4 Fail Btrfs device listing if an unexpeced error happens 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
386f5b3dd4 Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
cb3520de0c Add support for custom smartctl info options using a [info: ...] tag 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
4c5ba26e12 Skip spinup and spindown for non-rotational devices 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
417d073710 Refactor portable support 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
600e008b21 Allow tools to be symlinks and hardlinks 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
9889954b7e Rename randomize to os_randomize 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
6423801aac Use uniform ending on files for parity implementation 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
37be2a39a1 Fix building on x86 for missing AVX512 support 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
0602851424 Update translations 2026-06-23 11:47:51 +02:00
Andrea Mazzoleni
a69cd8b79c More CPU info 2026-06-23 11:47:51 +02:00
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