Re: Experiment with using 7z for gzip compression of packages
On Sun, Apr 17, 2011 at 10:05:53PM +0200, email@example.com wrote:
> 0) 1132 packages (I used my apt cache): 1 076 539kB - 100%
> 1) recompress the control.tar.gz and data.tar.gz: 1 038 391kB - 96.5%
> 2) + recompress all *.gz files inside the data.tar.gz: 1 022 712kB - 95.0%
> 3) like 1) but with xz: 752 202kB - 69.9%
> 4) like 2) but with xz: 727 946kB - 67.6%
> Are the numbers for 1) and 2) interesting enough to do something in this direction?
Surprising that the 7zip gzip compression is not more well known, it is available since serveal years as advancecomp.
(i just looked it up and i used to 2004 to reduce the live filesystem size of knoppix)
Afaik the difference is that is tries out a few parameters for each junk and uses the best one.
It would be nice if you could try out something else:
decompress all *.gz files in the data.tar and compress the .tar with xz,
this could possibly yield better compression due to the big directory size of lzma.
(after extraction the file would have to be gziped... but nevertheless it would be interesting)
Christian Leber <firstname.lastname@example.org> or <email@example.com>