[libvirt] [PATCH] dist: Speed up distribution compression

Daniel P. Berrange berrange at redhat.com
Thu Jun 30 14:13:58 UTC 2016


On Thu, Jun 30, 2016 at 04:10:01PM +0200, Martin Kletzander wrote:
> This almost reverts b7200d723648.  The size is increased from 11M to 13M
> and the compression is sped up from 2 minutes to 17 seconds.  The
> compression level is removed because -9 doesn't allow multiple threads
> to be spawned.  Effectively speeds up distcheck as well.

ACK, the space saving over .gz is already massive, so 11 vs 13 MB is
nothing. The xz man page recommends against using -9 in general anyway

> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 99ee4763c5cd..50c358c30d2c 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -22,7 +22,7 @@ GENHTML = genhtml
>  SUBDIRS = . gnulib/lib include/libvirt src daemon tools docs gnulib/tests \
>    tests po examples
> 
> -XZ_OPT ?= -9ev
> +XZ_OPT ?= -v -T0
>  export XZ_OPT
> 
>  ACLOCAL_AMFLAGS = -I m4

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list