<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I noticed that attaching a DVD-Drive from the host leads to HUGE
    delays. I had attached my /dev/sr0 to the guest and even without a
    DVD in the drive this was causing huge lag about once per second.<br>
    <br>
    Best regards<br>
    Michael<br>
    <br>
    <div class="moz-cite-prefix">Am 28.12.2015 um 19:30 schrieb rndbit:<br>
    </div>
    <blockquote cite="mid:56817FCC.6040004@sysret.net" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      4000μs-16000μs here, its terrible.<br>
      Tried whats said on <a moz-do-not-send="true"
        class="moz-txt-link-freetext"
        href="https://lime-technology.com/forum/index.php?topic=43126.15">https://lime-technology.com/forum/index.php?topic=43126.15</a><br>
      Its a bit better with this:<br>
      <blockquote type="cite">  <vcpu
        placement='static'>4</vcpu><br>
          <cputune><br>
            <vcpupin vcpu='0' cpuset='4'/><br>
            <vcpupin vcpu='1' cpuset='5'/><br>
            <vcpupin vcpu='2' cpuset='6'/><br>
            <vcpupin vcpu='3' cpuset='7'/><br>
            <emulatorpin cpuset='0-3'/><br>
          </cputune></blockquote>
      I tried <i>isolcpus</i> but it did not yield visible benefits. <i>ndis.sys</i>
      is big offender here but i dont really understand why. Removing
      network interface from VM makes <i>usbport.sys</i> take over as
      biggest offender. All this happens with <i>performance</i>
      governor of all cpu cores:<br>
      <blockquote type="cite">echo performance | tee
        /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
        >/dev/null</blockquote>
      Cores remain clocked at 4k mhz. I dont know what else i could try.
      Does anyone have any ideas..?<br>
      <br>
      <div class="moz-cite-prefix">On 2015.10.29 08:03, Eddie Yen wrote:<br>
      </div>
      <blockquote
cite="mid:CAHZFSBrRf+wQak=5acwzvpHSteV7+h=2RjmGucm=iTBkB=ANUQ@mail.gmail.com"
        type="cite">
        <div dir="ltr">I tested again with VM reboot, I found that this
          time is about 1000~1500<span
            style="font-size:12.8000001907349px">μs.</span><br>
          <div><span style="font-size:12.8000001907349px">Also I found
              that it easily get high while hard drive is loading, but
              only few times.</span></div>
          <div><br>
          </div>
          <div><span style="font-size:12.8000001907349px">Which specs
              you're using? Maybe it depends on CPU or patches.</span></div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">2015-10-29 13:44 GMT+08:00 Blank
            Field <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:ihatethisfield@gmail.com" target="_blank">ihatethisfield@gmail.com</a>></span>:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <p dir="ltr">If i understand it right, this software has a
                fixed latency error of 1 ms(1000us) in windows 8-10 due
                to different kernel timer implementation. So i guess
                your latency is very good.</p>
              <div class="HOEnZb">
                <div class="h5">
                  <div class="gmail_quote">On Oct 29, 2015 8:40 AM,
                    "Eddie Yen" <<a moz-do-not-send="true"
                      href="mailto:missile0407@gmail.com"
                      target="_blank">missile0407@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">Thanks for information! And sorry I
                        don'r read carefully at beginning message.
                        <div><br>
                        </div>
                        <div>For my result, I got about 1000<span
                            style="font-size:12.8000001907349px">μs
                            below and only few times got 1000</span><span
                            style="font-size:12.8000001907349px">μs
                            above when idling.</span></div>
                        <div><span style="font-size:12.8000001907349px"><br>
                          </span></div>
                        <div><span style="font-size:12.8000001907349px">I'm

                            using 4820K and used 4 threads to VM, also
                             I set these 4 threads as 4 cores in VM
                            settings.</span></div>
                        <div><span style="font-size:12.8000001907349px">The

                            OS is Windows 10.</span></div>
                      </div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">2015-10-29 13:21
                          GMT+08:00 Blank Field <span dir="ltr"><<a
                              moz-do-not-send="true"
                              class="moz-txt-link-abbreviated"
                              href="mailto:ihatethisfield@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:ihatethisfield@gmail.com">ihatethisfield@gmail.com</a></a>></span>:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">
                            <p dir="ltr">I think they're using this:<br>
                              <a moz-do-not-send="true"
                                href="http://www.thesycon.de/deu/latency_check.shtml"
                                target="_blank">www.thesycon.de/deu/latency_check.shtml</a></p>
                            <div>
                              <div>
                                <div class="gmail_quote">On Oct 29, 2015
                                  6:11 AM, "Eddie Yen" <<a
                                    moz-do-not-send="true"
                                    class="moz-txt-link-abbreviated"
                                    href="mailto:missile0407@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:missile0407@gmail.com">missile0407@gmail.com</a></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">Sorry, but how to
                                      check DPC Latency?</div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">2015-10-29

                                        10:08 GMT+08:00 Nick Sukharev <span
                                          dir="ltr"><<a
                                            moz-do-not-send="true"
                                            class="moz-txt-link-abbreviated"
href="mailto:nicksukharev@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:nicksukharev@gmail.com">nicksukharev@gmail.com</a></a>></span>:<br>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div dir="ltr">I just checked
                                            on W7 and I get <span
                                              style="font-size:12.8px">3000</span><span
                                              style="font-size:12.8px">μs-4000</span><span
                                              style="font-size:12.8px">μs

                                              one one of the guests when
                                              3 guests are running.</span></div>
                                          <div class="gmail_extra"><br>
                                            <div class="gmail_quote">
                                              <div>
                                                <div>On Wed, Oct 28,
                                                  2015 at 4:52 AM,
                                                  Sergey Vlasov <span
                                                    dir="ltr"><<a
                                                      moz-do-not-send="true"
class="moz-txt-link-abbreviated" href="mailto:sergey@vlasov.me"><a class="moz-txt-link-abbreviated" href="mailto:sergey@vlasov.me">sergey@vlasov.me</a></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>
                                                    <div dir="ltr">
                                                      <div
                                                        class="gmail_extra">
                                                        <div
                                                          class="gmail_quote"><span>On

                                                          27 October
                                                          2015 at 18:38,
                                                          LordZiru <span
                                                          dir="ltr"><<a
moz-do-not-send="true" class="moz-txt-link-abbreviated"
                                                          href="mailto:lordziru@gmail.com"><a class="moz-txt-link-abbreviated" href="mailto:lordziru@gmail.com">lordziru@gmail.com</a></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 dir="ltr">
                                                          <div>I have
                                                          brutal DPC
                                                          Latency on
                                                          qemu, no
                                                          matter if
                                                          using
                                                          pci-assign or
                                                          vfio-pci or
                                                          without any
                                                          passthrought,
                                                          <br>
                                                          </div>
                                                          <br>
                                                          my DPC Latency
                                                          is like:<br>
                                                          <div>10000,500,8000,6000,800,300,12000,9000,700,2000,9000<br>
                                                          </div>
                                                          <div>and on
                                                          native windows
                                                          7 is like: <br>
20,30,20,50,20,30,20,20,30<br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div> </div>
                                                          </span>In<span>
                                                          Windows 10
                                                          guest I
                                                          constantly
                                                          have red bars
                                                          around 3000</span><span><span>μ</span>s
                                                          (microseconds),

                                                          spiking
                                                          sometimes up
                                                          to 10000</span><span><span>μ</span>s</span>.<span><br>
                                                          <div><span><br>
                                                          </span></div>
                                                          <blockquote
                                                          class="gmail_quote"
                                                          style="margin:0px

                                                          0px 0px
                                                          0.8ex;border-left:1px
                                                          solid
                                                          rgb(204,204,204);padding-left:1ex">
                                                          <div dir="ltr">
                                                          <div><br>
                                                          I don't know
                                                          how to fix it.<br>
                                                          </div>
                                                          <div>this
                                                          matter for me
                                                          because i are
                                                          using USB
                                                          Sound Card for
                                                          my VMs, <br>
                                                          and i get
                                                          sound
                                                          drop-outs
                                                          every 0-4
                                                          secounds<br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div><br>
                                                          </div>
                                                          </span>
                                                          <div>That bugs
                                                          me a lot too.
                                                          I also use an
                                                          external USB
                                                          card and my
                                                          DAW
                                                          periodically
                                                          drops out :(<br>
                                                          <br>
                                                          I haven't
                                                          tried CPU
                                                          pinning yet
                                                          though. And
                                                          perhaps I
                                                          should try
                                                          Windows 7.<br>
                                                          </div>
                                                        </div>
                                                        <br>
                                                      </div>
                                                    </div>
                                                    <br>
                                                  </div>
                                                </div>
_______________________________________________<br>
                                                vfio-users mailing list<br>
                                                <a
                                                  moz-do-not-send="true"
href="mailto:vfio-users@redhat.com" target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a></a><br>
                                                <a
                                                  moz-do-not-send="true"
href="https://www.redhat.com/mailman/listinfo/vfio-users"
                                                  rel="noreferrer"
                                                  target="_blank"><a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/vfio-users">https://www.redhat.com/mailman/listinfo/vfio-users</a></a><br>
                                                <br>
                                              </blockquote>
                                            </div>
                                            <br>
                                          </div>
                                          <br>
_______________________________________________<br>
                                          vfio-users mailing list<br>
                                          <a moz-do-not-send="true"
                                            href="mailto:vfio-users@redhat.com"
                                            target="_blank">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/mailman/listinfo/vfio-users</a><br>
                                          <br>
                                        </blockquote>
                                      </div>
                                      <br>
                                    </div>
                                    <br>
_______________________________________________<br>
                                    vfio-users mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:vfio-users@redhat.com"
                                      target="_blank">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/mailman/listinfo/vfio-users</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                              </div>
                            </div>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
vfio-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a>
<a moz-do-not-send="true" 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>
      <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>