Am Freitag 12 Februar 2010 schrieb Guido Berhoerster:
* 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 Who said speeding the boot process has _anything_ to do with this? I surely didn't.
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.
Guido, it's a wiki - everyone can claim things in there. Let's say we start 30 init scripts during boot that will all do similiar things as the nscd script that I used for testing (things they do on top are hardly interesting as this will be very likely not be written in shell). With bash you get: coolo@desdemona#~>time /bin/bash -c "/etc/init.d/nscd status > /dev/null 2>&1" real 0m0.028s user 0m0.006s sys 0m0.009s Now let's assume there was a shell that would run the same in 1ms instead of 28 (I once had a dash compiled, but somehow I lost it - ash runs it in 38ms), then you would gain 30 * 27 ms - 810ms. More realistically you would cave 0-200ms. Now say how that is effective? Of course if we have init scripts that are program too much stuff in a language not made for speed (shell), then these should be changed - not to perl and python programs as often done but into small compiled programs. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org