DragonFly users List (threaded) for 2008-03
On Mar 21, 2008, at 15:40 , Robert Luciani wrote:
Christopher Rawnsley wrote:
I came across this today:
"eINIT is a replacement for /sbin/init -- the programme that is
responsible for booting your computer -- that is all about not
resources; that's not wasting CPU cycles, but also not wasting RAM
either, which should make eINIT very well suited for embedded
applications. However, that's not to say eINIT wouldn't work fine
swiftly) on regular desktops, laptops or servers."
Thought someone might be interested. It's licensed under the 3-clause
BSD and could even make a good GSoC project.
Not that anyone reboots often nowadays (even with laptops you just
suspend) but the init system has been discussed to death in Linux-
Most moderately fast computers have timeouts and disk latency as the
bottleneck during boot, not CPU usage. In addition, if we were to
replace the init system, it should be with something that is a bit
sophisticated with features like: service dependency lists, automatic
respawning, two way communication with running processes,
children from parent processes, "user" services, and more...
Like launchd, BootCache and Prefetch in Mac OS X.
launchd can do dependency, auto respawning, etc.
MacPorts also take advantage of launchd if user install Service like
Apache, Bind, etc.
FreeBSD has ported the launchd.
Not *BSD Licensing but APSL.
OTOH, if booting faster is what you really want, one trick that Linux
distros have been using, which seems to give moderate speed boosts on
old computers, is to monitor file access during boot and then
big file for it to cache before anything else. Another trick that some
have used is to bring up the gui before anything else (a la Windows).
For BootCache and some tricks that Mac OS X use to make system look
(Windows do something like it as well).
Chalmers University of Technology, SWE
Department of Computer Science and Engineering
- From: Christopher Rawnsley <firstname.lastname@example.org>
- Re: eINIT
- From: Robert Luciani <email@example.com>