From: Daniel Phillips <phillips@arcor.de>
To: Ro0tSiEgE LKML <lkml@ro0tsiege.org>, linux-kernel@vger.kernel.org
Subject: Re: Kernel Boot Speedup
Date: Wed, 26 Mar 2003 10:23:24 +0100 [thread overview]
Message-ID: <20030326092010.3EDA8124023@mx12.arcor-online.net> (raw)
In-Reply-To: <1046909941.1028.1.camel@gandalf.ro0tsiege.org>
On Thu 06 Mar 03 01:19, Ro0tSiEgE LKML wrote:
> What are some things I can change/disable/etc. to cut down the boot time
> of the kernel (i386) ? I would like to get one to boot in a couple
> seconds, tops. Is this possible, and how?
I just noticed this post in an oldish Kernel Traffic. I got the following
timing for booting a uml kernel to an IDE root disk:
time ./linux ubd0=/dev/hda6 init=/sbin/halt >/dev/null
real 0m3.146s
user 0m0.310s
sys 0m0.040s
This includes shutdown, and the IDE disk is only 5400 RPM (1 GHz PIII). UML
isn't initializing any physical devices, which would account for most of the
delay on a native kernel. It doesn't do any decompression either. On the
other hand, there are ways to trim the boot time further, e.g., with run-time
precedence relations to control task start order. As others have mentioned,
the limiting factor is likely to be hard disk spin-up time.
To cut down the bios initialization time, use Linux Bios:
http://www.linuxbios.org/index.html
Claimed fastest boot time is 3 seconds, which sounds like they are talking
about a full kernel boot as opposed to just bios start.
I suppose a cold start time in the one second range is achievable without
major hacking of the kernel, using a flash disk, Linux Bios, and minimal
startup scripts.
Regards,
Daniel
next prev parent reply other threads:[~2003-03-26 9:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-06 0:19 Ro0tSiEgE LKML
2003-03-06 0:44 ` Andy Pfiffer
2003-03-06 1:35 ` Adam Sulmicki
2003-03-06 10:01 ` Helge Hafting
2003-03-06 10:40 ` John Bradford
2003-03-26 9:23 ` Daniel Phillips [this message]
2003-03-26 14:51 ` Interpretation of termios flags on a serial driver Henrique Gobbi
2003-03-26 23:18 ` Richard B. Johnson
2003-03-26 15:33 ` Henrique Gobbi
2003-03-27 0:24 ` Russell King
2003-03-27 1:41 ` Richard B. Johnson
2003-03-27 1:01 ` Robert White
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=20030326092010.3EDA8124023@mx12.arcor-online.net \
--to=phillips@arcor.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@ro0tsiege.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
all inboxes | Powered by JetHome®