userland boot time

Koen Kooi k.kooi at student.utwente.nl
Mon Jan 21 12:32:06 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael 'Mickey' Lauer schreef:

| c) keep sysvinit and just shuffle around runlevels and services. This
| will have the least speed impact, but could be sufficient to improve
| the user experience. We could, e.g. invent a new runlevel that only
| starts the necessary services to get X starting up and then go to init
| 5, starting other services in the background while the user can
| operate the device.

The X-server (<= 1.3.0.0) needs basically 2 things:

* networking
* tty*, fb* entries in /dev

So you could move starting the X-server way forward in the boot order.
Note that userland needs dbus (and kdrive 1.4), so putting
xserver-kdrive-nodm-init right after dbus should work.

Andy Green schreef:

| The issue here is that the current rcS.d first the rc5.d blocks the
| sexy things that live in rc5 (X) until expensive stuff like udev (18s)
| completes from rcS.

Check your kernel defconfig, it probably has a gazillion virtual
consoles, decrease those to like 8 and udev starts up almost
instantaniously. Related to that, more recent udevs use a different
method to create devnodes which is said to be faster.

regards,

Koen

- --
koen at dominion.kabel.utwente.nl will go go away in december 2007, please
use k.kooi at student.utwente.nl instead.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFHlIK2MkyGM64RGpERAn3lAJ99mE5ELXINXWrYYCCuPAaI/rI1sgCcDKob
EeEXukauPmIDBg5STvxeflU=
=CGsV
-----END PGP SIGNATURE-----



More information about the distro-devel mailing list