[Openstack] KVM disk performance

David Busby d.busby at saiweb.co.uk
Mon Mar 26 14:45:03 UTC 2012


Hi Martin


   1. Does /var/lib/nova/instances reside on your SSD? (just double
   checking it's not instead pointing to a normal stoage device).
   2. Do you see the expected performance on the host operating system?
   3. Could you please provide the complete libvirt .xml file?
   4. Could you please provide the operating system and version of the
   guest?


Cheers

David



On Mon, Mar 26, 2012 at 1:59 PM, Martin van Wilderen - JDN BV <martin at jdn.nl
> wrote:

> Hi List,
>
> I have a question about KVM disk performance. We are using Openstack Nova
> on three machines. These machines have a SSD drive with a dd write
> performance of about 130mb/s
>
> Within the instance the write performance is down to about 5 mb/s. When
> using the allocate trick (dd zero to disk before newfs) we get a
> performance of 20 mb/s.
>
> Things a have tried but don't give any extra results are:
> - Settings the disklayout from qcow2 to raw
> - Settings the cache type in libvirt.xml (writeback, writethrough, none)
> - Switching KSM on and off.
> - Tested with different guests OS, Linux, FreeBSD, Windows.
>
> Is there someone who had some extra info i can check? Or are there more
> people with this issue?
>
> Snippet from libvirt.xml
> <driver type='qcow2'/ cache='writeback'/>
> <source file='/var/lib/nova/instances/instance-00000113/disk'/>
> <target dev='vda' bus='virtio'/>
>
> Kind regards,
>
> Martin
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120326/3aa9aa52/attachment.html>


More information about the Openstack mailing list