<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><div class="gmail_extra"><br><div class="gmail_quote">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>
<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>