Commit graph

2312 commits

Author SHA1 Message Date
Andrea Mazzoleni
44bce00aef Fail Btrfs device listing if an unexpeced error happens 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
818bb61e3b Fix file descriptor leak in os_spawn by enabling O_CLOEXEC for compiled binaries 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
52f7c2184f Add support for custom smartctl info options using a [info: ...] tag 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
d6d1d6d3cd Skip spinup and spindown for non-rotational devices 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
d7c6a27c6d Refactor portable support 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
34103b65ec Allow tools to be symlinks and hardlinks 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
bb401e2e3f Rename randomize to os_randomize 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
8e2b9c03b5 Use uniform ending on files for parity implementation 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
1a3099d7f5 Fix building on x86 for missing AVX512 support 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
1929b0b6b0 Update translations 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
255a54a10a More CPU info 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
2db72e0e7e Add CRC support for macOS 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
b94f7a952c In the speed test, set the CPU affinity to the expected best core 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
fd2dc7810f Run the speed test with and without displacement 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
2dbb25acbd Allow to specify the wrap size in allocation 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
e43964523f Refactor and reorganize parity generation functions using inline templates 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
22495abe9e Add AArch64 NEON parity generation and recovery functions 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
807f2f6690 Use vpternlogq in raid_gen3-6_avx512bw to fuse sequential vpxorq instructions into single 3-way XORs 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
9e1652673d Gate AVX-512BW gen1/gen2 behind slow_avx512() to avoid double-pumped shuffle penalties 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
bc686928ec Requires C99 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
f40b2decdb Further conversions from 32 to 64 bits 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
bbd3c23cd2 Migrate block_off_t to 64-bit with updated CLI parsing, VLQ serialization, and format specifiers 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
76998613da 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-08-18 23:33:54 +02:00
Andrea Mazzoleni
7a7dacc6db Inject variable page-offset noise to disk buffer displacement to mitigate prefetcher contention 2026-08-18 23:33:54 +02:00
Andrea Mazzoleni
5795b9706e Use the optimal displacement depending on the number of disks 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
1e63403bf2 Change RAID AVX512/GFNI functions to use forward iterations 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
6cb3d86f66 Remove the special case of a single data disk when not strictly required 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
810851da37 Remove unused level 0 from the pshufb table 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
f8abcd666f Change the AVX512BW generation to use pshufb also for Q parity 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
dd8e3bfcb0 Extend the pshufb table to include the Q parity coefficients 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
04df1f7b26 New displacement benchmarks 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
f1bc02f52a Simplify GFNI implementations 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
abfa6fde28 Always build RAID test with USE_RAID_AES 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
108915254e Assume the assembler supports all x86 SSE/AVX instructions 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
44d23c16ff Extend the RAID regression test to detect unset parity 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
c08a571d88 Add support for AVX2 GFNI 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
557dcda9cd Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
1b8bf8dfd0 Revise the RAID library Makefile 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
599a4fbb42 Be more clear when GFNI is really used 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
d67cdd8b9d Optimize AVX512 gen1 parity with the vpternlogq instruction 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
d773f21c1e Update TODO 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
58fece3584 Extend io_init() to support arbitrary combinations of data and parity operations 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
185df4bd2e Do not expose Windows threads keys 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
2c6b7badb7 Validate GUIDs before passing them to PowerShell 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
6a4d2dfd6d Take into account that btrfs devices can be not contiguous 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
493e0118f3 Portability 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
9005af10ad Add tables for the AES Polynomial 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
eae20ea043 Update TODO 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
0df28e936f Secure the popen use 2026-08-18 23:33:53 +02:00
Andrea Mazzoleni
87313c2bfd Delete snapshot links in Windows 2026-08-18 23:33:53 +02:00