<p dir="ltr">Checked DPC and it was ok and turned off the nested paging. Actually it helped since now I get to 110fps, but that's not stable, it can drop as low as 35-40. Before the ntp it couldn't go higher than 70. Any tipps on why the fps are not stable and are dropping so low. Seems to be CPU and/or HDD related. It mostly happens when there is HDD activity or the CPU needs to compute more stuff. I am using the virtio SCSI controller and the hdds are set on SCSI.</p>
<p dir="ltr">On Oct 10, 2016 12:18, "Rokas Kupstys" <<a href="mailto:rokups@zoho.com">rokups@zoho.com</a>> wrote:<br>
><br>
> I do not think it is powersaving. It could be the case with CPU because host holds ultimate control of CPU, but GPU is completely controlled by VM and driver in VM decides at what clock GPU should run.<br>
><br>
> Maybe CPU is bottleneck here? After all your CPU (and i had similar one) says it has 8 cores, but in reality every two cores share resources + single FPU core. On top of that AMD FPUs seem to be not as good as intel ones so right there could be bottleneck. Also i suggest checking out your DPC latency - it does cause trouble in some cases.<br>
><br>
> And i just remembered something that was not listed in first post of that thread on archlinux forum:<a href="https://bbs.archlinux.org/viewtopic.php?pid=1270311#p1270311"> https://bbs.archlinux.org/viewtopic.php?pid=1270311#p1270311</a> - i think this actually improved my performance a lot.<br>
><br>
> P.S. Use [Reply All] or [Reply List] button (whatever is present) when replying to mailing list messages ;)<br>
><br>
> Rokas Kupstys<br>
><br>
> On 2016.10.10 13:07, Andrei Grigore wrote:<br>
>><br>
>> Ok. So it's clearly not a hardware failure since on native Windows it just works. The GPU is not the issue since there are reports that the same GPU performs flawlessly. The CPU is also not an issue, even though most people are using Intel. The configuration and passthrough procedure is definatelly right (i even wiped the whole system and did everything all over again). It's either a drawback with newer kernels/qemu for this MB and / or Chipset? It seems to me impossible to debug or to find the root cause.<br>
>><br>
>> What is certain is that the behavior didn't change after the last couple of updates, this issue is there for a couple of months now. Just waited and waited for some performance improvements.<br>
>><br>
>> It feels to me like the system is not used at it's full strength. I can run 100% stress CPU tests, the GPU also is used, RAM is plenty, but the fans are not turbo spinning as on native. I have disabled are power saving features from the VM and set the host governor to high performance. Can it be that some wierd power state / saving feature is causing this? Should I disable something more from BIOS / host?<br>
>><br>
>><br>
>> On Oct 10, 2016 10:57, "Rokas Kupstys" <<a href="mailto:rokups@zoho.com">rokups@zoho.com</a>> wrote:<br>
>>><br>
>>> You know.. What i am going to tell you will not sound good. My board was Sabertooth 990-fx R2. My little story is that at first it seemed to run ok (with r9 270X card). I sinked enough hours to titanfall and it was great. After good period of time of non-usage (as board was in warranty service and eventually swapped to brand new board), multiple kernel updates and migration to archlinux i no longer could get it running as fast. Now i do not know if i just did not feel slowness initially and it was always there or if something changed, but i know for a fact that testing older kernel releases did yield a little bit better performance (enough that i could notice). So i moved back to dual-booting due to performance reasons. In the end combination of this and r9 270X constantly causing entire PC to go down with a red screen i simply swapped hardware for intel x99 + nvidia gpu. Such is sad story of mine..<br>
>>><br>
>>> Rokas Kupstys<br>
>>><br>
>>> On 2016.10.10 11:48, Andrei Grigore wrote:<br>
>>>><br>
>>>> Could it be an issue caused by the MB chipset (990-fx)? How can you debug something like this?<br>
>>>><br>
>>>><br>
>>>> On Oct 8, 2016 15:46, "Andrei Grigore" <<a href="mailto:andrei.grg@gmail.com">andrei.grg@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> Pretty sure, yes. Under: /etc/modprobe.d , then rebuilt the initramfs with mkinitcpio -p linux and rebooted.<br>
>>>>><br>
>>>>><br>
>>>>> On Oct 8, 2016 15:44, "Rokas Kupstys" <<a href="mailto:rokups@zoho.com">rokups@zoho.com</a>> wrote:<br>
>>>>>><br>
>>>>>> Sure you put config in the right place? Because depending on how kernel modules are compiled config go to different places.<br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> Sent from my Samsung device<br>
>>>>>><br>
>>>>>><br>
>>>>>> -------- Original message --------<br>
>>>>>> From: Andrei Grigore <<a href="mailto:andrei.grg@gmail.com">andrei.grg@gmail.com</a>> <br>
>>>>>> Date: 10/8/16 16:14 (GMT+02:00) <br>
>>>>>> To: Rokas Kupstys <<a href="mailto:rokups@zoho.com">rokups@zoho.com</a>> <br>
>>>>>> Cc: vfio-users <<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>>, Jayme Howard <<a href="mailto:g.prime@gmail.com">g.prime@gmail.com</a>> <br>
>>>>>> Subject: Re: [vfio-users] Significant FPS drop with AMD and GTX970 <br>
>>>>>><br>
>>>>>> Just tried. No improvement.<br>
>>>>>><br>
>>>>>><br>
>>>>>> On Oct 8, 2016 14:43, "Rokas Kupstys" <<a href="mailto:rokups@zoho.com">rokups@zoho.com</a>> wrote:<br>
>>>>>>><br>
>>>>>>> See <a href="https://bbs.archlinux.org/viewtopic.php?id=162768">https://bbs.archlinux.org/viewtopic.php?id=162768</a> first post. See if you need ignore_msrs or allow_unsafe_interrupts. I had similar issue with and board and some module options fixed it I think.<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> Sent from my Samsung device<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> -------- Original message --------<br>
>>>>>>> From: Andrei Grigore <<a href="mailto:andrei.grg@gmail.com">andrei.grg@gmail.com</a>> <br>
>>>>>>> Date: 10/8/16 10:49 (GMT+02:00) <br>
>>>>>>> To: Jayme Howard <<a href="mailto:g.prime@gmail.com">g.prime@gmail.com</a>> <br>
>>>>>>> Cc: vfio-users <<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>> <br>
>>>>>>> Subject: Re: [vfio-users] Significant FPS drop with AMD and GTX970 <br>
>>>>>>><br>
>>>>>>> Unfortunately, that didn't help. Thanks for the sugestion though!<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> On Oct 8, 2016 03:06, "Jayme Howard" <<a href="mailto:g.prime@gmail.com">g.prime@gmail.com</a>> wrote:<br>
>>>>>>>><br>
>>>>>>>> Check to see if you have MSI enabled.  That'd be my bet.  Alex had a blog post that covered it, but I don't have the link handy.<br>
>>>>>>>><br>
>>>>>>>> On Fri, Oct 7, 2016 at 6:39 PM, Andrei Grigore <<a href="mailto:andrei.grg@gmail.com">andrei.grg@gmail.com</a>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>> Hi all,<br>
>>>>>>>>><br>
>>>>>>>>> I was wondering if anyone is experiencing this and if there is a known fix for it.<br>
>>>>>>>>><br>
>>>>>>>>> I am using ArchLinux with latest stable Kernel, qemu and libvirt.<br>
>>>>>>>>><br>
>>>>>>>>> My CPU is FX-8230 with a GTX 970. I've passed thorugh the GPU to a Win10 guest.<br>
>>>>>>>>><br>
>>>>>>>>> In WoW on bare metal i get 90 fps and in the same area with the same graphic settings on the VM i get around 50. There seems to be no cpu and or ram bottlenet and the GPU seems to be quite gully used since the fans are starting to spin quite soon.<br>
>>>>>>>>><br>
>>>>>>>>> Can anyone help here with a suggestion? I saw reports with about 3% performance drop, but I am experiencing a lot more.<br>
>>>>>>>>><br>
>>>>>>>>> Thanks!<br>
>>>>>>>>> Andrei.<br>
>>>>>>>>><br>
>>>>>>>>><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"> https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
>>>>>>>>><br>
>>>>>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________ vfio-users mailing list<a href="mailto:vfio-users@redhat.com"> vfio-users@redhat.com</a><a href="https://www.redhat.com/mailman/listinfo/vfio-users"> https://www.redhat.com/mailman/listinfo/vfio-users</a> <br>
>>><br>
>>> _______________________________________________ vfio-users mailing list<a href="mailto:vfio-users@redhat.com"> vfio-users@redhat.com</a><a href="https://www.redhat.com/mailman/listinfo/vfio-users"> https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
><br>
><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"> https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
></p>