[ILUG] Speeding up the boot process / Parallelizing init scripts ???

Glen Gray glen at antefacto.com
Tue Apr 3 15:29:34 IST 2001


The title kind of says it all. 
I'm building a small light weight web server using the linux from
scratch book as a guide. Well in fact it's all done and working but I
want to speed up booting sequence so that it gets up to a prompt in as
quick a time as possible. Here are the timing I've got for the boot
process so far.

a) Power on to Lilo      = 25.5 sec
b) Kernel to Init           = 11 Sec
c) Init scripts to prompt = 14.5 secs

a) Should be able to drop this down by using something like Linux BIOS.
Will be able to lock it 
    down to the actual hardware (I hope) I'm hoping to get this down to
8 secs may be less

b) Kernel is probing for various hardware (like probing IDE channels and
ttSy ports etc) I 
    reckon again I soule be able to lock this down in the kernel build.
Please correct me if 
    I am dreaming.

c) Init scripts seem to take a long time and here is where I am stuck.
The only thing I could think 
    of would be to some how paralleliz the scripts but a google search
on such things only gave 
    me stuff about beowulf pvm or The Hurd. Theoretically this could be
done. But I'd like to see if 
    it's been done safely before.

Any advice on this stuff would be most welcome....

Glen

-- 
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBDpSD8ARBADvDprVttNaJeb0zxGDIX+D34dUJbxPFS6sMIeEgM2/Nblk3mmJ
Lfs/AhAZcpvrquxQ+D64xAt69qqGD+QuZMEeD7j8GPOV8D3Z2VfTAxd3c4MFUJ3g
DdKwwq2pi6ZYsrjDC5cSbdI19PupIv991H5phvhowV3OvFnfcbhLDENMvwCguHxm
yvFuQvUNt/WqDTtQInad8VcD/26hqOyAf+6dpF692t8TYRgGQdmufgDiUPsM9Dvd
KxYtEaC5vXKEoP5Qc0qrL7bFHhiNjSQf0c6+R+5XW6xhwZwQod4K40jpBxGSbCCy
Or32XttoVmbuY2ks4UE7HQejcgP22oaSZfPUuK8GrHINImIAjBibLvNyMIV2PXdz
sWf6BACKZBCwMyWZBf/lIlMcwnIr16yR6vL3TwTN4a2sAtu+b+krG0cgx+Y+hmHt
YgRtt2GHA6/uX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