[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/share/doc/ files and gzip/xz/no compression



On Mon, Aug 15, 2011 at 11:04:51PM +0200, Carsten Hey wrote:
> * Lars Wirzenius [2011-08-15 18:33 +0100]:
> >      raw     gz      xz
> >      584    163     134     file sizes (MiB)
> >        0    421     450     savings compared to raw (MiB)
> >     -421      0      29     savings compared to current gz (MiB)
> 
> Years ago I compared sizes of compressed files in /usr/share/doc using
> different compression methods too, possibly restricting to specific file
> types (for example changelog and copyright).
> 
> > I'm OK with allowing use of xz for compressing the files.
> 
> IIRC bzip2 had a better compression.  Compressing dpkg's changelog on

Adding bzip2 support to my script and re-running gives me

    Total size of *.gz files in /usr/share/doc converted into *.bz2: 135179633

In other words, it's 130 MiB against xz's 134 MiB. I'll leave it to
others to decide if it's a significatn difference.

-- 
Freedom-based blog/wiki/web hosting: http://www.branchable.com/


Reply to: