NeoCool's Realm

Init


Replacing minit with init

Using minit as a smaller and faster replacement for init(1).
Init-scripts for minit.

Numbers

Tests were done on Lenin.
When doing a full boot with X, hotplug and the network daemons, minit does not gain me much, because hotplug needs 40 seconds for the USB coldplug stuff and X has to wait for this (Init: 01:10, Minit: 01:06). However, the gettys are up after 7 seconds with minit, because the hotplugging stuff can be done in the background (Init needs a whopping 01:03 before I can start to do any work). For shutting down the services, Init needs 16 seconds, while Minit needs only 4.
Binaries:
-rwxr-xr-x    1 root     root        25256 2004-02-23 19:44 /sbin/init
-rwxr-xr-x    1 root     root         6844 2004-03-24 03:29 /sbin/minit

Unfortunately, you will not really notice this, because 25k are hardly much on today's systems. But with 17 multilogs and a minit running, I have roughly the same memory footprint as with sysvinit.


Logo. Created by Boris Buegling. 100 % handcoded HTML. Created with ViM.