lrzip is often the winner
Posted Feb 18, 2010 12:01 UTC (Thu) by
epa (subscriber, #39769)
Parent article:
Compression formats for kernel.org
Take a look at lrzip. It is an LZMA version of the older 'rzip', and works by first doing a simple compression using a very large window (say, 200 megabytes) before feeding the data to LZMA. This often allows it to get a better space-speed tradeoff than other compressors. Its strongest performance is when compressing archives with several almost-identical copies of the same data, for example a set of different kernel releases. For just one release, plain LZMA as implemented by XZ might be as good.
An alternative would be to distribute git trees for each release, but without any of the version history; just put all the files into a fresh git repository and do 'git pack' with maximum settings. Then compress that.
Note that there are at least two LZMA compression programs with a gzip-style interface: XZ and lzip. I have no idea why they haven't merged or at least standardized on a common file format.
(
Log in to post comments)