LukeShortCloud / rootpages

Root Pages is a collection of easy-to-reference tutorials and guides primarily for Linux and other UNIX-like systems.
Other
55 stars 6 forks source link

[storage][compression] List different compression algorithms and their use-case #1068

Open LukeShortCloud opened 6 months ago

LukeShortCloud commented 6 months ago
Compression Algorithm Use-case
gzip Low resource usage, good for text files
lz4 Low compression, high speed
xz High compression, slow speed
zstd Balance of compression and speed

https://forum.puppylinux.com/viewtopic.php?t=8375

LukeShortCloud commented 3 months ago

xz and zstd have similar compression ratios but zstd decompression can be 1300% faster than xz.

https://archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/