On Mon, Feb 09, 2015 at 06:20:35AM +0000, Rui Paulo wrote:
> Author: rpaulo
> Date: Mon Feb  9 06:20:34 2015
> New Revision: 278433
> URL: https://svnweb.freebsd.org/changeset/base/278433
> 
> Log:
>   Merge xz 5.2.0.
>   
>   This brings support for multi-threaded compression.  This brings close
>   N times faster compression where N is the number of CPU cores.
>   Because of this, liblzma now depends on libthr.
>   

This is fantastic, thank you for doing this update.

FWIW, compressing VM images (some sparse files, some not) would take
upwards of 45 minutes, which after this update, just takes a few
minutes.

 root@releng2:/R2/vmimages # time xz -T 0 -k FreeBSD-11.0-CURRENT-amd64.qcow2 \
     time xz -T 0 -k FreeBSD-11.0-CURRENT-amd64.raw; \
     time xz -T 0 -k FreeBSD-11.0-CURRENT-amd64.vhd; \
     time xz -T 0 -k FreeBSD-11.0-CURRENT-amd64.vmdk
 1027.602u 40.376s 1:09.57 1535.1%       81+192k 0+19774io 0pf+0w
 1032.978u 38.823s 1:08.17 1572.2%       81+192k 0+19696io 0pf+0w
 1033.908u 38.593s 1:11.70 1495.8%       81+192k 0+19729io 0pf+0w
 1091.749u 42.371s 1:04.27 1764.6%       81+192k 0+19751io 0pf+0w

Glen

Attachment: pgphsbR0aWmJv.pgp
Description: PGP signature

Reply via email to