<div dir="ltr">I am using the cinder-lvm backend right now and performance is quite good. My situation is similar without the migration parts. Prior to this arrangement I was using iscsi to mount a disk in /var/lib/nova/instances and that also worked quite well. <div><br></div><div>If you don't mind me asking, what kind of i/o performance are you looking for?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 2, 2019 at 12:25 PM Budai Laszlo <<a href="mailto:laszlo.budai@gmail.com">laszlo.budai@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thank you Daniel,<br>
<br>
My colleague found the same solution in the meantime. And that helped us as well.<br>
<br>
Kind regards,<br>
Laszlo<br>
<br>
On 8/2/19 6:50 PM, Daniel Speichert wrote:<br>
> For the case of simply using local disk mounted for /var/lib/nova and raw disk image type, you could try adding to nova.conf:<br>
> <br>
>     preallocate_images = space<br>
> <br>
> This implicitly changes the I/O method in libvirt from "threads" to "native", which in my case improved performance a lot (10 times) and generally is the best performance I could get.<br>
> <br>
> Best Regards<br>
> Daniel<br>
> <br>
> On 8/2/2019 10:53, Budai Laszlo wrote:<br>
>> Hello all,<br>
>><br>
>> we have a problem with the performance of the disk IO in a KVM instance. <br>
>> We are trying to provision VMs with high performance SSDs. we have investigated different possibilities with different results ...<br>
>><br>
>> 1. configure Nova to use local LVM storage (images_types = lvm) - provided the best performance, but we could not migrate our instances (seems to be a bug).<br>
>> 2. use cinder with lvm backend  and instance locality, we could migrate the instances, but the performance is less than half of the previous case<br>
>> 3. mount the ssd on /var/lib/nova/instances and use the images_type = raw in nova. We could migrate, but the write performance dropped to ~20% of the images_types = lvm performance and read performance is ~65% of the lvm case.<br>
>><br>
>> do you have any idea to improve the performance for any of the cases 2 or 3 which allows migration.<br>
>><br>
>> Kind regards,<br>
>> Laszlo<br>
>><br>
<br>
<br>
</blockquote></div>