Testdatafile #11, sorted by decompression time (prelast column):
Size: 2,079,106,048 bytes
Name: www.pgnmentor.com_474_PGN.tar
sha1: 97b8159b2e3913c66b76a7955656f64f1dff0b02
Testmachine: laptop 'Brutalitto' AMD 4800H max turbo 4.3GHz, 64GB DDR4 3200MHz, Windows 10
```
+--------------------+---------------+-----------------+-----------------+-------------------+
| [De]compressor,    | Compression,  | Compression,    | Decompression,  | Memory Footprint, |
| MAX settings       | size in bytes | time in seconds | time in seconds | Physical Memory   |
+--------------------+---------------+-----------------+-----------------+-------------------+
| LZSSE              |   663,365,876 |        251.55 s |          1.64 s |          3,250 MB |
| LZ4 v. 1.9.3       |   744,736,266 |         60.43 s |          2.16 s |              9 MB |
| Kanshiketsu-DD-AES |   462,789,539 |      67032.19 s |          3.95 s |         69,511 MB |
| ZSTD v. 1.5.0      |   336,233,458 |       2015.46 s |          5.08 s |         18,850 MB |
| Brotli v. 1.0.9    |   326,757,463 |       4606.35 s |          8.81 s |         10,213 MB |
| 7zip's GZ v. 19.00 |   622,800,274 |       1874.50 s |          9.94 s |              9 MB |
| BSC v. 3.1.4       |   238,493,306 |         58.66 s |         18.82 s |          9,930 MB |
| RAZOR v. 1.03.7    |   275,544,076 |       8663.40 s |         26.86 s |         11,683 MB |
| ZPAQ v. 7.05       |   235,439,898 |       5505.27 s |       5498.04 s |         17,352 MB |
+--------------------+---------------+-----------------+-----------------+-------------------+
```
Note1: Decompression (BEST TIME) on RAM disk was done at 2,079,106,048 bytes / 1.64 s = 1209 MB/s, no idea why so slow, one eighth of MAX throughput (10036 MB/s at Q1T1).
Note2: BSC utilizes brutally well the CPU resources, inhere compresses with 1369% (out of 1600% = 8cores x 2threads x 100%) utilization!
Note3: Corpus was made by tarring 474 PGNs, Portable Game Notation (PGN) is the most popular standard for the representation of chess games, source: https://www.pgnmentor.com/files.html



@eustas

After a major hiccup (the laptop Brutallito is not mine) in addition to (https://www.overclock.net/threads/choosing-a-modern-archiver-what-matters-most.1792407/) here comes the tenth corpus.
I faced a nasty problem, with files being benchmarked, growing bigger, the leaves of B-trees became too big and 50GB were insufficient, so the keys needed lossy compression, good (meaning fast and with do-the-job strength) enough to save the day.
In the meantime, I managed to write one nifty keyshrinker (128bit hash shrinking keys 1..64 down to 16 bytes) - it is called DoubleDeuceAES and already is operational in the (used below) Nakamichi 'Kaidanji-Kanshiketsu-DD-AES':

Compression lines:
```
timer64 rz.exe a -d 1023M "%1.rz" "%1"
timer64 "zstd-v1.5.0-win64.exe" -T4 --ultra -22 --long=31 --zstd=wlog=31,clog=30,hlog=30,slog=26 "%1" -o "%1.zst"
timer64 "lz4_win64_v1_9_3.exe" -9 "%1"
timer64 "bsc-3.1.3-x64.exe" e "%1" "%1.bsc" -p -b2047
timer64 "7za_x64_v1900.exe" a -tgzip -mx=9 -mmt=8 "%1.gz" "%1"
timer64 "brotli109_compiled_by_Shelwien_mingw_gcc10.2_SSE4.exe" -q 11 --large_window=30 "%1"
timer64 "zpaq_v7.05_x64.exe" add "%1.zpaq" "%1" -method 511 -threads 4
timer64 lzsse.exe -2 -l17 "%1" "%1.lzsse2"
timer64 Nakamichi_Vanilla_LITE_Kaidanji_DD-128AES_GCC_64bit.exe "%1" "%1.Nakamichi" 24 56000 i
```

Decompression lines:
```
"rz.exe" e "%1.rz" "%1"
"zstd-v1.5.0-win64.exe" -d --long=31 "%1.zst"
"lz4_win64_v1_9_3.exe" -d "%1.lz4"
bsc-3.1.3-x64.exe d "%1.bsc" "%1"
"7za_x64_v1900.exe" e "%1.gz"
brotli109_compiled_by_Shelwien_mingw_gcc10.2_SSE4.exe -d -k "%1.br"
"zpaq_v7.05_x64.exe" x "%1.zpaq" -threads 4
lzsse.exe -d "%1.lzsse2" "%1"
Nakamichi_Vanilla_LITE_Kaidanji-Kanshiketsu_GCC_64bit.exe "%1.Nakamichi">"%1.NKMCH"
```

Testdatafile #10, sorted by decompression time (prelast column):
Size: 2,633,239,552 bytes
Name: NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms.tar
sha1: 68bf519f85c340fef889dca7a03b9c752bcff52e
Testmachine: laptop 'Brutalitto' AMD 4800H max turbo 4.3GHz, 64GB DDR4 3200MHz, Windows 10
```
+--------------------+---------------+-----------------+-----------------+-------------------+
| [De]compressor,    | Compression,  | Compression,    | Decompression,  | Memory Footprint, |
| MAX settings       | size in bytes | time in seconds | time in seconds | Physical Memory   |
+--------------------+---------------+-----------------+-----------------+-------------------+
| Kanshiketsu-DD-AES |   269,077,112 |      33297.72 s |          2.27 s |         61,957 MB |
| ZSTD v. 1.5.0      |   175,835,794 |       1944.23 s |          2.31 s |         27,408 MB |
| LZSSE              | 1,429,220,083 |       1292.77 s |          2.41 s |          3,297 MB |
| LZ4 v. 1.9.3       | 1,578,351,791 |         52.43 s |          3.00 s |             12 MB |
| Brotli v. 1.0.9    |   168,545,198 |       1464.50 s |          3.19 s |          9,711 MB |
| RAZOR v. 1.03.7    |   167,957,542 |        991.64 s |         10.00 s |          6,017 MB |
| 7zip's GZ v. 19.00 | 1,135,178,847 |       1104.73 s |         13.21 s |              9 MB |
| BSC v. 3.1.3       |   221,358,114 |        200.41 s |        198.37 s |         14,151 MB |
| ZPAQ v. 7.05       |   175,265,138 |       4389.79 s |       4402.52 s |         18,447 MB |
+--------------------+---------------+-----------------+-----------------+-------------------+
```
Note1: Decompression (BEST TIME) on RAM disk was done at 2,633,239,552 bytes / 2.27 s = 1106 MB/s, no idea why so slow, one ninth of MAX throughput (10036 MB/s at Q1T1).
Note2: BSC inhere compresses with 116% (out of 1600% = 8cores x 2threads x 100%) utilization.
Note3: Corpus is downloadable at: www.sanmayce.com/Nakamichi/NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms.tar.zst
Note4: The tarred file was made as follows:
```
Enter NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms.tar (2,633,239,552 bytes, sha1: 68bf519f85c340fef889dca7a03b9c752bcff52e) corpus...

Downloaded (non-broken only submissions), decompressed and tarred from:
https://web.archive.org/web/20170404095802/http://csrc.nist.gov/groups/ST/hash/sha-3/Round1/submissions_rnd1.html
https://web.archive.org/web/20170211075400/http://csrc.nist.gov/groups/ST/hash/sha-3/Round2/submissions_rnd2.html
https://web.archive.org/web/20170211075442/http://csrc.nist.gov/groups/ST/hash/sha-3/Round3/submissions_rnd3.html

E:\NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms>dir/og/on

08/01/2021  11:11 AM        18,161,588 ARIRANG.zip
08/01/2021  11:09 AM        16,701,797 ARIRANGUpdate.zip
08/01/2021  11:11 AM        12,060,130 AURORA.zip
08/01/2021  11:09 AM           925,683 AURORAUpdate.zip
08/01/2021  11:11 AM         9,165,920 BLAKE.zip
08/01/2021  11:22 AM         9,230,708 Blake_FinalRnd.zip
08/01/2021  11:31 AM         9,151,707 BLAKE_Round2.zip
08/01/2021  11:09 AM           334,156 BLAKEUpdate.zip
08/01/2021  11:45 AM       171,773,034 Blender.zip
08/01/2021  11:38 AM         3,577,878 BlenderUpdate.zip
08/01/2021  11:47 AM        18,552,904 Blue_Midnight_Wish.zip
08/01/2021  11:31 AM        11,855,002 Blue_Midnight_Wish_Round2.zip
08/01/2021  11:42 AM         9,082,308 Cheetah.zip
08/01/2021  11:41 AM         7,719,441 CHI.zip
08/01/2021  11:43 AM         9,383,606 CHIUpdate.zip
08/01/2021  11:24 AM         8,835,320 CODE_KAT_SHAvite.zip
08/01/2021  11:49 AM        18,693,317 CRUNCH.zip
08/01/2021  11:47 AM        14,088,156 CRUNCHUpdate.zip
08/01/2021  11:31 AM        52,922,647 CubeHash_Round2.zip
08/01/2021  11:47 AM        12,762,072 DyamicSHA.zip
08/01/2021  11:47 AM        14,439,457 DynamicSHA_2.zip
08/01/2021  11:12 AM         7,883,769 ECHO.zip
08/01/2021  11:29 AM         7,883,769 ECHO_Round2.zip
08/01/2021  11:47 AM        10,332,901 ECOH.zip
08/01/2021  11:43 AM            21,650 ECOHUpdate.zip
08/01/2021  11:46 AM         9,261,075 EDON-R.zip
08/01/2021  11:45 AM         9,261,158 Edon-RUpdate.zip
08/01/2021  11:46 AM         9,668,416 EnRUPT.zip
08/01/2021  12:06 PM        32,397,687 ESSENCE.zip
08/01/2021  12:05 PM           463,486 ESSENCEUpdate.zip
08/01/2021  12:07 PM        43,688,337 FSB.zip
08/01/2021  12:07 PM         7,783,453 Fugue.zip
08/01/2021  11:28 AM         7,973,732 Fugue_Round2.zip
08/01/2021  11:28 AM         8,052,093 Fugue_Round2_Update.zip
08/01/2021  12:07 PM           562,993 FugueUpdate.zip
08/01/2021  11:22 AM         8,315,427 Groestl_FinalRnd.zip
08/01/2021  11:13 AM         7,760,695 Grostl.zip
08/01/2021  11:27 AM         7,909,255 Grostl_Round2.zip
08/01/2021  12:08 PM         9,404,836 Hamsi.zip
08/01/2021  11:27 AM         9,974,951 Hamsi_Round2.zip
08/01/2021  12:08 PM         9,428,740 HamsiUpdate.zip
08/01/2021  12:09 PM         7,574,263 JH.zip
08/01/2021  11:22 AM         7,671,327 JH_FinalRnd.zip
08/01/2021  11:27 AM         7,632,559 JH_Round2.zip
08/01/2021  12:09 PM         7,650,968 JHUpdate.zip
08/01/2021  11:13 AM        14,769,426 Keccak.zip
08/01/2021  11:21 AM        24,436,396 Keccak_FinalRnd.zip
08/01/2021  11:27 AM        17,145,139 Keccak_Round2.zip
08/01/2021  11:14 AM        13,336,977 LANE.zip
08/01/2021  12:10 PM           474,498 LaneUpdate.zip
08/01/2021  11:15 AM        12,836,284 Lesamnta.zip
08/01/2021  11:15 AM           599,171 LesamntaUpdate.zip
08/01/2021  11:15 AM        12,800,490 Luffa.zip
08/01/2021  11:26 AM        13,122,388 Luffa_Round2.zip
08/01/2021  11:24 AM           161,658 Luffa_Round2_Update.zip
08/01/2021  11:15 AM           198,361 LuffaUpdate.zip
08/01/2021  12:11 PM         9,077,568 LUX.zip
08/01/2021  12:12 PM        36,876,467 MCSSHA3.zip
08/01/2021  12:16 PM        12,981,614 MD6.zip
08/01/2021  12:13 PM        25,885,301 MD6Update.zip
08/01/2021  12:14 PM        13,592,033 NaSHA.zip
08/01/2021  12:13 PM         7,185,016 NaSHAUpdate.zip
08/01/2021  12:14 PM        14,844,124 SANDstorm.zip
08/01/2021  12:14 PM           146,582 SANDstormUpdate.zip
08/01/2021  12:15 PM        17,049,181 Sarmal.zip
08/01/2021  12:16 PM        18,963,923 sgail.zip
08/01/2021  12:16 PM         9,128,375 Shabal.zip
08/01/2021  11:24 AM         9,128,375 Shabal_Round2.zip
08/01/2021  11:16 AM         9,432,918 SHAvite-3.zip
08/01/2021  11:23 AM         9,447,021 SHAvite-3_Round2.zip
08/01/2021  11:17 AM         9,291,895 SHAvite3Update.zip
08/01/2021  12:17 PM        12,111,984 SIMD.zip
08/01/2021  11:23 AM         8,009,636 SIMD_Round2.zip
08/01/2021  12:17 PM         7,759,455 SIMDUpdate.zip
08/01/2021  11:17 AM        14,033,090 Skein.zip
08/01/2021  11:20 AM        10,290,482 Skein_FinalRnd.zip
08/01/2021  11:23 AM        12,300,324 Skein_Round2.zip
08/01/2021  11:18 AM        14,010,175 SkeinUpdate.zip
08/01/2021  12:18 PM         9,088,962 Spectral_Hash.zip
08/01/2021  10:43 AM        15,268,939 SWIFFTX.zip
08/01/2021  10:44 AM        14,142,604 TIB3.zip
08/01/2021  10:42 AM         9,634,048 Twister.zip
08/01/2021  12:21 PM        59,244,395 Vortex.zip
08/01/2021  10:44 AM        59,251,920 VortexUpdate.zip
              84 File(s)  1,226,031,566 bytes

E:\NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms>

Having decompressed each file in its own folder:

E:\NIST_SHA-3_Competition_First-Second-Third_Rounds_Candidate_Algorithms>dir/s
...
     Total Files Listed:
            6122 File(s)  2,621,201,681 bytes
            2807 Dir(s)  
```

This corpus is instrumental in finding whether a certain compressor uses deduplication - the 2GB overflow also adds to that.

Yann, maybe you can come up with some more robust (collisionwise) 128bit hash - using AES! The one I love, at the moment, is DoubleDeuceAES due to its simplicity and superfastness (AFAIK, the fastest), look how GCC autovectorized the interleaving (thought I had to do it manually) and how clean the "verses" are, the poetry in action:

Using the superb https://godbolt.org:
https://twitter.com/Sanmayce/status/1423023600458665992


```
/*
#include <stdlib.h>
#include <stdint.h> // uint64_t needed
#include <string.h> // memset
#include <smmintrin.h> // SSE4.1 intrinsics
#include <wmmintrin.h>
void SlowCopy128bit (const char *SOURCE, char *TARGET) { _mm_storeu_si128((__m128i *)(TARGET), _mm_loadu_si128((const __m128i *)(SOURCE))); }
unsigned char DDAES[16];
void DoubleDeuceAES(const uint8_t *buffer, const size_t length) {
	uint32_t i;
	char MaxTo64a[64], MaxTo64b[64], MaxTo64c[64], MaxTo64d[64];
    __m128i hashA = _mm_set_epi64x(0x6c62272e07bb0142, 0x62b821756295c58d); // 0x6c62272e07bb014262b821756295c58d // _mm_setzero_si128();
    __m128i hashB = _mm_set_epi64x(0xdd268dbcaac55036, 0x2d98c384c4e576cc); // 0xdd268dbcaac550362d98c384c4e576ccc8b1536847b6bbb31023b4c8caee0535 // FNV offset basis
    __m128i hashC = _mm_set_epi64x(0xc8b1536847b6bbb3, 0x1023b4c8caee0535); // 0xdd268dbcaac550362d98c384c4e576ccc8b1536847b6bbb31023b4c8caee0535 // FNV offset basis
    __m128i hashD = _mm_setzero_si128();
    const __m128i *ptr128a, *ptr128b, *ptr128c, *ptr128d;
	memset(MaxTo64a,0x33,4*(128/8)); // padding the keys to be multiples of 128, up to 64 bytes
	memset(MaxTo64b,0x77,4*(128/8)); // padding the keys to be multiples of 128, up to 64 bytes
	for (i = 0; i < length; i++) {
		MaxTo64a[i]=buffer[i];
        MaxTo64b[63-i]=buffer[i]; // MaxTo64b[63-i]=MaxTo64a[i];
	}
	for (i = 0; i < (64>>1)/1; i++) { // 64/2/BYTE=31 i.e 0..31
		MaxTo64c[(i<<1)+0]=MaxTo64a[i+0]; // a: 00,32 / 01,33 / ...31,63
		MaxTo64c[(i<<1)+1]=MaxTo64a[i+32]; // c: 0*2+0,0*2+1 / 1*2+0,1*2+1 / 2*2+0,2*2+1 which is 0,1 / 2,3 / 4,5
		MaxTo64d[(i<<1)+0]=MaxTo64b[i+0]; 
		MaxTo64d[(i<<1)+1]=MaxTo64b[i+32]; 
	}
	ptr128a=(__m128i *)MaxTo64a;
	ptr128b=(__m128i *)MaxTo64b;
	ptr128c=(__m128i *)MaxTo64c;
	ptr128d=(__m128i *)MaxTo64d;
            for (i = 0; i < 64 / 16; i++) {
                __m128i a = _mm_loadu_si128(ptr128a++);
                __m128i b = _mm_loadu_si128(ptr128b++);
                __m128i c = _mm_loadu_si128(ptr128c++);
                __m128i d = _mm_loadu_si128(ptr128d++);
                hashA = _mm_aesenc_si128(hashA, a);
                hashB = _mm_aesenc_si128(hashB, b);
                hashC = _mm_aesenc_si128(hashC, c);
                hashD = _mm_aesenc_si128(hashD, d);
            }
	hashA = _mm_aesenc_si128(hashA, hashB);
	hashA = _mm_aesenc_si128(hashA, hashC);
	hashA = _mm_aesenc_si128(hashA, hashD);
	SlowCopy128bit( (const char *)(&hashA), (char *)&DDAES[0]);
}
*/
```

ASM counterpart of above snippet for: x86-64 gcc 10.1 and -O3 -msse4.1 -maes:
```
/*
SlowCopy128bit(char const*, char*):
        movdqu  xmm0, XMMWORD PTR [rdi]
        movups  XMMWORD PTR [rsi], xmm0
        ret
DoubleDeuceAES(unsigned char const*, unsigned long):
        sub     rsp, 16
        movdqa  xmm0, XMMWORD PTR .LC3[rip]
        movaps  XMMWORD PTR [rsp-120], xmm0
        movaps  XMMWORD PTR [rsp-104], xmm0
        movaps  XMMWORD PTR [rsp-88], xmm0
        movaps  XMMWORD PTR [rsp-72], xmm0
        movdqa  xmm0, XMMWORD PTR .LC4[rip]
        movaps  XMMWORD PTR [rsp-56], xmm0
        movaps  XMMWORD PTR [rsp-40], xmm0
        movaps  XMMWORD PTR [rsp-24], xmm0
        movaps  XMMWORD PTR [rsp-8], xmm0
        test    rsi, rsi
        je      .L4
        xor     eax, eax
        mov     r8d, 63
.L5:
        movzx   edx, BYTE PTR [rdi+rax]
        mov     ecx, r8d
        sub     ecx, eax
        mov     BYTE PTR [rsp-120+rax], dl
        add     rax, 1
        mov     BYTE PTR [rsp-56+rcx], dl
        cmp     rsi, rax
        jne     .L5
.L4:
        movdqa  xmm9, XMMWORD PTR [rsp-120]
        movdqa  xmm11, XMMWORD PTR [rsp-88]
        movdqa  xmm8, XMMWORD PTR [rsp-56]
        movdqa  xmm10, XMMWORD PTR [rsp-24]
        movdqa  xmm2, XMMWORD PTR .LC2[rip]
        movdqa  xmm1, xmm9
        movdqa  xmm3, XMMWORD PTR .LC1[rip]
        punpcklbw       xmm1, xmm11
        movdqa  xmm12, xmm8
        movdqa  xmm5, XMMWORD PTR [rsp-104]
        movdqa  xmm0, XMMWORD PTR .LC0[rip]
        aesenc  xmm2, xmm1
        punpcklbw       xmm12, xmm10
        pxor    xmm1, xmm1
        movdqa  xmm7, XMMWORD PTR [rsp-72]
        movdqa  xmm4, XMMWORD PTR [rsp-40]
        aesenc  xmm3, xmm8
        aesenc  xmm1, xmm12
        punpckhbw       xmm8, xmm10
        aesenc  xmm0, xmm9
        aesenc  xmm1, xmm8
        punpckhbw       xmm9, xmm11
        movdqa  xmm6, XMMWORD PTR [rsp-8]
        movdqa  xmm8, xmm5
        aesenc  xmm0, xmm5
        punpckhbw       xmm5, xmm7
        aesenc  xmm3, xmm4
        punpcklbw       xmm8, xmm7
        aesenc  xmm2, xmm9
        aesenc  xmm2, xmm8
        aesenc  xmm0, xmm11
        movdqa  xmm8, xmm4
        aesenc  xmm3, xmm10
        punpcklbw       xmm8, xmm6
        aesenc  xmm0, xmm7
        aesenc  xmm3, xmm6
        aesenc  xmm1, xmm8
        aesenc  xmm2, xmm5
        punpckhbw       xmm4, xmm6
        aesenc  xmm0, xmm3
        aesenc  xmm1, xmm4
        aesenc  xmm0, xmm2
        aesenc  xmm0, xmm1
        movaps  XMMWORD PTR DDAES[rip], xmm0
        add     rsp, 16
        ret
DDAES:
        .zero   16
.LC0:
        .quad   7113472399480571277
        .quad   7809847782465536322
.LC1:
        .quad   3285590903173248716
        .quad   -2511163900754046922
.LC2:
        .quad   1162971903282775349
        .quad   -3985312487901316173
.LC3:
        .quad   3689348814741910323
        .quad   3689348814741910323
.LC4:
        .quad   8608480567731124087
        .quad   8608480567731124087
*/
```
