Quote:> What's the fastest Linux can be configured to boot? This comes from a
> competition of sorts on comp.os.qnx. I guess by "boot" I mean, get the
> OS to a point where an application I've written can run.
My record is 36 seconds. Including BIOS time and harddisk spinup. Bare
server setup, just NFS/NIS/Apache/Sendmail/leafnode/squid and rc5des :).
I don't remember the exact times, but about 8 seconds were spent on BIOS
and hdd spinup, then 10 seconds for the kernel and the rest was init.d.
That machine was a bare-bones P100 with 32MB of RAM. Still running here,
as a server for my personal experiments. 10GB EIDE harddisk. No GUI.
Quote:> i.e. for Windows NT, this is around 2 minutes.
> The best they could do for QNX was 15 seconds.
You can do better than the above if you add the 'suspend-to-swap' module to
the kernel. That one enables you to press a key (sysRQ, or SAK if you want)
sequence and then it writes the RAM contents to the swap partition. At next
boot, in the earlies possible kernel state it looks up the swap signature,
finds the image and restores itself.
Quote:> Obviously this depends a lot on the size of the kernel etc and what
> services you start. I expect Linux has much greater flexibility in
> those things, so I'm wondering what people have been able to do.
Check out Corel Netwinder. One of the developers has written somewhere that
his custom version of the machine boots up so quickly, that he cannot power
it up and get across the room to open up an xterm before it is ready
running. of course, I don't know how big the room was he talked about :)
_ciao, Jens_______________________________ http://www.pinguin.conetix.de
#### .signature virus antibody ####