[Libguestfs] [PATCH v3] New APIs: compress-out, compress-device-out.

Richard W.M. Jones rjones at redhat.com
Wed Sep 28 13:59:01 UTC 2011


On Wed, Sep 28, 2011 at 01:51:18PM +0100, Richard W.M. Jones wrote:
[...]

I have pushed this patch, and a further patch to enable SMP in the
appliance (optional, default is still UP).

Interestingly, enabling more virtual CPUs in the appliance causes a
substantial slowdown in lzop performance.  The following test:

> Real filesystem image ~5.5GB in size, 59% in use.
> Straight download was 78.74 seconds.
> 
> $ ./run ./fish/guestfish --ro -a /dev/vg_pin/F16x64 \
>     run : time compress-device-out lzop /dev/vg_f16x64/lv_root >(wc -c)
> elapsed time: 123.17 seconds
> 2488500746

takes 148 seconds with "qemu-kvm -smp 4".

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the Libguestfs mailing list