From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNJGW-0004xL-FI for qemu-devel@nongnu.org; Wed, 13 Jul 2016 08:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNJGS-00077v-6o for qemu-devel@nongnu.org; Wed, 13 Jul 2016 08:27:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNJGS-00077q-1d for qemu-devel@nongnu.org; Wed, 13 Jul 2016 08:27:44 -0400 Date: Wed, 13 Jul 2016 13:27:41 +0100 From: "Richard W.M. Jones" Message-ID: <20160713122741.GW16797@redhat.com> References: <1468407414-20964-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <1468407414-20964-1-git-send-email-pbonzini@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v10] Add optionrom compatible with fw_cfg DMA version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, marc.mari.barcelo@gmail.com, kraxel@redhat.com, Marc =?iso-8859-1?Q?Mar=ED?= 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 =B110.9ms With the unpatched upstream qemu: $ LIBGUESTFS_HV=3D~/d/qemu/x86_64-softmmu/qemu-system-x86_64 ./boot-ben= chmark=20 Result: 2282.3ms =B11.7ms With the patched upstream qemu: $ LIBGUESTFS_HV=3D~/d/qemu/x86_64-softmmu/qemu-system-x86_64 ./boot-ben= chmark=20 Result: 1452.4ms =B10.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. --=20 Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rj= ones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html