<div dir="ltr">On Mon, Jan 23, 2017 at 11:48 PM, Tiit Talts <span dir="ltr"><<a href="mailto:itvend@gmail.com" target="_blank">itvend@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">QEMU 2.8+<div>Kernel 4.8 @ Debian 8</div><div><br></div><div>Guest OS: Windows 10</div><div><br></div><div>H/W: CPU: AMD FX-8300, MB: GA-990XA-UD3, GPU: GTX 1080</div><div><br></div><div>FPS in games are great 150+/- @ normal details, but i have periodic fps drops from 150 to 30-20fps when i move in game. i noticed that when i stand still in Battlefield 4 no fps drops everything is fine but if is start moving i get fps drops.<br><br></div><div>Other info:<br><br><br>perf kvm --host stat live<br>When gaming most VM-Exits are msr and interrupt<br><br><br></div><div>GRUB:<br><br>BOOT_IMAGE=/vmlinuz-4.8.0-0.<wbr>bpo.2-amd64 root=/dev/mapper/debian--vg-<wbr>root ro iommu=pt amd_iommu=on<br><br></div><div>/etc/modprobe.d/kvm.conf<br><br>options kvm              ignore_msrs=1<br>options kvm_amd          npt=0<br><br></div><div>/etc/modules<br><br>kvm<br>kvm_amd<br>vfio <br>vfio_iommu_type1 <br>vfio_pci <br>vfio_virqfd<br><br></div><div>Any advice, quit VM or burn down AMD platform ?<br></div></div>
<br></blockquote><div><br></div><div>Hi Tiit,</div><div><br></div><div>Any chance that your kernel flags for your clock resolution is not high enough? What about your pre-emption scheduling? I found my clock resolution set to 1000 Hz and voluntary pre-emption scheduling fully eliminates stutters in Witcher 3.</div><div><br></div><div>Best regards,</div><div>Okky</div></div></div></div>