DynamicBits@lemm.eetoCybersecurity@sh.itjust.works•GitHub disables XZ RepositoryEnglish
26·
8 months agoTechnically, XZ is just a container that allows for different compression methods inside, much like the Matroska MKV video container. In practice, XZ is modified LZMA.
There is no perfect algorithm for every situation, so I’ll attempt to summarize.
- Gzip/zlib is best when speed and support are the primary concerns
- Bzip2 was largely phased out and replaced by XZ (LZMA) a decade ago
- XZ (LZMA) will likely give you the best compression, with high CPU and RAM usage
- Zstd is… really good, and the numerous compression levels offer great flexibility
The chart below, which was sourced from this blog post, offers a nice visual comparison.
This Week in Linux is podcast that is more news-focused. It’s part of the TuxDigital network. The TuxDigital and Jupiter Broadcasting communities have a lot of overlap.