<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, May 9, 2016 at 8:56 AM, Nicolas Roy-Renaud <span dir="ltr"><<a href="mailto:nicolas.roy-renaud.1@ens.etsmtl.ca" target="_blank">nicolas.roy-renaud.1@ens.etsmtl.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello everyone.<br>
    <br>
    I've spent the last month or so reworking the <a href="https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF" target="_blank">pci
      passthrough article on Arch Wiki</a>, and I'm getting to the point
    where I'm starting to be pretty satisfied with it personally. While
    there are still a few things I need to adress, however, I'd like to
    get some feedback on the current article, as well as possibly some
    topics that could be worth elaborating. Since I'm sure most of those
    who are reading the mailing list have had trouble setting up their
    passthrough at one point or another, I'm sure you all have some
    issue you've managed to solve that you would like to share with
    others, so I'll be collecting those and try to see if it makes sense
    to include them in there.<br>
    <br>
    Here's a few of the common gotchas I'm already planning to add in
    the near future :<br>
    <ul>
      <li>Using identical GPUs on the guest and host machines (Garland
        Key had that issue a while ago, and this requires some binding
        scripts)<br>
      </li>
      <li>Passing through a device that cannot reset properly (I've had
        that problem with my soundcard and still need to figure out a
        solution)<br>
      </li>
      <li>Actually go into details about what the ACS override patch
        does and how to configure it</li>
      <li>MSI interrupts for the GPU soundcards</li>
    </ul>
    <p>Also, I have a few questions for AW specifically, since he
      mentions a few interesting in his blog that could't find all that
      much info on and could use some clarification, namely :<br>
    </p>
    <ul>
      <li>What impact do hugepages have on host and guest performance?</li>
      <li>How exacly does host-passthrough affect performance?</li>
      <li>Is there an easy way to test if a device can reset properly
        without a host reboot or not? I know a few pci devices have a
        /reset node to indicate this, but recent issues with my
        integrated soundcard and the reocurring complaints about AMD
        cards are making me consider adding a section about that in the
        article.</li><span class=""><font color="#888888">
    </font></span></ul><span class=""><font color="#888888">
    <p>- Nicolas<span class=""></span></p></font></span></div>

</blockquote></div>Hi Nicolas,<br><br></div><div class="gmail_extra">Appreciate your work on this. I would like to propose other things about VFIO/OVMF GPU passthrough that in my opinion should be included in the wiki as well:<br><br></div><div class="gmail_extra">1.) Avoid transparent hugepages and enable explicit hugepages (hugepages size variance 2 MB, 1 GB)<br><br></div><div class="gmail_extra">2.) Kernel configuration to improve performance like 1000 Hz clock resolution, Voluntary Preemptible Kernel, halt_poll_ns <br><br></div><div class="gmail_extra">3.) How to passthrough host primary GPU (if possible, :) )<br><br></div><div class="gmail_extra">4.) CPU family that should be use if you want to avoid ACS patches [1]<br><br></div><div class="gmail_extra">5.) APIC-V vs Hyper-V VAPIC on recent Intel CPU<br><br></div><div class="gmail_extra">6.) Issues on upgrading Windows 10, which is similar to your core2duo workaround [2][3]<br><br></div><div class="gmail_extra">7.) In case someone interested in passing through GPU to a Mac OS X guest [4]<br><br><br>[1] <a href="http://vfio.blogspot.com/2015/10/intel-processors-with-acs-support.html">http://vfio.blogspot.com/2015/10/intel-processors-with-acs-support.html</a><br>[2] <a href="https://www.redhat.com/archives/vfio-users/2015-November/msg00164.html">https://www.redhat.com/archives/vfio-users/2015-November/msg00164.html</a><br>[3] <a href="http://ubuntuforums.org/showthread.php?t=2289210">http://ubuntuforums.org/showthread.php?t=2289210</a><br>[4] <a href="http://www.insanelymac.com/forum/topic/309087-insanely-fast-virtual-mac-qemu-ovmf-clover-and-native-graphics/">http://www.insanelymac.com/forum/topic/309087-insanely-fast-virtual-mac-qemu-ovmf-clover-and-native-graphics/</a><br><br></div><div class="gmail_extra">Best regards,<br></div><div class="gmail_extra">Okky Hendriansyah<br></div></div>