<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 19, 2017 at 12:38 PM, Dominik Psenner <span dir="ltr"><<a href="mailto:dpsenner@gmail.com" target="_blank">dpsenner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">When running a virtualized host for example with virtual box we don't see such an impact. What does virtual box do differently to improve virtualized IO and could that help libvirt/qemu/kvm?<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><div><br></div><div>Hello,</div><div>I would jump here to try to put some information</div><div>Even in virtualbox, at virtual storage chapter</div><div><a href="https://www.virtualbox.org/manual/ch05.html">https://www.virtualbox.org/manual/ch05.html</a></div><div><br></div><div>you get:</div><div>"</div><div>In general, you should avoid IDE unless it is the only controller supported by your guest. Whether you use SATA, SCSI or SAS does not make any real difference. The variety of controllers is only supplied for VirtualBox for compatibility with existing hardware and other hypervisors.<br></div><div>"</div><div><br></div><div>In fact, just tried with a not so new version of virtualbox (4.3.6 I don't use it very often), if I create a VM with Windows 2012 as OS, by default it sets the os disk on top of a virtualized sata controller, that should be more efficient.</div><div>Or are you saying that you explicitly configured Virtualbox and selected IDE as controller type for the guest?</div><div><br></div><div>Indeed I verified that in new version of virt-manager, when you configure a windows 2012 R2 qemu/kvm VM instead, it does set IDE as the controller and so the performance problems you see. Probably you choose the default proposed?</div><div>In the past I also tried IDE on vSphere and it had the same performance problems, because it is fully virtualized and unoptimized </div><div><br></div><div>You should set SCSI as controller type in my opinion if you have a recent version of libvirt/qemu/kvm</div><div> </div><div>That said, I don't know what is the level of support for W2016 at time with virtio and virtio-scsi drivers.</div><div>You can download iso and virtual floppy images here:</div><div><a href="https://fedoraproject.org/wiki/Windows_Virtio_Drivers">https://fedoraproject.org/wiki/Windows_Virtio_Drivers</a><br></div><div><br></div><div>The method could be to add a new disk with the desired controller to the guest: virtio or virtio-scsi</div><div>Then configure it using iso or vfd images</div><div>Then shutdown the guest and set also the boot disk with the same virtio or virtio-scsi controller and try to boot again.</div><div>Having installed the drivers it should auto reconfigure (not tried with w2012 and w2016)</div><div>If all goes well shutdown guest again and remove the second disk</div><div><br></div><div>Also, you can try to install a new guest and change the controller and provide the installation process the vfs image file.</div><div>Try it on a test system to see if it works and if it gives you the desired performance.</div><div>HIH a little,</div><div>Gianluca</div></div></div></div>