subarus
Group: Members
Posts: 75
Joined: May 2004 |
|
Posted: Feb. 13 2005,08:12 |
|
Goal: To reduce DSL bootup time
USB, PCMCIA ,scsi detection ~ 8 secs toram from cdrom ~20secs toram from flash ~8 secs dhcp ~2secs read access time (slow to fast) : cdrom, hd, flash, ram
without remastering , ie editing linuxrc or init files in minirt24, just by using boot options, I manage to bootup in 41 seconds with with these boot options : base,fromhd=/dev/hda5 nomce, nopcmcia, noapm, noswap, noagp, noscsi, base
I think I can shed a few more secs off, my initial goal is ~30 seconds . Although read access time for flash is faster than hd but the usb flash detections wasted precious secs. So I think compact flash ide is the fastest boot media. I think boot from iso is faster than compressed imaged, although I dont know for sure. I dont have a cf ide module to try.
once the components are selected, then its time to remove all hardware detections from the init files and just enable what needs to be enabled eg monitor, hardisk, ram, cdrom. other modules will be enabled manually after bootup eg. static ip & usb & sound card
anybody got ideas to make bootup to useability (presumably fluxbox) less than 30 seconds?
updates: 1) bootfrom option is faster than fromhd option in bootup time ~3 secs faster. there sleep time everywhere in the init, linuxrc files; so these are low hanging fruits. I am able to achieve ~30 secs time without much effort.
usb can be enabled by modprobe usbcore; modprobe usb-uhci in bootlocal.sh in small fraction of seconds.
note: I am on IBM Thinkpad T41 with 512 MegRam and only 1.6 Ghz Bania processor.
|