<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I can share my experience. I had FX-8350 / Sabertooth 990FX R.2 /
      R9 270X. At first i could play titanfall fine. Then after some
      kernel updates which coincided with my hardware having a warranty
      trip it started to stutter. No matter what i did lag remained to
      be just enough that it was unplayable. I tried bf3 after stutters
      began and it was unplayable. No matter what i tried nothing helped
      so i too ended up dual-booting until i replaced my hardware with
      GA-X99-UD4 / i7-6800K / GTX 1080. Now i play bf1 without issues.<br>
    </p>
    <pre class="moz-signature" cols="72">Rokas Kupstys</pre>
    <div class="moz-cite-prefix">On 23/01/17 21:55, Andrei Grigore
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGRe5_6sNRLgnosdWH8Kkr5rN2tW9L7dzy9C+0bx3bN7rufG-w@mail.gmail.com"
      type="cite">
      <div dir="ltr">I had the same issues and I solved them by
        installing Windows 10 on bare metal. I am really interested if
        there is a fix for this. From my research, (I've spent 2 full
        months in trying to find all kinds of causes and fixes) I've
        just come to the conclusion that somehow the AMD CPU and/or the
        Motherboard IOMMU is the root cause and you just can't fix it
        from the configuration side of things. I guess it would also be
        hard to provide a fix for QEMU/Kernel KVM since there is no easy
        way to reproduce it, or by the fact that mostly everything is
        optimized for the Intel platform.
        <div><br>
        </div>
        <div>My Configuration: AMD FX-8320, 990FXA-UD3 (Rev. 3.0), GTX
          970.<br>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Mon, Jan 23, 2017 at 8:02 PM,
              Alex Williamson <span dir="ltr"><<a
                  moz-do-not-send="true"
                  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">[Please copy the mailing list, use
                  reply-all.  The mailing list is not intended to spawn
                  private conversations]
                  <div class="gmail_extra"><br>
                    <div class="gmail_quote">On Mon, Jan 23, 2017 at
                      11:30 AM, <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:itvend@gmail.com" target="_blank">itvend@gmail.com</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 lang="ET">
                          <div
                            class="m_2382996401186003540gmail-m_-2794782374360300466WordSection1">
                            <p class="MsoNormal">I have no clue what to
                              Google even. All cpu pinning topics are
                              for virt</p>
                          </div>
                        </div>
                      </blockquote>
                      <div><br>
                      </div>
                      <div>isolcpus</div>
                      <div><a moz-do-not-send="true"
href="http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/admin-guide/kernel-parameters.txt#n1669"
                          target="_blank">http://git.kernel.org/cgit/<wbr>linux/kernel/git/torvalds/<wbr>linux.git/tree/Documentation/<wbr>admin-guide/kernel-parameters.<wbr>txt#n1669</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>libvirt vcpu pinning</div>
                      <div><a moz-do-not-send="true"
                          href="https://libvirt.org/formatdomain.html#elementsCPUTuning"
                          target="_blank">https://libvirt.org/<wbr>formatdomain.html#<wbr>elementsCPUTuning</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>libvirt hugepage support</div>
                      <div><a moz-do-not-send="true"
                          href="https://libvirt.org/formatdomain.html#elementsMemoryTuning"
                          target="_blank">https://libvirt.org/<wbr>formatdomain.html#<wbr>elementsMemoryTuning</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>man irqbalance</div>
                      <div><br>
                      </div>
                      <div>If you intend to continue using the QEMU
                        commandline directly, be prepared to do your own
                        research, libvirt is common way to do these
                        things.  Thanks,</div>
                      <div><br>
                      </div>
                      <div>Alex</div>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">
                        <div lang="ET">
                          <div
                            class="m_2382996401186003540gmail-m_-2794782374360300466WordSection1"><span
                              class="m_2382996401186003540gmail-">
                              <p class="MsoNormal"> </p>
                            </span>
                            <div
style="border-right:none;border-bottom:none;border-left:none;border-top:1pt
                              solid rgb(225,225,225);padding:3pt 0cm
                              0cm">
                              <p class="MsoNormal"
                                style="border:none;padding:0cm"><b>Saatja:
                                </b><a moz-do-not-send="true"
                                  href="mailto:alex.l.williamson@gmail.com"
                                  target="_blank">Alex Williamson</a><br>
                                <b>Saadetud: </b>esmaspäev, 23. jaanuar
                                2017 19:18<span
                                  class="m_2382996401186003540gmail-"><br>
                                  <b>Adressaat: </b><a
                                    moz-do-not-send="true"
                                    href="mailto:itvend@gmail.com"
                                    target="_blank">Tiit Talts</a><br>
                                  <b>Koopia: </b><a
                                    moz-do-not-send="true"
                                    href="mailto:vfio-users@redhat.com"
                                    target="_blank">vfio-users</a><br>
                                  <b>Teema: </b>Re: [vfio-users]
                                  Stutter in games</span></p>
                            </div>
                            <div>
                              <div class="h5">
                                <p class="MsoNormal"> </p>
                                <div>
                                  <p class="MsoNormal">[re-adding
                                    vfio-users]</p>
                                  <div>
                                    <div
                                      class="m_2382996401186003540gmail-h5">
                                      <div>
                                        <p class="MsoNormal"> </p>
                                        <div>
                                          <p class="MsoNormal">On Mon,
                                            Jan 23, 2017 at 10:11 AM,
                                            <<a
                                              moz-do-not-send="true"
                                              href="mailto:itvend@gmail.com"
                                              target="_blank">itvend@gmail.com</a>>
                                            wrote:</p>
                                          <blockquote
style="border-top:none;border-right:none;border-bottom:none;border-left:1pt
                                            solid
                                            rgb(204,204,204);padding:0cm
                                            0cm 0cm
                                            6pt;margin-left:4.8pt;margin-right:0cm">
                                            <div>
                                              <div>
                                                <p class="MsoNormal">QEMU
                                                  command is :</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">#!/bin/bash</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  PARAMS       
                                                  ##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="-name
                                                  vm2 -enable-kvm"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -machine
                                                  type=pc,accel=kvm,kernel_irqch<wbr>ip=on,mem-merge=off"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -rtc
                                                  base=localtime,clock=host,drif<wbr>tfix=none"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -drive
                                                  if=pflash,format=raw,readonly,<wbr>file=/usr/share/ovmf/OVMF_CODE<wbr>.fd"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -drive
                                                  if=pflash,format=raw,file=/roo<wbr>t/vm/vm2.fd"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  CPU                
                                                  ##############################<wbr>##############################
                                                  +nx</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -cpu
                                                  host,kvm=off,hv_time,hv_relaxe<wbr>d,hv_vapic,hv_spinlocks=0x1fff<wbr>,hv_vendor_id=Nvidia43FIX
                                                  -smp cores=6"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  MEM
                                                                              
##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -m $((8*1024))"  ##
                                                  HOST HAS 16GB</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  PCI-E              
                                                  ##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -device
                                                  vfio-pci,host=01:00.0,multifun<wbr>ction=on"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -device
                                                  vfio-pci,host=01:00.1"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -device
                                                  vfio-pci,host=02:00.0"
                                                  ## USB 3.0 EATRON</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -device
                                                  vfio-pci,host=04:00.0"
                                                  ## USB 3.0 EATRON</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  NET                
                                                  ##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -net nic,model=virtio
                                                  -net
                                                  bridge,br=bridge0"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  DRIVES          
                                                  ##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -device
                                                  virtio-blk-pci,drive=device_bl<wbr>k_one"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -drive
                                                  file=/dev/mapper/debian--vg-wi<wbr>ndows,format=raw,if=none,aio=<wbr>native,cache.direct=on,cache=<wbr>none,id=device_blk_one"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  OTHER           
                                                  ##############################<wbr>##############################</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -monitor stdio"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -display none"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -vga none"</p>
                                                <p class="MsoNormal">CMD="$CMD
                                                  -nodefaults
                                                  -nodefconfig"</p>
                                                <p class="MsoNormal"> </p>
                                                <p class="MsoNormal">##
                                                  STAR OF THE SHOW</p>
                                                <p class="MsoNormal">qemu-system-x86_64
                                                  $CMD</p>
                                                <p class="MsoNormal"> </p>
                                              </div>
                                            </div>
                                          </blockquote>
                                          <div>
                                            <p class="MsoNormal"> </p>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                                <div>
                                  <div
                                    class="m_2382996401186003540gmail-h5">
                                    <p class="MsoNormal">So the good
                                      news is you're already leaving 2
                                      cores for the host, the bad news
                                      is that the next level of tuning
                                      you need to do is very difficult
                                      when using QEMU directly from the
                                      commandline.  libvirt makes is so
                                      much easier. </p>
                                    <p class="MsoNormal"> </p>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <br>
                          <span class="m_2382996401186003540gmail-"><br>
                            <hr
style="border:none;color:rgb(144,144,144);background-color:rgb(176,176,176);height:1px;width:99%">
                            <table
                              style="border-collapse:collapse;border:none">
                              <tbody>
                                <tr>
                                  <td style="border:none;padding:0px
                                    15px 0px 8px"> <a
                                      moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                                      target="_blank"> <img
                                        moz-do-not-send="true"
                                        src="http://static.avast.com/emails/avast-mail-stamp.png"
                                        alt="Avast logo" border="0"> </a>
                                  </td>
                                  <td>
                                    <p
style="color:rgb(61,77,90);font-family:calibri,verdana,arial,helvetica;font-size:12pt">
                                      Seda e-posti on pahavara suhtes
                                      Avast viirusetõrjega kontrollitud.
                                      <br>
                                      <a moz-do-not-send="true"
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                                        target="_blank">www.avast.com</a>
                                    </p>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                            <br>
                          </span></div>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
                <br>
                ______________________________<wbr>_________________<br>
                vfio-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
                <a moz-do-not-send="true"
                  href="https://www.redhat.com/mailman/listinfo/vfio-users"
                  rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
                <br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
vfio-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/vfio-users">https://www.redhat.com/mailman/listinfo/vfio-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>