I'm looking to lower my boot time by whatever means possible. I have about 8GB of RAM in my laptop, and if there's any way I could leverage that into faster boot time, that'd be awesome. Is there a way to make the kernel load itself and all modules immediately into RAM to make things faster? Does the Linux kernel already do this?
|
Answering precisely to the question: Is there a way to speed things up at boot time?. Yes. Welcome to In other worlds of Linux like Ubuntu -- you would have In other world of Unix like Solaris, BSD, MacOSx: you have Both attempt to solve the nature of the booting methods, and try to minimize the amount of time booting sequence takes to start the system into fully functional login ready host. Take a look at Go through these doc links from the author of |
|||||||
|
|
You can avoid initrd and compile all modules statically. Maybe you can enable option small size kernel and strip assembly debug symbols and also compile modules without debug symbols: make INSTALL_MOD_STRIP=1 modules_install. |
|||||||||||||
|
/etcon a ramdisk which is populated early in the boot process from an archive (many small files = seek time dominates hard drive performance, it's better to have a tarball in one piece), and it might have saved a second at the cost of having to manually alter configuration files in the tarball. Realistically, the big startup time fixer is: get a SSD. – Ulrich Schwarz Jan 31 '12 at 18:34