automake
[Top][All Lists]
Advanced

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

Re: dist-xz compression level


From: Bob Friesenhahn
Subject: Re: dist-xz compression level
Date: Sun, 11 Apr 2010 17:37:32 -0500 (CDT)
User-agent: Alpine 2.01 (GSO 1266 2009-07-14)

On Sun, 11 Apr 2010, Pavel Sanda wrote:

Are you assuming 'make dist' after 'make' or 'make dist' from scratch?
Other than the time spent compressing data, 'make dist' after 'make'
should be quite fast.

Yep, I mean the make dist from the scratch; i.e. what one usually
does when creating new release. The compression is used very rarely
compared to the number of tarballs uncompression, disk usage
multiplied by all the mirros, net usage etc...

Yes, compression is useful. However, the cost of pushing the algorithm close to the limit does incur costs as well. For many packages, getting 99% of the max in 1/2 the time is a worthy tradeoff. This is similar to the decision to use -O2 as the default GCC compiler optimization rather than -O3.

It may be that dimished returns become extreme as the compression level
reaches -9.

The same can be said about currently used -9 for lzma, no?

Yes. The argument is that it should be possible to optionally set the compression level. In most cases, the compression default should be the tool's compression default.

Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]