<div dir="ltr">Do you pass your USB keyboard or do you use emulated keyboard and one of QXL windows to grab/release focus? I use the second option and I had to follow the steps from the following link to deal with performance proplems with key repeats:<div><a href="http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag">http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 25, 2017 at 10:51 AM, Patrick O'Callaghan <span dir="ltr"><<a href="mailto:poc@usb.ve" target="_blank">poc@usb.ve</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm running Windows 10 in a KVM/QEMU VM under Fedora 25. The host is a<br>
16GB i3770 and I have 4 threads (2 cores) dedicated to the VM with CPU<br>
pinning and 8GB hugepages. The passthrough GPU is an Nvidia Geforce GTX<br>
1050.<br>
<br>
The guest disk is a 100GB raw file under vfio. The host disk is a 1TB<br>
Toshiba SATA 2.<br>
<br>
This generally works quite well, except for two things:<br>
<br>
1) KB events seem to overrun in games, i.e. there is stuttering and a<br>
buzz when holding down a key for too long. Keyboard and mouse are<br>
wireless Logitech hardware on a USB-2 port.<br>
<br>
Initially I had configured USB-2 on the VM and in an effort to fix this<br>
changed it to USB-3, which seemed to make it slightly faster but not go<br>
away (nb: this is still on the same physical USB-2 port).<br>
<br>
I then attempted to enable MSI as outlined in <a href="https://vfio.blogspot.co" rel="noreferrer" target="_blank">https://vfio.blogspot.co</a>.<br>
uk/2014/09/vfio-interrupts-<wbr>and-how-to-coax-windows.html. After the USB-<br>
3 change (see above) Windows now shows the USB-3 controller as using<br>
MSI, however the Windows Nvidia drivers don't seem to support it, even<br>
after registry editing. Note that the GPU hardware does support it<br>
according to Linux ('lspci -v -s <id>').<br>
<br>
2) There is quite frequent (every few seconds) visual stuttering --<br>
pause then continue -- when moving rapidly through a rendered scene,<br>
possibly caused by disk I/O.<br>
<br>
I'm already using vfio. Would vfio-scsi make a difference? Should I be<br>
thinking about a dedicated disk?<br>
<br>
Thanks for any hints.<br>
<br>
poc<br>
<br>
______________________________<wbr>_________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
</blockquote></div><br></div>