<div dir="ltr">I don't think this is an identical MSRS spam, but it might be caused by the same underlying principal. I think the bottleneck here is the CPU, since Virtual CPUs are not exactly like CPUs.<div><br></div><div>Take the Heroes MSRS spam. Each event is a register read in hardware, but since these are unique registers they will be emulated (if function works) as software in KVM. What I am guessing is happening here is the 3D code is running something that requires KVM to do things, which ends up being much slower than hardware. </div><div><br></div><div>I would suggest trying to do something like CPU pinning to see if you can bump up performance a bit. But if this thing turns out to be a code path that isn't using hardware virtualization then you might never get the performance you are looking for.</div><div><br></div><div>Maybe someone with more experience with the inner workings of virtualization could be more useful here.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 18, 2016 at 10:58 AM Andrei Grigore <<a href="mailto:andrei.grg@gmail.com">andrei.grg@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I have passed the ignore msrs parameter but there is no change. I will check with dmesg though. This happens in any game: WoW, SC2, HotS, D3 ...I do not have anything besides Blizzard games to test this with, but I am pretty sure is not game related.</p>
<div class="gmail_quote">On May 18, 2016 4:42 PM, "Quentin Deldycke" <<a href="mailto:quentindeldycke@gmail.com" target="_blank">quentindeldycke@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Easy to see, dmesg and you should have plently of flood about it :)<br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">--<div>Deldycke Quentin<br></div><div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On 18 May 2016 at 16:39, thibaut noah <span dir="ltr"><<a href="mailto:thibaut.noah@gmail.com" target="_blank">thibaut.noah@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm thinking same thing as heroes of the storm, msrs spamming ?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>2016-05-18 14:27 GMT+02:00 Andrei Grigore <span dir="ltr"><<a href="mailto:andrei.grg@gmail.com" target="_blank">andrei.grg@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><p dir="ltr">Dear all,</p>
<p dir="ltr">I have this very strange issue that I can not understand:</p>
<p dir="ltr">Everything works flawlessly or even better than bare metal. ...thing is, if I enable stereoscopic 3d vision (nvidia) in game, the performance drops to unplayable. The reason for that are CPU /RAM intensive elements such as view distances. Dropping other graphical elements to the lowest possible value makes no difference. This means that the GPU is not the bottleneck. Tested this on bare metal and i get around 50 fps with everything maxed out. With VGA passthrough I barely get 20. Disabling 3d vision boosts everything to 60 fps.</p>
<p dir="ltr">The entire 3d vision sensor usb bus is passed through as well. I am running just this VM with 8/8 cores of a fx-8230 cpu with 12 gb of ram. The cpu is passed with host-passthrough. I am even using your latest patch and had enabled hyperv extensions with nvidia GPUs.</p>
<p dir="ltr">The VM is installed clean with nothing but the games in it. As said using the same drivers on a bare metal windows works flawlessly.</p>
<p dir="ltr">I cannot understand where the bottleneck is. CPU usage is not even close to 100%, plenty of ram left and not even 1MB of swap is made.</p>
<p dir="ltr">I don't even know where to seek the problem. What can cause such a massive fps drop? Is there any bandtwidth limit that caps the 2x rendering needed for 3d vision?</p>
<p dir="ltr">Many thanks,<br>
Andrei.</p>
<br></div></div>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">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>
<br>_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">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>
</blockquote></div>
_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com" target="_blank">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>
</blockquote></div>