Hi Martin<div><br></div><div><ol><li>Does /var/lib/nova/instances reside on your SSD? (just double checking it's not instead pointing to a normal stoage device).</li><li>Do you see the expected performance on the host operating system?</li>
<li>Could you please provide the complete libvirt .xml file?</li><li>Could you please provide the operating system and version of the guest?</li></ol><div><br></div><div>Cheers</div><div><br></div><div>David</div><div><br>
</div><div><br></div><br><div class="gmail_quote">On Mon, Mar 26, 2012 at 1:59 PM, Martin van Wilderen - JDN BV <span dir="ltr"><<a href="mailto:martin@jdn.nl">martin@jdn.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi List,<br>
<br>
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<br>
<br>
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.<br>
<br>
Things a have tried but don't give any extra results are:<br>
- Settings the disklayout from qcow2 to raw<br>
- Settings the cache type in libvirt.xml (writeback, writethrough, none)<br>
- Switching KSM on and off.<br>
- Tested with different guests OS, Linux, FreeBSD, Windows.<br>
<br>
Is there someone who had some extra info i can check? Or are there more people with this issue?<br>
<br>
Snippet from libvirt.xml<br>
<driver type='qcow2'/ cache='writeback'/><br>
<source file='/var/lib/nova/instances/instance-00000113/disk'/><br>
<target dev='vda' bus='virtio'/><br>
<br>
Kind regards,<br>
<br>
Martin<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div><br></div>