Skip to content

Round‐trips scores

flanglet edited this page May 11, 2024 · 5 revisions

This page presents tables of compression/decompression round-trip scores for the Silesia tests.

The score is computed as such: score(lambda) = compTime + 2*decompTime + lambda*compSize

with lambda acting as a parameter used to mix the weights of the times and size respectively.

A lower score is better. Small lambdas favor the times while big lambdas favor the size.

The test machine is an AWS c5a8xlarge: AMD EPYC 7R32 (32 vCPUs), 64 GB RAM running Ubuntu 24.04 LTS.

Tested with Kanzi 2.3.0

lambda = 1e-8

Compressor Score Encoding (sec) Decoding (sec) Size Percentage
Zstd 1.5.6 -2 -T16 1.39 0.151 0.271 69556157 32.82%
Kanzi -l 2 1.49 0.287 0.263 68195845 32.17%
Zstd 1.5.6 -5 -T16 1.57 0.356 0.289 63131656 29.79%
Kanzi -l 1 1.57 0.282 0.243 80277212 37.87%
Kanzi -l 3 1.73 0.463 0.303 65613695 30.96%
Lz4 1.9.5 -4 1.78 0.321 0.330 79912419 37.70%
Zstd 1.5.6 -9 -T16 1.84 0.69 0.278 59429335 28.04%
Kanzi -l 4 1.97 0.606 0.375 61249959 28.90%
Kanzi -l 5 3.97 1.579 0.923 54039773 25.50%
Zstd 1.5.6 -13 -T16 4.37 3.244 0.272 58041112 27.38%
Kanzi -l 6 5.38 2.348 1.268 49567817 23.39%
Kanzi -l 7 7.29 2.634 2.092 47520629 22.42%
Brotli 1.1.0 -2 7.35 1.749 2.459 68044145 32.10%
bzip3 9.60 2.682 3.221 47237088 22.29%
Zstd 1.5.6 -19 -T16 22.00 20.87 0.303 52889925 24.95%
Kanzi -l 8 22.69 7.23 7.513 43167429 20.37%
Gzip 1.12 -9 23.57 20.09 1.403 67652449 31.92%
Brotli 1.1.0 -6 23.64 14.53 4.263 58552177 27.62%
Bzip2 1.0.8 -9 30.95 16.94 6.734 54572500 25.75%
Kanzi -l 9 60.12 19.17 20.27 41497835 19.58%
Brotli 1.1.0 -9 84.93 70.07 7.149 56408353 26.61%
Lzma 5.4.5 -9 102.80 95.97 3.172 48745354 23.00%
zpaq 7.15 -m5 641.80 213.8 213.8 40050429 18.90%

lambda = 1e-7

Compressor Score Encoding (sec) Decoding (sec) Size Percentage
Zstd 1.5.6 -9 -T16 7.19 0.690 0.278 59429335 28.04%
Zstd 1.5.6 -5 -T16 7.25 0.356 0.289 63131656 29.79%
Kanzi -l 4 7.48 0.606 0.375 61249959 28.90%
Kanzi -l 3 7.63 0.463 0.303 65613695 30.96%
Kanzi -l 2 7.63 0.287 0.263 68195845 32.17%
Zstd 1.5.6 -2 -T16 7.65 0.151 0.271 69556157 32.82%
Kanzi -l 1 8.80 0.282 0.243 80277212 37.87%
Kanzi -l 5 8.83 1.579 0.923 54039773 25.50%
Lz4 1.9.5 -4 8.97 0.321 0.330 79912419 37.70%
Zstd 1.5.6 -13 -T16 9.59 3.244 0.272 58041112 27.38%
Kanzi -l 6 9.84 2.348 1.268 49567817 23.39%
Kanzi -l 7 11.57 2.634 2.092 47520629 22.42%
Brotli 1.1.0 -2 13.47 1.749 2.459 68044145 32.10%
bzip3 13.85 2.682 3.221 47237088 22.29%
Kanzi -l 8 26.57 7.230 7.513 43167429 20.37%
Zstd 1.5.6 -19 -T16 26.76 20.870 0.303 52889925 24.95%
Brotli 1.1.0 -6 28.91 14.530 4.263 58552177 27.62%
Gzip 1.12 -9 29.66 20.090 1.403 67652449 31.92%
Bzip2 1.0.8 -9 35.87 16.940 6.734 54572500 25.75%
Kanzi -l 9 63.86 19.170 20.27 41497835 19.58%
Brotli 1.1.0 -9 90.01 70.070 7.149 56408353 26.61%
Lzma 5.4.5 -9 107.19 95.970 3.172 48745354 23.00%
zpaq 7.15 -m5 645.41 213.800 213.8 40050429 18.90%

lambda = 1e-6

Compressor Score Encoding (sec) Decoding (sec) Size Percentage
Kanzi -l 7 54.34 2.634 2.092 47520629 22.42%
Kanzi -l 6 54.45 2.348 1.268 49567817 23.39%
bzip3 56.36 2.682 3.221 47237088 22.29%
Kanzi -l 5 57.46 1.579 0.923 54039773 25.50%
Zstd 1.5.6 -9 -T16 60.68 0.690 0.278 59429335 28.04%
Zstd 1.5.6 -13 -T16 61.83 3.244 0.272 58041112 27.38%
Kanzi -l 4 62.61 0.606 0.375 61249959 28.90%
Zstd 1.5.6 -5 -T16 64.07 0.356 0.289 63131656 29.79%
Kanzi -l 8 65.42 7.230 7.513 43167429 20.37%
Kanzi -l 3 66.68 0.463 0.303 65613695 30.96%
Kanzi -l 2 69.01 0.287 0.263 68195845 32.17%
Zstd 1.5.6 -2 -T16 70.25 0.151 0.271 69556157 32.82%
Zstd 1.5.6 -19 -T16 74.37 20.870 0.303 52889925 24.95%
Brotli 1.1.0 -2 74.71 1.749 2.459 68044145 32.10%
Lz4 1.9.5 -4 80.89 0.321 0.330 79912419 37.70%
Kanzi -l 1 81.05 0.282 0.243 80277212 37.87%
Brotli 1.1.0 -6 81.61 14.530 4.263 58552177 27.62%
Bzip2 1.0.8 -9 84.98 16.940 6.734 54572500 25.75%
Gzip 1.12 -9 90.55 20.090 1.403 67652449 31.92%
Kanzi -l 9 101.21 19.170 20.27 41497835 19.58%
Brotli 1.1.0 -9 140.78 70.070 7.149 56408353 26.61%
Lzma 5.4.5 -9 151.06 95.970 3.172 48745354 23.00%
zpaq 7.15 -m5 681.45 213.800 213.8 40050429 18.90%

lambda = 1e-5

Compressor Score Encoding (sec) Decoding (sec) Size Percentage
Kanzi -l 8 453.93 7.230 7.513 43167429 20.37%
Kanzi -l 9 474.69 19.170 20.27 41497835 19.58%
bzip3 481.49 2.682 3.221 47237088 22.29%
Kanzi -l 7 482.02 2.634 2.092 47520629 22.42%
Kanzi -l 6 500.56 2.348 1.268 49567817 23.39%
Kanzi -l 5 543.82 1.579 0.923 54039773 25.50%
Zstd 1.5.6 -19 -T16 550.38 20.870 0.303 52889925 24.95%
Bzip2 1.0.8 -9 576.13 16.940 6.734 54572500 25.75%
Zstd 1.5.6 -13 -T16 584.20 3.244 0.272 58041112 27.38%
Lzma 5.4.5 -9 589.77 95.970 3.172 48745354 23.00%
Zstd 1.5.6 -9 -T16 595.54 0.690 0.278 59429335 28.04%
Brotli 1.1.0 -6 608.58 14.530 4.263 58552177 27.62%
Kanzi -l 4 613.86 0.606 0.375 61249959 28.90%
Zstd 1.5.6 -5 -T16 632.25 0.356 0.289 63131656 29.79%
Brotli 1.1.0 -9 648.45 70.070 7.149 56408353 26.61%
Kanzi -l 3 657.21 0.463 0.303 65613695 30.96%
Kanzi -l 2 682.77 0.287 0.263 68195845 32.17%
Brotli 1.1.0 -2 687.11 1.749 2.459 68044145 32.10%
Zstd 1.5.6 -2 -T16 696.25 0.151 0.271 69556157 32.82%
Gzip 1.12 -9 699.42 20.090 1.403 67652449 31.92%
Lz4 1.9.5 -4 800.11 0.321 0.330 79912419 37.70%
Kanzi -l 1 803.54 0.282 0.243 80277212 37.87%
zpaq 7.15 -m5 1041.90 213.800 213.8 40050429 18.90%