Difference between revisions of "Compression"

From sigrok
Jump to navigation Jump to search
Line 106: Line 106:
  $ '''unzip dcf77_1800s.sr; ls -l logic-1''' # 1800000000 bytes
  $ '''unzip dcf77_1800s.sr; ls -l logic-1''' # 1800000000 bytes
  $ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
  $ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
 
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  3950 MB/s  3406 MB/s  1800000000 100.00 logic-1
libdeflate 0.7 -9          37 MB/s  3598 MB/s    1834228  0.10 logic-1
libdeflate 0.7 -6        280 MB/s  3579 MB/s    1834219  0.10 logic-1
libdeflate 0.7 -1        278 MB/s  3629 MB/s    1835503  0.10 logic-1
lz4 1.8.0                5501 MB/s  2446 MB/s    7078762  0.39 logic-1
lz4fast 1.8.0 -9        5497 MB/s  2427 MB/s    7078762  0.39 logic-1
lz4fast 1.8.0 -6        5500 MB/s  2427 MB/s    7078762  0.39 logic-1
lz4fast 1.8.0 -1        5477 MB/s  2431 MB/s    7078762  0.39 logic-1
zstd 1.3.3 -22            88 MB/s  2714 MB/s      176064  0.01 logic-1
zstd 1.3.3 -9            609 MB/s  2681 MB/s      171800  0.01 logic-1
zstd 1.3.3 -6            1003 MB/s  2691 MB/s      171800  0.01 logic-1
zstd 1.3.3 -1            5182 MB/s  2480 MB/s      181782  0.01 logic-1
zstd 1.3.3 --1          5221 MB/s  2466 MB/s      181782  0.01 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
</small>


Line 114: Line 129:
  $ '''unzip voltcraft_vc940_multiple_modes.sr; cat logic-1-* >> all.dd''' # 77332480 bytes
  $ '''unzip voltcraft_vc940_multiple_modes.sr; cat logic-1-* >> all.dd''' # 77332480 bytes
  $ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all.dd'''
  $ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all.dd'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4115 MB/s  2026 MB/s    77332480 100.00 all.dd
libdeflate 0.7 -9          37 MB/s  903 MB/s      129536  0.17 all.dd
libdeflate 0.7 -6        297 MB/s  905 MB/s      119007  0.15 all.dd
libdeflate 0.7 -1        292 MB/s  885 MB/s      144513  0.19 all.dd
lz4 1.8.0                5412 MB/s  2822 MB/s      383852  0.50 all.dd
lz4fast 1.8.0 -9        5448 MB/s  2822 MB/s      385484  0.50 all.dd
lz4fast 1.8.0 -6        5410 MB/s  2814 MB/s      392402  0.51 all.dd
lz4fast 1.8.0 -1        5456 MB/s  2781 MB/s      383852  0.50 all.dd
zstd 1.3.3 -22            40 MB/s  2968 MB/s      33746  0.04 all.dd
zstd 1.3.3 -9            526 MB/s  2841 MB/s      53791  0.07 all.dd
zstd 1.3.3 -6            769 MB/s  2744 MB/s      55157  0.07 all.dd
zstd 1.3.3 -1            4629 MB/s  2634 MB/s      59539  0.08 all.dd
zstd 1.3.3 --1          4646 MB/s  2665 MB/s      59820  0.08 all.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== 1mhz_clock_1channels.sr ===
<small>
$ '''unzip 1mhz_clock_1channels.sr; ls -l logic-1''' # 12000000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4181 MB/s  4092 MB/s    12000000 100.00 logic-1
libdeflate 0.7 -9          26 MB/s  1114 MB/s      49683  0.41 logic-1
libdeflate 0.7 -6        262 MB/s  1099 MB/s      45359  0.38 logic-1
libdeflate 0.7 -1        303 MB/s  1053 MB/s      59641  0.50 logic-1
lz4 1.8.0                4810 MB/s  1320 MB/s      123130  1.03 logic-1
lz4fast 1.8.0 -9        4798 MB/s  1320 MB/s      123153  1.03 logic-1
lz4fast 1.8.0 -6        4822 MB/s  1321 MB/s      123128  1.03 logic-1
lz4fast 1.8.0 -1        4794 MB/s  1319 MB/s      123130  1.03 logic-1
zstd 1.3.3 -22            15 MB/s  3455 MB/s      24274  0.20 logic-1
zstd 1.3.3 -9            333 MB/s  1077 MB/s      26819  0.22 logic-1
zstd 1.3.3 -6            402 MB/s  1054 MB/s      23712  0.20 logic-1
zstd 1.3.3 -1            3249 MB/s  936 MB/s      21864  0.18 logic-1
zstd 1.3.3 --1          3129 MB/s  959 MB/s      21864  0.18 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== 1mhz_clock_8channels.sr ===
<small>
$ '''unzip 1mhz_clock_8channels.sr; ls -l logic-1''' # 12032000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4207 MB/s  4221 MB/s    12032000 100.00 logic-1
libdeflate 0.7 -9          25 MB/s  1109 MB/s      49766  0.41 logic-1
libdeflate 0.7 -6        297 MB/s  1090 MB/s      45485  0.38 logic-1
libdeflate 0.7 -1        303 MB/s  1046 MB/s      59739  0.50 logic-1
lz4 1.8.0                4898 MB/s  1350 MB/s      123499  1.03 logic-1
lz4fast 1.8.0 -9        4855 MB/s  1349 MB/s      123519  1.03 logic-1
lz4fast 1.8.0 -6        4838 MB/s  1350 MB/s      123494  1.03 logic-1
lz4fast 1.8.0 -1        4929 MB/s  1349 MB/s      123499  1.03 logic-1
zstd 1.3.3 -22            14 MB/s  3366 MB/s      23990  0.20 logic-1
zstd 1.3.3 -9            325 MB/s  1065 MB/s      26808  0.22 logic-1
zstd 1.3.3 -6            398 MB/s  1053 MB/s      23651  0.20 logic-1
zstd 1.3.3 -1            3248 MB/s  957 MB/s      19589  0.16 logic-1
zstd 1.3.3 --1          3140 MB/s  953 MB/s      19589  0.16 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== 1mhz_clock_16channels.sr ===
<small>
$ '''unzip 1mhz_clock_16channels.sr; ls -l logic-1''' # 24064000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4364 MB/s  4390 MB/s    24064000 100.00 logic-1
libdeflate 0.7 -9          18 MB/s  3633 MB/s      91248  0.38 logic-1
libdeflate 0.7 -6        295 MB/s  3696 MB/s      84348  0.35 logic-1
libdeflate 0.7 -1        132 MB/s  423 MB/s    2020118  8.39 logic-1
lz4 1.8.0                5275 MB/s  3825 MB/s      203557  0.85 logic-1
lz4fast 1.8.0 -9        5124 MB/s  3825 MB/s      203557  0.85 logic-1
lz4fast 1.8.0 -6        5278 MB/s  3894 MB/s      203557  0.85 logic-1
lz4fast 1.8.0 -1        5695 MB/s  3873 MB/s      203557  0.85 logic-1
zstd 1.3.3 -22            32 MB/s  3380 MB/s      30202  0.13 logic-1
zstd 1.3.3 -9            396 MB/s  3704 MB/s      36192  0.15 logic-1
zstd 1.3.3 -6            505 MB/s  3677 MB/s      34735  0.14 logic-1
zstd 1.3.3 -1            2914 MB/s  2652 MB/s      47498  0.20 logic-1
zstd 1.3.3 --1          2818 MB/s  2693 MB/s      43389  0.18 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== lpc_vultureprog.sr ===
<small>
$ '''unzip lpc_vultureprog.sr; ls -l logic-1''' # 23552000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4363 MB/s  4432 MB/s    23552000 100.00 logic-1
libdeflate 0.7 -9          24 MB/s  3381 MB/s      240235  1.02 logic-1
libdeflate 0.7 -6        256 MB/s  3393 MB/s      227781  0.97 logic-1
libdeflate 0.7 -1        263 MB/s  2310 MB/s      552669  2.35 logic-1
lz4 1.8.0                3223 MB/s  2555 MB/s      660503  2.80 logic-1
lz4fast 1.8.0 -9        3291 MB/s  2535 MB/s      647529  2.75 logic-1
lz4fast 1.8.0 -6        3281 MB/s  2542 MB/s      646091  2.74 logic-1
lz4fast 1.8.0 -1        3121 MB/s  2486 MB/s      660503  2.80 logic-1
zstd 1.3.3 -22            16 MB/s  2626 MB/s      59609  0.25 logic-1
zstd 1.3.3 -9            403 MB/s  2749 MB/s      95312  0.40 logic-1
zstd 1.3.3 -6            585 MB/s  2596 MB/s      122625  0.52 logic-1
zstd 1.3.3 -1            2600 MB/s  2441 MB/s      170792  0.73 logic-1
zstd 1.3.3 --1          2174 MB/s  2354 MB/s      164431  0.70 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== mx25l1605d_read.sr ===
<small>
$ '''unzip mx25l1605d_read.sr; ls -l logic-1''' # 8388608 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4384 MB/s  4540 MB/s    8388608 100.00 logic-1
libdeflate 0.7 -9          27 MB/s  3395 MB/s      61433  0.73 logic-1
libdeflate 0.7 -6        270 MB/s  3441 MB/s      64317  0.77 logic-1
libdeflate 0.7 -1        258 MB/s  2228 MB/s      188381  2.25 logic-1
lz4 1.8.0                3828 MB/s  2655 MB/s      195039  2.33 logic-1
lz4fast 1.8.0 -9        3763 MB/s  2665 MB/s      199313  2.38 logic-1
lz4fast 1.8.0 -6        3825 MB/s  2639 MB/s      196225  2.34 logic-1
lz4fast 1.8.0 -1        3805 MB/s  2648 MB/s      195039  2.33 logic-1
zstd 1.3.3 -22            14 MB/s  2789 MB/s      11169  0.13 logic-1
zstd 1.3.3 -9            354 MB/s  2539 MB/s      29976  0.36 logic-1
zstd 1.3.3 -6            445 MB/s  2424 MB/s      41797  0.50 logic-1
zstd 1.3.3 -1            3030 MB/s  2435 MB/s      44133  0.53 logic-1
zstd 1.3.3 --1          2828 MB/s  2482 MB/s      38700  0.46 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== sainsmart_dds120_powerup_scl_sda_analog.sr, 1 analog channel ===


<small>
$ '''unzip sainsmart_dds120_powerup_scl_sda_analog.sr; cat analog-1-1-* > all_ch1.dd''' # 200000000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all_ch1.dd'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4034 MB/s  4011 MB/s  200000000 100.00 all_ch1.dd
libdeflate 0.7 -9          13 MB/s  1230 MB/s    8494341  4.25 all_ch1.dd
libdeflate 0.7 -6          92 MB/s  1386 MB/s    8901864  4.45 all_ch1.dd
libdeflate 0.7 -1        195 MB/s  689 MB/s    11426059  5.71 all_ch1.dd
lz4 1.8.0                1045 MB/s  1505 MB/s    28803992  14.40 all_ch1.dd
lz4fast 1.8.0 -9        1051 MB/s  1469 MB/s    28978585  14.49 all_ch1.dd
lz4fast 1.8.0 -6        1043 MB/s  1470 MB/s    28873753  14.44 all_ch1.dd
lz4fast 1.8.0 -1        1050 MB/s  1506 MB/s    28803992  14.40 all_ch1.dd
zstd 1.3.3 -22          1.47 MB/s  1670 MB/s    6282310  3.14 all_ch1.dd
zstd 1.3.3 -9              86 MB/s  844 MB/s    9178284  4.59 all_ch1.dd
zstd 1.3.3 -6            141 MB/s  777 MB/s    9587374  4.79 all_ch1.dd
zstd 1.3.3 -1            426 MB/s  633 MB/s    11106610  5.55 all_ch1.dd
zstd 1.3.3 --1            409 MB/s  639 MB/s    11095196  5.55 all_ch1.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
=== sainsmart_dds120_powerup_scl_sda_analog.sr, 2 analog channels ===
<small>
$ '''unzip sainsmart_dds120_powerup_scl_sda_analog.sr; cat analog-1-* > all_ch12.dd''' # 400000000 bytes
$ '''./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all_ch12.dd'''
lzbench 1.7.3 (64-bit Linux)  Assembled by P.Skibinski
Compressor name        Compress. Decompress. Compr. size  Ratio Filename
memcpy                  4011 MB/s  4021 MB/s  400000000 100.00 all_ch12.dd
libdeflate 0.7 -9          16 MB/s  1118 MB/s    11169794  2.79 all_ch12.dd
libdeflate 0.7 -6        121 MB/s  1189 MB/s    11690852  2.92 all_ch12.dd
libdeflate 0.7 -1        218 MB/s  767 MB/s    14643158  3.66 all_ch12.dd
lz4 1.8.0                1449 MB/s  1883 MB/s    36580151  9.15 all_ch12.dd
lz4fast 1.8.0 -9        1450 MB/s  1865 MB/s    36854916  9.21 all_ch12.dd
lz4fast 1.8.0 -6        1461 MB/s  1875 MB/s    36692554  9.17 all_ch12.dd
lz4fast 1.8.0 -1        1449 MB/s  1889 MB/s    36580151  9.15 all_ch12.dd
zstd 1.3.3 -22          2.16 MB/s  1948 MB/s    8327371  2.08 all_ch12.dd
zstd 1.3.3 -9            117 MB/s  1181 MB/s    11854470  2.96 all_ch12.dd
zstd 1.3.3 -6            186 MB/s  1099 MB/s    12376509  3.09 all_ch12.dd
zstd 1.3.3 -1            655 MB/s  927 MB/s    14313847  3.58 all_ch12.dd
zstd 1.3.3 --1            616 MB/s  925 MB/s    14293042  3.57 all_ch12.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)
</small>
</small>

Revision as of 18:46, 21 April 2018

Comparison

All tests were performed using lzbench 1.7.3 (64-bit Linux), default compile options, gcc 7.3.0.

All lzbench runs were performed twice in a row, the second run is recorded here. Only 1 core is used by all algorithms in this test set (though some of them are multi-threading capable).

Hardware: Laptop, AMD A10-8700P (4 cores, 1.8MHz); all 4 cores set to "performance" cpufreq governor; 8GB RAM

All results should be taken with a grain of salt, this is not a very scientific setup; speeds can vary quite a bit with each run as well, and the results can depend on quite a lot of things and will vary for other systems, other data, etc. etc.

100MB /dev/zero

$ dd if=/dev/zero of=devzero_100mb.dd bs=1M count=100 # 104857600 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 devzero_100mb.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   3489 MB/s  3417 MB/s   104857600 100.00 devzero_100mb.dd
libdeflate 0.7 -9          37 MB/s  3695 MB/s      105985   0.10 devzero_100mb.dd
libdeflate 0.7 -6         285 MB/s  3744 MB/s      105985   0.10 devzero_100mb.dd
libdeflate 0.7 -1         286 MB/s  3744 MB/s      105985   0.10 devzero_100mb.dd
lz4 1.8.0                5019 MB/s  2605 MB/s      411217   0.39 devzero_100mb.dd
lz4fast 1.8.0 -9         4876 MB/s  2609 MB/s      411217   0.39 devzero_100mb.dd
lz4fast 1.8.0 -6         4978 MB/s  2742 MB/s      411217   0.39 devzero_100mb.dd
lz4fast 1.8.0 -1         4989 MB/s  2637 MB/s      411217   0.39 devzero_100mb.dd
zstd 1.3.3 -22           2644 MB/s  2802 MB/s        8810   0.01 devzero_100mb.dd
zstd 1.3.3 -9             739 MB/s  2931 MB/s        8812   0.01 devzero_100mb.dd
zstd 1.3.3 -6            1342 MB/s  2934 MB/s        8812   0.01 devzero_100mb.dd
zstd 1.3.3 -1            4475 MB/s  2504 MB/s        9611   0.01 devzero_100mb.dd
zstd 1.3.3 --1           4738 MB/s  2637 MB/s        9611   0.01 devzero_100mb.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

100MB /dev/urandom

$ dd if=/dev/urandom of=devurandom_100mb.dd bs=1M count=100 # 104857600 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 devurandom_100mb.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   3425 MB/s  3443 MB/s   104857600 100.00 devurandom_100mb.dd
libdeflate 0.7 -9          23 MB/s  2143 MB/s   104866340 100.01 devurandom_100mb.dd
libdeflate 0.7 -6          53 MB/s  2144 MB/s   104866340 100.01 devurandom_100mb.dd
libdeflate 0.7 -1          54 MB/s  2134 MB/s   104866340 100.01 devurandom_100mb.dd
lz4 1.8.0                2937 MB/s  3160 MB/s   105268808 100.39 devurandom_100mb.dd
lz4fast 1.8.0 -9         2933 MB/s  3169 MB/s   105268808 100.39 devurandom_100mb.dd
lz4fast 1.8.0 -6         2942 MB/s  3145 MB/s   105268808 100.39 devurandom_100mb.dd
lz4fast 1.8.0 -1         2940 MB/s  3138 MB/s   105268808 100.39 devurandom_100mb.dd
zstd 1.3.3 -22           1.87 MB/s  1737 MB/s   104860009 100.00 devurandom_100mb.dd
zstd 1.3.3 -9              40 MB/s  1722 MB/s   104860010 100.00 devurandom_100mb.dd
zstd 1.3.3 -6              48 MB/s  1721 MB/s   104860010 100.00 devurandom_100mb.dd
zstd 1.3.3 -1             730 MB/s  1673 MB/s   104860010 100.00 devurandom_100mb.dd
zstd 1.3.3 --1            531 MB/s  1719 MB/s   104860010 100.00 devurandom_100mb.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

1000MB /dev/zero

$ dd if=/dev/zero of=devzero_1000mb.dd bs=1M count=1000 # 1048576000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 devzero_1000mb.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   3073 MB/s  2969 MB/s  1048576000 100.00 devzero_1000mb.dd
libdeflate 0.7 -9          36 MB/s  3390 MB/s     1059753   0.10 devzero_1000mb.dd
libdeflate 0.7 -6         272 MB/s  3421 MB/s     1059753   0.10 devzero_1000mb.dd
libdeflate 0.7 -1         262 MB/s  3583 MB/s     1059753   0.10 devzero_1000mb.dd
lz4 1.8.0                4567 MB/s  2249 MB/s     4112073   0.39 devzero_1000mb.dd
lz4fast 1.8.0 -9         4344 MB/s  2355 MB/s     4112073   0.39 devzero_1000mb.dd
lz4fast 1.8.0 -6         4399 MB/s  2338 MB/s     4112073   0.39 devzero_1000mb.dd
lz4fast 1.8.0 -1         4478 MB/s  2027 MB/s     4112073   0.39 devzero_1000mb.dd
zstd 1.3.3 -22           1636 MB/s  2452 MB/s       88011   0.01 devzero_1000mb.dd
zstd 1.3.3 -9             647 MB/s  2635 MB/s       88012   0.01 devzero_1000mb.dd
zstd 1.3.3 -6            1128 MB/s  3076 MB/s       88012   0.01 devzero_1000mb.dd
zstd 1.3.3 -1            4388 MB/s  2534 MB/s       96011   0.01 devzero_1000mb.dd
zstd 1.3.3 --1           4594 MB/s  2479 MB/s       96011   0.01 devzero_1000mb.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

1000MB /dev/urandom

$ dd if=/dev/urandom of=devurandom_1000mb.dd bs=1M count=1000 # 1048576000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 devurandom_1000mb.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   2525 MB/s  3364 MB/s  1048576000 100.00 devurandom_1000mb.dd
libdeflate 0.7 -9          22 MB/s  2043 MB/s  1048663385 100.01 devurandom_1000mb.dd
libdeflate 0.7 -6          51 MB/s  2109 MB/s  1048663385 100.01 devurandom_1000mb.dd
libdeflate 0.7 -1          52 MB/s  2053 MB/s  1048663385 100.01 devurandom_1000mb.dd
lz4 1.8.0                3222 MB/s  3176 MB/s  1052688064 100.39 devurandom_1000mb.dd
lz4fast 1.8.0 -9         3293 MB/s  3265 MB/s  1052688064 100.39 devurandom_1000mb.dd
lz4fast 1.8.0 -6         3362 MB/s  3276 MB/s  1052688064 100.39 devurandom_1000mb.dd
lz4fast 1.8.0 -1         3292 MB/s  3251 MB/s  1052688064 100.39 devurandom_1000mb.dd
zstd 1.3.3 -22           1.32 MB/s  1728 MB/s  1048600010 100.00 devurandom_1000mb.dd
zstd 1.3.3 -9              42 MB/s  1779 MB/s  1048600010 100.00 devurandom_1000mb.dd
zstd 1.3.3 -6              50 MB/s  1705 MB/s  1048600010 100.00 devurandom_1000mb.dd
zstd 1.3.3 -1             719 MB/s  1663 MB/s  1048600010 100.00 devurandom_1000mb.dd
zstd 1.3.3 --1            531 MB/s  1722 MB/s  1048600010 100.00 devurandom_1000mb.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

dcf77_1800s.sr

$ unzip dcf77_1800s.sr; ls -l logic-1 # 1800000000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   3950 MB/s  3406 MB/s  1800000000 100.00 logic-1
libdeflate 0.7 -9          37 MB/s  3598 MB/s     1834228   0.10 logic-1
libdeflate 0.7 -6         280 MB/s  3579 MB/s     1834219   0.10 logic-1
libdeflate 0.7 -1         278 MB/s  3629 MB/s     1835503   0.10 logic-1
lz4 1.8.0                5501 MB/s  2446 MB/s     7078762   0.39 logic-1
lz4fast 1.8.0 -9         5497 MB/s  2427 MB/s     7078762   0.39 logic-1
lz4fast 1.8.0 -6         5500 MB/s  2427 MB/s     7078762   0.39 logic-1
lz4fast 1.8.0 -1         5477 MB/s  2431 MB/s     7078762   0.39 logic-1
zstd 1.3.3 -22             88 MB/s  2714 MB/s      176064   0.01 logic-1
zstd 1.3.3 -9             609 MB/s  2681 MB/s      171800   0.01 logic-1
zstd 1.3.3 -6            1003 MB/s  2691 MB/s      171800   0.01 logic-1
zstd 1.3.3 -1            5182 MB/s  2480 MB/s      181782   0.01 logic-1
zstd 1.3.3 --1           5221 MB/s  2466 MB/s      181782   0.01 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

voltcraft_vc940_multiple_modes.sr

$ unzip voltcraft_vc940_multiple_modes.sr; cat logic-1-* >> all.dd # 77332480 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4115 MB/s  2026 MB/s    77332480 100.00 all.dd
libdeflate 0.7 -9          37 MB/s   903 MB/s      129536   0.17 all.dd
libdeflate 0.7 -6         297 MB/s   905 MB/s      119007   0.15 all.dd
libdeflate 0.7 -1         292 MB/s   885 MB/s      144513   0.19 all.dd
lz4 1.8.0                5412 MB/s  2822 MB/s      383852   0.50 all.dd
lz4fast 1.8.0 -9         5448 MB/s  2822 MB/s      385484   0.50 all.dd
lz4fast 1.8.0 -6         5410 MB/s  2814 MB/s      392402   0.51 all.dd
lz4fast 1.8.0 -1         5456 MB/s  2781 MB/s      383852   0.50 all.dd
zstd 1.3.3 -22             40 MB/s  2968 MB/s       33746   0.04 all.dd
zstd 1.3.3 -9             526 MB/s  2841 MB/s       53791   0.07 all.dd
zstd 1.3.3 -6             769 MB/s  2744 MB/s       55157   0.07 all.dd
zstd 1.3.3 -1            4629 MB/s  2634 MB/s       59539   0.08 all.dd
zstd 1.3.3 --1           4646 MB/s  2665 MB/s       59820   0.08 all.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

1mhz_clock_1channels.sr

$ unzip 1mhz_clock_1channels.sr; ls -l logic-1 # 12000000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4181 MB/s  4092 MB/s    12000000 100.00 logic-1
libdeflate 0.7 -9          26 MB/s  1114 MB/s       49683   0.41 logic-1
libdeflate 0.7 -6         262 MB/s  1099 MB/s       45359   0.38 logic-1
libdeflate 0.7 -1         303 MB/s  1053 MB/s       59641   0.50 logic-1
lz4 1.8.0                4810 MB/s  1320 MB/s      123130   1.03 logic-1
lz4fast 1.8.0 -9         4798 MB/s  1320 MB/s      123153   1.03 logic-1
lz4fast 1.8.0 -6         4822 MB/s  1321 MB/s      123128   1.03 logic-1
lz4fast 1.8.0 -1         4794 MB/s  1319 MB/s      123130   1.03 logic-1
zstd 1.3.3 -22             15 MB/s  3455 MB/s       24274   0.20 logic-1
zstd 1.3.3 -9             333 MB/s  1077 MB/s       26819   0.22 logic-1
zstd 1.3.3 -6             402 MB/s  1054 MB/s       23712   0.20 logic-1
zstd 1.3.3 -1            3249 MB/s   936 MB/s       21864   0.18 logic-1
zstd 1.3.3 --1           3129 MB/s   959 MB/s       21864   0.18 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

1mhz_clock_8channels.sr

$ unzip 1mhz_clock_8channels.sr; ls -l logic-1 # 12032000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4207 MB/s  4221 MB/s    12032000 100.00 logic-1
libdeflate 0.7 -9          25 MB/s  1109 MB/s       49766   0.41 logic-1
libdeflate 0.7 -6         297 MB/s  1090 MB/s       45485   0.38 logic-1
libdeflate 0.7 -1         303 MB/s  1046 MB/s       59739   0.50 logic-1
lz4 1.8.0                4898 MB/s  1350 MB/s      123499   1.03 logic-1
lz4fast 1.8.0 -9         4855 MB/s  1349 MB/s      123519   1.03 logic-1
lz4fast 1.8.0 -6         4838 MB/s  1350 MB/s      123494   1.03 logic-1
lz4fast 1.8.0 -1         4929 MB/s  1349 MB/s      123499   1.03 logic-1
zstd 1.3.3 -22             14 MB/s  3366 MB/s       23990   0.20 logic-1
zstd 1.3.3 -9             325 MB/s  1065 MB/s       26808   0.22 logic-1
zstd 1.3.3 -6             398 MB/s  1053 MB/s       23651   0.20 logic-1
zstd 1.3.3 -1            3248 MB/s   957 MB/s       19589   0.16 logic-1
zstd 1.3.3 --1           3140 MB/s   953 MB/s       19589   0.16 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

1mhz_clock_16channels.sr

$ unzip 1mhz_clock_16channels.sr; ls -l logic-1 # 24064000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4364 MB/s  4390 MB/s    24064000 100.00 logic-1
libdeflate 0.7 -9          18 MB/s  3633 MB/s       91248   0.38 logic-1
libdeflate 0.7 -6         295 MB/s  3696 MB/s       84348   0.35 logic-1
libdeflate 0.7 -1         132 MB/s   423 MB/s     2020118   8.39 logic-1
lz4 1.8.0                5275 MB/s  3825 MB/s      203557   0.85 logic-1
lz4fast 1.8.0 -9         5124 MB/s  3825 MB/s      203557   0.85 logic-1
lz4fast 1.8.0 -6         5278 MB/s  3894 MB/s      203557   0.85 logic-1
lz4fast 1.8.0 -1         5695 MB/s  3873 MB/s      203557   0.85 logic-1
zstd 1.3.3 -22             32 MB/s  3380 MB/s       30202   0.13 logic-1
zstd 1.3.3 -9             396 MB/s  3704 MB/s       36192   0.15 logic-1
zstd 1.3.3 -6             505 MB/s  3677 MB/s       34735   0.14 logic-1
zstd 1.3.3 -1            2914 MB/s  2652 MB/s       47498   0.20 logic-1
zstd 1.3.3 --1           2818 MB/s  2693 MB/s       43389   0.18 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

lpc_vultureprog.sr

$ unzip lpc_vultureprog.sr; ls -l logic-1 # 23552000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4363 MB/s  4432 MB/s    23552000 100.00 logic-1
libdeflate 0.7 -9          24 MB/s  3381 MB/s      240235   1.02 logic-1
libdeflate 0.7 -6         256 MB/s  3393 MB/s      227781   0.97 logic-1
libdeflate 0.7 -1         263 MB/s  2310 MB/s      552669   2.35 logic-1
lz4 1.8.0                3223 MB/s  2555 MB/s      660503   2.80 logic-1
lz4fast 1.8.0 -9         3291 MB/s  2535 MB/s      647529   2.75 logic-1
lz4fast 1.8.0 -6         3281 MB/s  2542 MB/s      646091   2.74 logic-1
lz4fast 1.8.0 -1         3121 MB/s  2486 MB/s      660503   2.80 logic-1
zstd 1.3.3 -22             16 MB/s  2626 MB/s       59609   0.25 logic-1
zstd 1.3.3 -9             403 MB/s  2749 MB/s       95312   0.40 logic-1
zstd 1.3.3 -6             585 MB/s  2596 MB/s      122625   0.52 logic-1
zstd 1.3.3 -1            2600 MB/s  2441 MB/s      170792   0.73 logic-1
zstd 1.3.3 --1           2174 MB/s  2354 MB/s      164431   0.70 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

mx25l1605d_read.sr

$ unzip mx25l1605d_read.sr; ls -l logic-1 # 8388608 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 logic-1
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4384 MB/s  4540 MB/s     8388608 100.00 logic-1
libdeflate 0.7 -9          27 MB/s  3395 MB/s       61433   0.73 logic-1
libdeflate 0.7 -6         270 MB/s  3441 MB/s       64317   0.77 logic-1
libdeflate 0.7 -1         258 MB/s  2228 MB/s      188381   2.25 logic-1
lz4 1.8.0                3828 MB/s  2655 MB/s      195039   2.33 logic-1
lz4fast 1.8.0 -9         3763 MB/s  2665 MB/s      199313   2.38 logic-1
lz4fast 1.8.0 -6         3825 MB/s  2639 MB/s      196225   2.34 logic-1
lz4fast 1.8.0 -1         3805 MB/s  2648 MB/s      195039   2.33 logic-1
zstd 1.3.3 -22             14 MB/s  2789 MB/s       11169   0.13 logic-1
zstd 1.3.3 -9             354 MB/s  2539 MB/s       29976   0.36 logic-1
zstd 1.3.3 -6             445 MB/s  2424 MB/s       41797   0.50 logic-1
zstd 1.3.3 -1            3030 MB/s  2435 MB/s       44133   0.53 logic-1
zstd 1.3.3 --1           2828 MB/s  2482 MB/s       38700   0.46 logic-1
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

sainsmart_dds120_powerup_scl_sda_analog.sr, 1 analog channel

$ unzip sainsmart_dds120_powerup_scl_sda_analog.sr; cat analog-1-1-* > all_ch1.dd # 200000000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all_ch1.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4034 MB/s  4011 MB/s   200000000 100.00 all_ch1.dd
libdeflate 0.7 -9          13 MB/s  1230 MB/s     8494341   4.25 all_ch1.dd
libdeflate 0.7 -6          92 MB/s  1386 MB/s     8901864   4.45 all_ch1.dd
libdeflate 0.7 -1         195 MB/s   689 MB/s    11426059   5.71 all_ch1.dd
lz4 1.8.0                1045 MB/s  1505 MB/s    28803992  14.40 all_ch1.dd
lz4fast 1.8.0 -9         1051 MB/s  1469 MB/s    28978585  14.49 all_ch1.dd
lz4fast 1.8.0 -6         1043 MB/s  1470 MB/s    28873753  14.44 all_ch1.dd
lz4fast 1.8.0 -1         1050 MB/s  1506 MB/s    28803992  14.40 all_ch1.dd
zstd 1.3.3 -22           1.47 MB/s  1670 MB/s     6282310   3.14 all_ch1.dd
zstd 1.3.3 -9              86 MB/s   844 MB/s     9178284   4.59 all_ch1.dd
zstd 1.3.3 -6             141 MB/s   777 MB/s     9587374   4.79 all_ch1.dd
zstd 1.3.3 -1             426 MB/s   633 MB/s    11106610   5.55 all_ch1.dd
zstd 1.3.3 --1            409 MB/s   639 MB/s    11095196   5.55 all_ch1.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)

sainsmart_dds120_powerup_scl_sda_analog.sr, 2 analog channels

$ unzip sainsmart_dds120_powerup_scl_sda_analog.sr; cat analog-1-* > all_ch12.dd # 400000000 bytes
$ ./lzbench -elibdeflate,9,6,1/lz4/lz4fast,9,6,1/zstd,22,9,6,1,-1 all_ch12.dd
lzbench 1.7.3 (64-bit Linux)   Assembled by P.Skibinski
Compressor name         Compress. Decompress. Compr. size  Ratio Filename
memcpy                   4011 MB/s  4021 MB/s   400000000 100.00 all_ch12.dd
libdeflate 0.7 -9          16 MB/s  1118 MB/s    11169794   2.79 all_ch12.dd
libdeflate 0.7 -6         121 MB/s  1189 MB/s    11690852   2.92 all_ch12.dd
libdeflate 0.7 -1         218 MB/s   767 MB/s    14643158   3.66 all_ch12.dd
lz4 1.8.0                1449 MB/s  1883 MB/s    36580151   9.15 all_ch12.dd
lz4fast 1.8.0 -9         1450 MB/s  1865 MB/s    36854916   9.21 all_ch12.dd
lz4fast 1.8.0 -6         1461 MB/s  1875 MB/s    36692554   9.17 all_ch12.dd
lz4fast 1.8.0 -1         1449 MB/s  1889 MB/s    36580151   9.15 all_ch12.dd
zstd 1.3.3 -22           2.16 MB/s  1948 MB/s     8327371   2.08 all_ch12.dd
zstd 1.3.3 -9             117 MB/s  1181 MB/s    11854470   2.96 all_ch12.dd
zstd 1.3.3 -6             186 MB/s  1099 MB/s    12376509   3.09 all_ch12.dd
zstd 1.3.3 -1             655 MB/s   927 MB/s    14313847   3.58 all_ch12.dd
zstd 1.3.3 --1            616 MB/s   925 MB/s    14293042   3.57 all_ch12.dd
done... (cIters=1 dIters=1 cTime=1.0 dTime=2.0 chunkSize=1706MB cSpeed=0MB)