Posted Sep 22, 2003 14:28 UTC (Mon) by hathawsh
Parent article: Boot Linux faster (IBM developerWorks)
I run a 1 GHz Athlon Gentoo system that boots to KDE. Since the fan makes a fair amount of noise, I don't like to leave it running. So I've optimized the bootup speed as far as I can. Here is an approximate breakdown:
- 15 seconds from power-on to GRUB (can't do much about this.)
- 20 seconds from GRUB to the kdm login screen. I've hacked the boot scripts to make kdm start as early as possible. This is an easier way to parallelize startup than what the article describes. Hotplug and CUPS start while I'm typing my password.
- 30 seconds from entering my login password to kicker and kdesktop showing up. This is the part that's hard to streamline. I would really like to see an article that explains how I can divide this time in half. (Switching from KDE is not the right answer. ;-) )
FWIW, here's an idea I've been kicking around. A lot of the slowdown is due to hard drive seek time. Booting involves seeking all over the place. It would presumably be faster to load a big chunk from the disk rather than scattered small chunks. Therefore, it seems like rearranging files on disk and preloading disk caches could be a major win.
to post comments)