qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: qemu-devel@nongnu.org, marc.mari.barcelo@gmail.com,
	kraxel@redhat.com, "Marc Marí" <markmb@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v10] Add optionrom compatible with fw_cfg DMA version
Date: Wed, 13 Jul 2016 13:27:41 +0100	[thread overview]
Message-ID: <20160713122741.GW16797@redhat.com> (raw)
In-Reply-To: <1468407414-20964-1-git-send-email-pbonzini@redhat.com>

Thanks for reposting this Paolo.

I tested it by applying it on top of qemu.  In libguestfs sources we
have a benchmark program called utils/boot-benchmark/boot-benchmark.

Using the qemu package from Fedora (qemu-2.6.0-3.fc24.x86_64):

  $ killall -STOP firefox
  $ ./boot-benchmark
  Result: 2341.7ms ±10.9ms

With the unpatched upstream qemu:

  $ LIBGUESTFS_HV=~/d/qemu/x86_64-softmmu/qemu-system-x86_64 ./boot-benchmark 
  Result: 2282.3ms ±1.7ms

With the patched upstream qemu:

  $ LIBGUESTFS_HV=~/d/qemu/x86_64-softmmu/qemu-system-x86_64 ./boot-benchmark 
  Result: 1452.4ms ±0.9ms

So the patch works and makes a significant difference.

Note I still had to do by hand:

  $ cp pc-bios/optionrom/linuxboot_dma.bin pc-bios/

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html

      reply	other threads:[~2016-07-13 12:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 10:56 [Qemu-devel] [PATCH v10] Add optionrom compatible with fw_cfg DMA version Paolo Bonzini
2016-07-13 12:27 ` Richard W.M. Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160713122741.GW16797@redhat.com \
    --to=rjones@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=marc.mari.barcelo@gmail.com \
    --cc=markmb@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).