On Fri, Feb 12, 2010 at 02:22:42PM +0100, Guido Berhoerster wrote:
* Stephan Kulow <coolo@novell.com> [2010-02-12 12:32]:
I submitted a new package to openSUSE:Factory: upstart. Mainly because of https://features.opensuse.org/305690 - the biggest gain of having it is clearly that everyone else has it, it doesn't get openSUSE a win right away. But not having it, may become a disadventage shortly - who knows.
For now we will support sysvinit and upstart as alternatives, but my preference would be not for long. The package I submitted is pretty much only a start and adopting our scripts to upstart will be less of a pain if we do not have to support alternatives.
If speeding up the bootup process is a concern, considering that the execution of bootup scripts is already parallelized, wouldn't it be more productive to switch to a faster shell for init scripts?
Quoting https://wiki.ubuntu.com/DashAsBinSh:
The boot speed improvements in Ubuntu 6.10 were often incorrectly attributed to Upstart, which is a fine platform for future development of the init system but in Ubuntu 6.10 was primarily running in System V compatibility mode with only small behavioural changes. These improvements were in fact largely due to the changed /bin/sh.
AFAIK dash is not POSIX fully complied nor compatible with /bin/bash its self ... and IMHO it is a myth that dash in comparision with bash would speed up the boot process a lot. E.g. this because I've start up of the bash a lot by using a larger runtime linker cache and also removed the -PIE linker option ... in fact the bash starts up faster but this was not visible in the boot process its self. The bottlenecks are normally given by I/O load of the system its self and the numbers of required fork()/execve() pairs. Beside this many scripts have to be rewritten in case of using dash as /bin/sh ... even third party scripts. We're already booting scripts in parallel even with the old sysvinit. But, nevertheless, one advantage of upstart over the old sysvinit is the possiblity to define event driven actions. This enables us to move statically boot scripts into the event driven bay to be able to enable a resource on runtime demand. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org