From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1am4Hx-0007sw-IE for qemu-devel@nongnu.org; Fri, 01 Apr 2016 14:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1am4Hh-00041x-SD for qemu-devel@nongnu.org; Fri, 01 Apr 2016 14:59:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1am4Hh-00041n-Kp for qemu-devel@nongnu.org; Fri, 01 Apr 2016 14:59:05 -0400 Date: Fri, 1 Apr 2016 19:59:02 +0100 From: "Richard W.M. Jones" Message-ID: <20160401185902.GE19398@redhat.com> References: <56FE3045.2030003@redhat.com> <20160401084456.GF32728@redhat.com> <1459502310.7011.37.camel@redhat.com> <20160401101733.GI32728@redhat.com> <1459508875.7011.62.camel@redhat.com> <20160401111139.GK32728@redhat.com> <1459510371.7011.63.camel@redhat.com> <20160401114947.GM32728@redhat.com> <20160401153540.GD25490@morn.lan> <20160401184131.GP32728@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20160401184131.GP32728@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Why is SeaBIOS used with -kernel? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: marc.mari.barcelo@gmail.com, Paolo Bonzini , Stefan Hajnoczi , qemu-devel@nongnu.org, Gerd Hoffmann On Fri, Apr 01, 2016 at 07:41:31PM +0100, Richard W.M. Jones wrote: > Below are some benchmarks of the other things you mentioned. These > are complete appliance boot-to-shutdown times [*not* just SeaBIOS]. > All debugging has been disabled, and I'm using a slightly different > kernel version, so these runs are not comparable to earlier results I > posted. All times are the mean of 10 runs. The =B1 number is 1 > standard deviation from the mean. >=20 > In my estimation only CONFIG_FW_ROMFILE_LOAD=3Dn seems to make a > measurable difference. >=20 > ---------------------------------------------------------------------- > Ordinary qemu SeaBIOS configuration > Result: 1227.5ms =B17.7ms >=20 > -bios boot-fast.bin, as per my previous patch > Result: 1113.7ms =B16.4ms >=20 > Leaving CONFIG_XEN and CONFIG_THREADS at default settings > Result: 1111.2ms =B13.8ms >=20 > CONFIG_USE_SMM=3Dn > Result: 1116.0ms =B15.0ms >=20 > CONFIG_FW_ROMFILE_LOAD=3Dn > Result: 1106.6ms =B15.0ms >=20 > CONFIG_RELOCATE_INIT=3Dn > Result: 1104.7ms =B111.2ms > ---------------------------------------------------------------------- Actually, CONFIG_RELOCATE_INIT=3Dn looks like it is doing something, but the error bars are quite large. Here's another one that makes a difference: CONFIG_BOOTORDER=3Dn Result: 1099.5ms =B13.7ms (Since we're using -kernel, we don't care about bootorder) 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-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/