<div dir="ltr">I had issues with freezes in GTA V. The game spawns a whole lot of disk IO, due to streaming geometry, which is done by default under the QEMU global lock from what I've read. My naive suspicion was that IO waits were hogging said lock, getting the VCPUs in a bunch eventually (disk device is an iSCSI share with bcache on top, cold data has high latency). Once I shoved the disk IO stuff into its separate thread using iothreads, the freezing stopped happening. The situation may be similar with Star Citizen. So, my suggestion is to put your disk IO on an iothread, and also specifying ioeventfd for both disk and networking.<div><br></div><div>Also, despite most guides say to disable the Hyper-V stuff, it can actually do a lot for your framerates. The only problem is that NVidia mucks about, so you'd need to change the Hyper-V vendor ID*, which only works from command-line but not libvirt (situation might have changed, I think I've read bits that NVidia doesn't go Code 43 anymore when it sees the Hyper-V ID, but I haven't tested). I don't think AMD has any issues with Hyper-V. If you have an Intel CPU starting from Ivy Bridge-E or Haswell, don't enable the Hyper-V VAPIC so that it uses APICv instead, which is more efficient.</div><div><br></div><div>Hope that'll help,</div><div>-mg</div><div><br></div><div>*: hv-vendor-id option on the CPU line, requires QEMU 2.5.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 4, 2016 at 2:46 AM, Stibnite <span dir="ltr"><<a href="mailto:stibnite@protonmail.com" target="_blank">stibnite@protonmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>I'm having the same issue, i would suggest posting your xml file, the result of uname -a and possibly lspci -nnk.I found switching my disk from ide to sata and pinning the vcpu gave a slight boost but games are still unplayable. Worth a shot though imo <br></div><div><br></div><div>Sent from <a href="https://protonmail.com" target="_blank">ProtonMail</a>, encrypted email based in Switzerland.<br></div><div class="HOEnZb"><div class="h5"><div><br></div><div><br></div><blockquote type="cite"><div>-------- Original Message --------<br></div><div>Subject: [vfio-users] Poor Performance and freeze ingame with NVIDIA and 4570K<br></div><div>Local Time: February 3, 2016 5:58 pm<br></div><div>UTC Time: February 3, 2016 10:58 PM<br></div><div>From: <a href="mailto:feadurn@gmail.com" target="_blank">feadurn@gmail.com</a><br></div><div>To: <a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br></div><div><br></div><div>Hi all,<br></div><div>
<br></div><div>
I have done everything I wanted for my VM (except emulate the sound but <br></div><div>
I bought an usb soundcard, as suggested), but I realise my performance <br></div><div>
are quite poor.<br></div><div>
For instance in a game like Insurgency, my FPS are sometime around 30 <br></div><div>
which is clearly low for the game (but playable).<br></div><div>
<br></div><div>
More annoying, in game like Star Citizen, not only the performance are <br></div><div>
poor but I have constant freezes, it is like the video freeze (but often <br></div><div>
the sound continue) and then go normal again.<br></div><div>
<br></div><div>
I noticed that it is with when the use of the cpu in Windows reaches <br></div><div>
100% (but not always).<br></div><div>
<br></div><div>
I don't know if it is caused by the gpu the cpu or both. I have hugepage <br></div><div>
activated and normally the MSI in windows configured too (with a script <br></div><div>
that activate all of them)<br></div><div>
<br></div><div>
I don't really know which output to give you that will be helpful.<br></div><div>
<br></div><div>
Thank you for your help,<br></div><div>
<br></div><div>
Feadurn<br></div><div>
<br></div><div>
_______________________________________________<br></div><div>
vfio-users mailing list<br></div><div>
<a href="mailto:vfio-users@redhat.com" target="_blank">vfio-users@redhat.com</a><br></div><div>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br></div><div>
<br></div></blockquote><div><br></div></div></div><br>_______________________________________________<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/mailman/listinfo/vfio-users</a><br>
<br></blockquote></div><br></div>