<div dir="ltr"><div><div><div>I tried a few with unigine valley and cinebench benchmark.<br><br></div>Totally no difference on scores, no dpc latency difference also.<br><br></div><div>But it is effective for turbostat when pc is in idle:<br><br></div><div>at default value turbostat reports ~35w (cores of vm all time around 1.5ghz)<br></div><div>at 0 turbostat report 20w (cores of vm around 300-400 mhz (6% busy)<br></div><div><br></div><div>Did not try "real gaming" for the moment. Did this remotely...<br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">--<div>Deldycke Quentin<br></div><div><div><br></div></div></div></div></div>
<br><div class="gmail_quote">On 5 April 2016 at 10:53, Jonathan Scruggs <span dir="ltr"><<a href="mailto:j.scruggs@gmail.com" target="_blank">j.scruggs@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 don't know what <span style="font-size:12.8px">halt_poll_ns does, but wouldn't setting it to 0 disable it and is disabling it bad?</span><div><br></div><div>So, what does <span style="font-size:12.8px">halt_poll_ns do anyways?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 4 April 2016 at 19:17, Okky Hendriansyah <span dir="ltr"><<a href="mailto:okky.htf@gmail.com" target="_blank">okky.htf@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><span><div class="gmail_extra"><div class="gmail_quote">On Mon, Apr 4, 2016 at 8:20 AM, Jayme Howard <span dir="ltr"><<a href="mailto:g.prime@gmail.com" target="_blank">g.prime@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Okay wow, Alex.  That made a huge difference immediately.  That dropped me from 90% to 33% on the main thread, and all the children are below 10%. </div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sun, Apr 3, 2016 at 8:07 PM, Alex Williamson <span dir="ltr"><<a href="mailto:alex.l.williamson@gmail.com" target="_blank">alex.l.williamson@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><div dir="ltr">If this is the issue I think it is, the unraid folks bisected this and found the culprit as:<div><br></div><div><div>aca6ff2 KVM: dynamic halt-polling</div></div><div><br></div><div>(<a href="https://github.com/torvalds/linux/commit/aca6ff29c4063a8d467cdee241e6b3bf7dc4a171" target="_blank">https://github.com/torvalds/linux/commit/aca6ff29c4063a8d467cdee241e6b3bf7dc4a171</a>)</div><div><br></div><div>It seems to be a poor interaction of the halt polling interval vs the timer ticks on win10.  You can pick a different polling interval with the kvm module option halt_poll_ns.  The default is 500000.  It seemed that setting this to 400000 or lower resolves the issue.  You can do this via a modprobe entry, 'options kvm halt_poll_ns=400000' or on the kernel command line with kvm.halt_poll_ns=400000.  You can also change it dynamically via 'echo 400000 > /sys/module/kvm/parameters/halt_poll_ns'</div></div></div></div></blockquote></div></div></blockquote></div><br></div></span><div class="gmail_extra">I can also confirm that tuning the halt_poll_ns kvm module parameter on kernel 4.4.5 drops the host CPU usage! Haven't done any game benchmark but from listening to music the CPU load is as low as it is on 4.1.20. Although reducing the value to what Alex (400000) had suggested is probably sufficient, I'm currently trying out the value of 0 for it just like what Unraid 6.20 beta 20 changelog had it set on default [1]. Thanks for the info, Alex.</div><div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://dnld.lime-technology.com/beta/unRAIDServer-6.2.0-beta20-x86_64.txt" target="_blank">http://dnld.lime-technology.com/beta/unRAIDServer-6.2.0-beta20-x86_64.txt</a> </div><div class="gmail_extra"><br></div><div class="gmail_extra">Best regards,</div><div class="gmail_extra">Okky Hendriansyah</div></div>
<br></div></div><span class="">_______________________________________________<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></span></blockquote></div><br></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>