On Thu, 16 May 2002, Ronald G Minnich wrote: >--|I have traced /etc/rc startup. Very little of the time is spent running >--|things. A lot of the time is spent source files so that a script can >--|decide it DOES NOT need to run. It is a very inefficient system. On one >--|system I measured, all the scripts that ran and files that were opened >--|(hundreds of them) resulted in the execution of 12 commands. >--| >--|You should be able to start up from init to login in < 1 second with an >--|efficient rc scheme. That's the big time consumer right now.
We use djb's daemontools for booting all of our servers... And we've replaced init with runit... runit is a package by Gerrit Pape that uses svscanboot from the daemontools package to start up all services. svscanboot in turn starts a a svscan utility to run supervise processes for each service... that way if a service crashes, it is restarted automatically. This, I feel, is one of the best ways to have a clean and stable system startup. I know that many people are adverse to using djb's tools and utils... however, daemontools is one that can save a lot of sweat through time. I've found this to be fast and very reliable... So if LinuxBios can do its job real fast, daemontools/runit can very well take care of the rest. cheers, abhas. -- ------------------------------------------------------------------- Abhas Abhinav | Free Software at its product-ive best. CEO, DeepRoot Linux http://www.deeproot.co.in ---- Server Appliances ---- Ph: +91 (80) 856 5624 ---- Linux Support and Services ---- -------------------------------------------------------------------
