To read all comments associated with this story, please click here.
Or is the responsibility of speed improvements not on the kernel?
Depends. The actual boot speed of the os isn't primarily the kernel's doing, but rather how services are initialized and in what order, and are they started one at a time or in parallel? That being said, the Linux kernel does take considerably longer to initialize than most, especially if using a generic kernel such as those provided with the major distros. This has to do with how Linux's driver structure works and how hardware is probed mostly, at primary fault here is the fact that many drivers are in the kernel which probably should be loaded on demand. All that being said you can, if you wish of course, cut down on kernel boot times by making your own kernel, though it would be better for the distros to get a bit smarter about what actually needs to go in a kernel and what could go on the initrd and only be loaded if needed at boot or even later.
Just to add on, it's more complicated than that if you wanted to make that a permanent setup, because init sends out TTY hooks so that the kernel knows to start virtual terminals. So, yes, changing to /bin/sh would get you raw boot speed, but you wouldn't be able to get to shell. You'd be surprised how hard it is to turn Linux into a genuinely single user system (not just selecting single user mode at boot and running as root).
But I understood your comment, which was just talking about the benchmark usage. Point taken.
Those of you who are interested in seeing faster booting times might get a pleasant surprise in the next release cycle of your favorite distro. The big project currently underway to deliver more speed is called "systemD" and Fedora, at least, hopes to deliver it by April 2011:
http://fedoraproject.org/wiki/Features/systemd
I'm not a Fedora user myself (currently using Lubuntu), but I think all the big distros will implement systemD as soon as possible.





Member since:
2010-03-30
it would be good to see somewhere in release notes something that looks like: boot time reduced by 30% or 50%.
Or is the responsibility of speed improvements not on the kernel?