State of open source compression in 2018



Date: Sat, 20 Oct 2018 22:54:55 +0200
From: Adam Borowski <kilobyte@angband.pl>
To: dng@lists.dyne.org
Subject: Re: [DNG] How to unarchive an .xz

On Sat, Oct 20, 2018 at 12:39:39PM -0400, Steve Litt wrote:

> I want to make a VM from devuan_ascii_2.0.0_amd64_qemu.qcow2.xz
>
> After 15 minutes googling and reading Devuan docs, I have nothing that
> works. How do I unarchive the file? Could you please put the method in
> the README file?

Uhm, you do know that xz-utils/liblzma has been Essential since March 2010?[1]

But, if an experienced person like you lacks this part of knowledge, let me provide some information, for the sake of readers of this list:

Among mainstream compression algorithms, only three have a reason to be used (other than for compatibility purposes):

There are three things to look at, when comparing compression algorithms: strength, speed, and memory use. The latter rarely matters, so it's mostly about the strength-to-speed envelope. Most algorithms take a "level" parameter: xz is faster-(but better)-than-gzip at its lowest setting; zstd beats the stuffing out of competition, for a big range from lzop-like at the lowest setting to mid-xz at the highest, etc.

Anything else has been obsoleted, and should be deprecated:

The above info has been greatly simplified, but should give an idea.



[1]RM footnote: Adam means marked as an Essential package in the Debian (and thus now also Devuan) Linux distribution, the point being that the "xz" compression tool can now be assumed standard in Linux installations.