Commit graph

41 commits

Author SHA1 Message Date
Andrea Mazzoleni
b78542685f Add portable 128-bit vector parity routines for gen1/gen2/genz to optimize non-x86 CPUs 2026-06-04 21:18:47 +02:00
Andrea Mazzoleni
9ce976232c Remove the unused number of data disks from the vector allocation
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
The same addressing rules are applied to the parity disks because
they are used as data disks during recovery operations.
2026-06-03 22:01:00 +02:00
Andrea Mazzoleni
ff1056547d Use the optimal displacement depending on the number of disks 2026-06-03 22:01:00 +02:00
Andrea Mazzoleni
e3a0671c00 Assume the assembler supports all x86 SSE/AVX instructions 2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
f9a1370b42 Add support for AVX2 GFNI 2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
8ae654d8a6 Disable AVX512 on CPUs with narrow shuffle ports or double-pumped 256-bit datapath 2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
746a9b8940 Preliminary support for AVX512GFNI 2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
e06d8ab550 Add detection of AVX2GFNI 2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
70c9b35206 Integrate new AVX512 functions in the speed test 2026-06-03 22:00:59 +02:00
Christoph Hellwig
c889153cb2 Make all RAID forwarders static and local using a new registration interface
Co-authored-by: Andrea Mazzoleni <amadvance@gmail.com>
2026-06-03 22:00:59 +02:00
Andrea Mazzoleni
aee71ad2d6 Fix default period of the speed test
Some checks failed
Build / build-mac (push) Has been cancelled
Build / build-linux (push) Has been cancelled
Build / build-win (push) Has been cancelled
CodeQL Advanced / Analyze (c-cpp) (push) Has been cancelled
CodeQL Advanced / Analyze (actions) (push) Has been cancelled
2026-05-27 14:52:41 +02:00
Andrea Mazzoleni
b1534fc21f Avoid a nul period in the speed test 2026-05-21 16:08:03 +02:00
Andrea Mazzoleni
523066ed0f Fix typos in function names
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-16 14:31:38 +02:00
Andrea Mazzoleni
befb9b4a92 Fix RISC printf 2026-04-16 13:50:51 +02:00
Andrea Mazzoleni
391784c5ed Add some missing fflush in the speed test 2026-04-16 00:20:26 +02:00
Andrea Mazzoleni
ae9b472898 Add detection of AVX512BW and AVX512GFNI 2026-04-16 00:13:51 +02:00
Andrea Mazzoleni
4799b20929 In the speed benchmark force the same hardware in generation when recovering
Some checks are pending
Build / build-mac (push) Waiting to run
Build / build-linux (push) Waiting to run
Build / build-win (push) Waiting to run
CodeQL Advanced / Analyze (c-cpp) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
2026-04-15 20:08:42 +02:00
Andrea Mazzoleni
578033a892 Fix the speed computation for the recovery functions
To make them comparable with the generation function they should be
called only one time, recovering the max number of data disks possible.
2026-04-15 19:31:07 +02:00
Andrea Mazzoleni
f878ff217c Print the CPU architecture in the speed test 2026-04-13 09:57:21 +02:00
Andrea Mazzoleni
0d0431a907 Simpler Copyright string 2026-04-09 17:56:49 +02:00
Christoph Hellwig
60269a1236 Use SPDX (https://spdx.dev/) tags to identify the license used for each
file, and a COPYING file explaining the licensing scheme, with the actual
licenses listed in the LICENSES/ directory.
2026-04-02 16:01:37 +02:00
Andrea Mazzoleni
d451f911c7 Reformat the code with new uncrustify.cfg 2026-02-27 00:39:22 +01:00
Andrea Mazzoleni
b29500c25f Update beautification with uncrustify 2026-01-22 16:13:25 +01:00
Andrea Mazzoleni
f6cf240b97 New experimental MuseAir hash 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
cc2bdad335 Some hash support improvments 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
00dc3e6a48 New speed test options 2026-01-11 12:01:12 +01:00
Andrea Mazzoleni
b725333a49 Add MetroHash128 for speed measurement 2020-04-24 21:02:45 +02:00
Andrea Mazzoleni
5b06549ee3 Make the hash size configurable
Only at source code level.
2016-04-07 21:39:02 +02:00
Andrea Mazzoleni
9ade11483e Fix some misuses of the MiB and MB units 2016-01-16 07:29:00 +01:00
Andrea Mazzoleni
54c91ec440 Ensure a side effect in CRC computation 2015-11-11 08:02:54 +01:00
Andrea Mazzoleni
35b1b08b6c Clean the cpu.h header 2015-03-30 23:36:36 +02:00
Andrea Mazzoleni
1c3000ae04 Use a better cpu detection
We now follow precisely the Intel documentation.
2015-03-09 22:28:51 +01:00
Andrea Mazzoleni
7d6c30333f Uses a more precise intructions set detection.
This allows to build with old assembler programs.
2014-11-12 19:52:35 +01:00
Andrea Mazzoleni
876bddcf4c Beautifies the code. 2014-09-27 00:32:39 +02:00
Andrea Mazzoleni
4ce85be912 Fixes indentation of speed results. 2014-09-17 21:34:00 +02:00
Andrea Mazzoleni
4e419aa862 Extends tests to use AVX2 functions. 2014-09-16 21:58:29 +02:00
Andrea Mazzoleni
0e3901ca3e Adds gen3/z support for AVX2. 2014-09-15 22:31:25 +02:00
Andrea Mazzoleni
8e97b7a248 Adds proper detection for AVX2. 2014-09-14 19:47:43 +02:00
Andrea Mazzoleni
957db46f5b Preliminary AVX2 support. 2014-09-14 18:03:40 +02:00
Andrea Mazzoleni
b32e3cdc03 Reports in speed test if the CPU has a slow access to extended regs. 2014-09-14 16:53:42 +02:00
Andrea Mazzoleni
44ef039a13 Different source organization. 2014-03-23 17:50:27 +01:00
Renamed from src/speed.c (Browse further)