On Fri, 2012-06-15 at 14:10 -0700, Tim Bird wrote: > One of our early efforts, getting busybox > to not fork commands in init scripts that it had as > builtins, proved to be a significant feature that is still > valuable today to improve boot time.
I'd add that one thing we did with Poky's init system a while ago was went through and for every fork we found, tried to find ways to avoid it. Certainly, a few years ago, we were down to about four busybox/shell util (grep/sed/cat) forks in the init scripts through to an X desktop. I've not looked at this recently but we certainly used to be pretty good in that area. We also source init scripts, not execute them where they have the extension .sh, again for performance (less exec overhead). This all stayed pretty much compatible with sysvinit and is what we use to this day. I appreciate we do need to improve, there is plenty of room for it and look at things like systemd. Cheers, Richard _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto