LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Speeding up the boot process / Parallelizing init scripts ???

[ILUG] Speeding up the boot process / Parallelizing init scripts ???

kevin lyda kevin at suberic.net
Tue Apr 3 16:20:04 IST 2001


On Tue, Apr 03, 2001 at 03:28:13PM +0100, Glen Gray wrote:
> c) Init scripts seem to take a long time and here is where I am stuck.
> The only thing I could think 
>     of would be to some how paralleliz the scripts but a google search
> on such things only gave 
>     me stuff about beowulf pvm or The Hurd. Theoretically this could be
> done. But I'd like to see if 
>     it's been done safely before.

someone mentioned tossing the init scripts for a single script, i'd go
one better - toss the scripts.  write a c program to do all that and
have init run it.  should be easy to learn (by docs or init source or
trial and error) what rc script is run first and what args it gets.
then have the c program fork and exec what it needs to run.

one issue might be a need to set environment vars that the shell would
normally set.  again, figure this out by trial and error.

kevin

-- 
kevin at suberic.net          i...  i have a dream.  and that dream is:
fork()'ed on 37058400      use DIY::Tiler;
meatspace place: work      my($t) = new DIY::Tiler;
http://suberic.net/~kevin  $t->tile(-room => "en-suite", -style => "stone");




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell