Using a slightly modified script (injecting sudo before each qemu-img
command) here's my process for testing:

1. uvt-simplestreams-libvirt --verbose sync --source 
http://cloud-images.ubuntu.com/daily release=trusty arch=amd64
2. uvt-kvm create --memory 1024 --cpu 1 --disk 10 trusty-test1 release=trusty 
arch=amd64
3. bash -x ./bench.sh trusty-test1

I ran this on up-to-date trusty and utopic on Intel NUCs with an SSD:

Trusty output (only the times):

real    0m0.063s    (qemu-img create)
real    0m25.432s  (virsh block copy)
real    0m4.774s    (qemu-img convert)
real    0m32.475s  (total)

Utopic output (only the times):

real    0m0.054s    (qemu-img create)
real    0m25.862s  (virsh block copy)
real    0m4.895s    (qemu-img convert)
real    0m32.115s  (total)

These numbers will go up as the VMs stay up and running, which may
expose different performance characteristics.

Trusty Host:
(kriek) ~ % dpkg --list | egrep "(libvirt|qemu)"
ii  ipxe-qemu                            1.0.0+git-20131111.c3d1e78-2ubuntu1 
all          PXE boot firmware - ROM images for qemu
ii  libvirt-bin                          1.2.2-0ubuntu13.1                   
amd64        programs for the libvirt library
ii  libvirt0                             1.2.2-0ubuntu13.1                   
amd64        library for interfacing with different virtualization systems
ii  python-libvirt                       1.2.2-0ubuntu1                      
amd64        libvirt Python bindings
ii  qemu-keymaps                         2.0.0+dfsg-2ubuntu1                 
all          QEMU keyboard maps
ii  qemu-kvm                             2.0.0+dfsg-2ubuntu1                 
amd64        QEMU Full virtualization on x86 hardware (transitional package)
ii  qemu-system-common                   2.0.0+dfsg-2ubuntu1                 
amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-x86                      2.0.0+dfsg-2ubuntu1                 
amd64        QEMU full system emulation binaries (x86)
ii  qemu-utils                           2.0.0+dfsg-2ubuntu1                 
amd64        QEMU utilities
ii  uvtool-libvirt                       0~bzr92-0ubuntu1                    
all          Library and tools for using Ubuntu Cloud Images with libvirt

Utopic host:

(lambic) ~ % dpkg --list | egrep "(libvirt|qemu)"
ii  ipxe-qemu                            1.0.0+git-20131111.c3d1e78-2ubuntu1 
all          PXE boot firmware - ROM images for qemu
ii  libvirt-bin                          1.2.5-0ubuntu5                      
amd64        programs for the libvirt library
ii  libvirt0                             1.2.5-0ubuntu5                      
amd64        library for interfacing with different virtualization systems
ii  python-libvirt                       1.2.5-0ubuntu1                      
amd64        libvirt Python bindings
ii  qemu-keymaps                         2.0.0+dfsg-2ubuntu3                 
all          QEMU keyboard maps
ii  qemu-kvm                             2.0.0+dfsg-2ubuntu3                 
amd64        QEMU Full virtualization on x86 hardware (transitional package)
ii  qemu-system-common                   2.0.0+dfsg-2ubuntu3                 
amd64        QEMU full system emulation binaries (common files)
ii  qemu-system-x86                      2.0.0+dfsg-2ubuntu3                 
amd64        QEMU full system emulation binaries (x86)
ii  qemu-utils                           2.0.0+dfsg-2ubuntu3                 
amd64        QEMU utilities
ii  uvtool-libvirt                       0~bzr92-0ubuntu1                    
all          Library and tools for using Ubuntu Cloud Images with libvirt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327021

Title:
  regression in snapshot performance in trusty

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1327021/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to