If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I had not heard of lzip until now, however it is yet another compressor based upon lzma, just like xz, I don't know if there is any benefit with lzip compared to xz. Then there's lrzip (from Con Kolivas of brain-fuck scheduler fame) which combines a long range compressor with lzma.

There is a discussion of perhaps using it (lrzip) for package compression on Arch Linux (which currently uses xz), but it's just a suggestion at this point and warrants further investigation.

Switching from gzip to xz (or another lzma based compressor) seems like a no-brainer though, it compresses slower than gzip but that doesn't affect the end users, the compression is much better and the decompression speed is only slightly slower.

When speaking of lzma which is what these compressors have in common (expect gzip) it should be noted that it originated in 7-zip which is a great free open source cross-platform archiver by Igor Pavlov.

Comment

Sure, XZ decompression may not hurt much on current machines, but it's still a huge hog for older ones.

On 486-class hw, it takes over 10x as long to decompress vs gz, while also using 32x the RAM or more (depends on dictionary size). I've also had xz -9 OOM occasionally trying to compress a big tarball, the cpu + ram requirements for compression are just ridiculous (on a comp with 8gb ram no less).

Comment

Instead of going to XZ (or, maybe: alongside it) they should develop something like "delta rpm". for those who do not use Fedora/Suse systems: it allows you, during an update, to download only the difference ("delta") between the old package and the new one; on debian/ubuntu you have to download the whole new package.
How much does it saves? Once, during update I've saved... 96% of broadband (i.e. instead of downloading 100mb of updates I had to download 4mb)! Sure- this one was exceptional; some stuff cannot be "delted" and have to be downloaded "as it is" (mostly: kernels), but still we are talking about ~70% savings.
Ah, and the good thing is: you do not need to keep old rpms to compute deltas- you can easily do it from installed packages, so no need for keeping constantly groving /var/yum* directories...
This is a something I would love to see in Ubuntu.

ah, and the author of the article forgot to mention Slackware- AFAIK it was the first one who use XZ compressed packages.

Comment

When speaking of lzma which is what these compressors have in common (expect gzip) it should be noted that it originated in 7-zip which is a great free open source cross-platform archiver by Igor Pavlov.

This. The only question is: what took them so long?
I've been using xz for a while. It's very useful when I have to move large log files over the network, for example. Just replace czf with cJf and you're done!