Compressing files
xz -1
is reasonably fast and compresses much better thangzip -9
zstd
seems to be one of the fastest algorithms.- Some people think
xz
is inadequate for long-time file archiving. 7z
has integrated AES256 encryption.
Benchmarks
- Quick Benchmark: Gzip vs Bzip2 vs LZMA vs XZ vs LZ4 vs LZO (CatchChallenger Wiki)
-
- Comparing 11 different compression algorithms:
- zstd v1.4 - Facebook developed realtime compression algorithm here. For –format=lz4 using lz4 v1.9.0
- brotli v1.0 - Google developed Brotli compression algorithm
- gzip v1.5
- bzip2 v1.06
- pigz v2.4 - multi-threaded version of gzip
- pbzip2 v1.1 – multi-threaded version of bzip2
- lbzip2 v2.5– multi-threaded version of bzip2
- lzip v1.21 – based on LZMA compression algorithm
- plzip v1.8 – multi-threaded version of lzip
- xz v5.2
- pxz v5.2 - multi-threaded version of xz