Fedora: an example of community involvement
Fedora: an example of community involvement
Posted Nov 25, 2004 9:35 UTC (Thu) by forthy (guest, #1525)Parent article: Fedora: an example of community involvement
One culprit of long boot time is init, which starts processes
sequentially. On the last LinuxTag, a guy next to me in the bar BQ queue
told me that he had changed init to run all the setup scripts of one
run-level in parallel, and reported a very significant speed-up in boot
time. It's probably not an universal solution, since run levels are not
necessary dependency graphs, but creating such a dependency graph and
executing it as parallel as possible should help (or at least start all
S<n> scripts with equal n in parallel).
Posted Nov 26, 2004 20:29 UTC (Fri)
by niner (subscriber, #26151)
[Link]
Are there distros out there that do not already behave this way?
I'm a little bit surprised. I know that at least on SuSE exactly this is done. Init scripts have priorities inidcated by the number between S and the scriptname in the runlevel link. These numbers are calculated through dependencies given by special comments in the init scripts themselves and all scripts with the same priority are started in parallel. So this is already implemented and even standardized in the Linux Standards Base: http://refspecs.freestandards.org/LSB_2.0.1/LSB-Core/LSB-...Fedora: an example of community involvement