Hi,

On Sun, 20 Aug 2006 22:01:24 -0400 Jerry McBride
<[EMAIL PROTECTED]> wrote:

> Would some kind soul save me a bit of research time? Which of the two 
> alternative init schemes are faster, initng or runit?

That most likely doesn't depend on the init process. Most time is
consumed by the numerous (re-)starts of /bin/sh, i.e. bash in most
cases, through all the init scripts.

If you're about to play with an embedded device like machine and boot
time really matters, I'd suggest writing the system setup tasks (rcS)
in pure C. If you want to save a few shell startups, you might as well
use /etc/inittab and sysvinit. Sysvinit, initng, runit or minit (which
I like best) doesn't really matter for timing. That time is wasted in
other places.

For a VDR (digital PVR) machine, I'm using busybox' reduced sysvinit
clone. Works like a charm, from boot till VDR running it's about 30sec.
You might get a few more seconds for reimplementing system setup in
pure C, as suggested. AFAIK, e.g. the Linksys Linux firmware does that.
You might consider using their program as a template.

-hwh
-- 
gentoo-user@gentoo.org mailing list

Reply via email to