Paralell startup

Havoc Pennington hp at redhat.com
Thu Oct 21 20:55:47 UTC 2004


On Wed, 2004-10-20 at 08:55 -0400, Tim Daly wrote:
> >> I am hearing much good from the gentoo camp about paralell startup, and
> >> how it brings down boot times to about 30 secounds. Is this possible to
> >> do with fedora as well?
> >
> >Gentoo, instead of numeric order of service startup which we have in
> >fedora, implements service dependencies. With dependencies it is pure
> >implementation detail to have system startup in parallel.
> >
> >I doubt if anyone with @redhat.com suffix will consider reworking
> >initscripts to mind service dependencies ...
> 
> sure sounds like a job for makefile. even with numbered tasks it should
> be possible to construct a makefile that would handle it. indeed, i
> believe pmake will handle the parallelization issues.

Makefile isn't the way to go, it has the same problem as shell scripts:
error reporting and fine-grained control isn't very easy.

With something like D-BUS involved it's far easier to e.g. have GUI for
progress meters, starting/stopping services, display meaningful error
messages, and so forth. You also avoid some of the yucky issues such as
stuck PID files. Basically it's a lot more deterministic and extensible.

Havoc





More information about the devel mailing list