qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Kevin O'Connor <kevin@koconnor.net>
Cc: kvm-devel@lists.sourceforge.net, seabios@seabios.org,
	Theodore Ts'o <tytso@mit.edu>,
	qemu-devel@nongnu.org, Sebastian Herbszt <herbszt@gmx.de>
Subject: Re: [Qemu-devel] Re: Need a way disable gPXE boot
Date: Wed, 10 Mar 2010 09:51:41 +0000	[thread overview]
Message-ID: <20100310095141.GA2710@amd.home.annexia.org> (raw)
In-Reply-To: <20100310020341.GA29054@morn.localdomain>

On Tue, Mar 09, 2010 at 09:03:41PM -0500, Kevin O'Connor wrote:
> On Tue, Mar 09, 2010 at 02:11:20PM +0000, Richard W.M. Jones wrote:
> > I noticed also with libguestfs that boot times have spiralled out of
> > control again, and it seems to be down to the SeaBIOS change.  SeaBIOS
> > accounts for _9_ seconds of the boot sequence, up from very small
> > (fraction of a second) for the old Bochs BIOS[1].
> 
> I'm surprised - a significant amount of effort has gone into making
> SeaBIOS boot quickly.  On my machine, the OS starts loading in well
> under a second.

By a process of elimination, last night I worked out that the change
is down to the following option ROMs:

  gPXE (not sure which exactly): 5 seconds
  pxe-virtio.bin: 4 seconds

I can't find the source for the latter, but it seems neither is part
of SeaBIOS, but are added from other sources by the Fedora build of
qemu.

I built a custom version of SeaBIOS [nicely documented code BTW, once
I'd read the README file it was very simple to understand and
customize!] which booted in under a second.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html

  reply	other threads:[~2010-03-10  9:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 18:11 [Qemu-devel] Need a way disable gPXE boot Theodore Ts'o
2009-11-18 19:53 ` Anthony Liguori
2009-11-18 22:37   ` tytso
2009-11-18 20:19 ` [Qemu-devel] " Sebastian Herbszt
2010-03-09 14:11   ` Richard W.M. Jones
2010-03-10  2:03     ` Kevin O'Connor
2010-03-10  9:51       ` Richard W.M. Jones [this message]
2010-03-10  3:35     ` Anthony Liguori
2010-03-10 10:00       ` Richard W.M. Jones

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=20100310095141.GA2710@amd.home.annexia.org \
    --to=rjones@redhat.com \
    --cc=herbszt@gmx.de \
    --cc=kevin@koconnor.net \
    --cc=kvm-devel@lists.sourceforge.net \
    --cc=qemu-devel@nongnu.org \
    --cc=seabios@seabios.org \
    --cc=tytso@mit.edu \
    /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).