Mandrake Linux Archives: cooker@mandrivalinux.org

Mandrake Linux: cooker@mandrivalinux.org


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

  • From: Couriousous
  • Subject: Re: [Cooker] Pinit and LSB compatibility questions
  • Date: 10 Jan 2006 20:01:26 -0000

Le Mardi 10 Janvier 2006 20:55, Luca Berra a écrit :
> On Tue, Jan 10, 2006 at 06:36:05PM +0100, Thierry Vignaud wrote:
> >Luca Berra <bluca@comedia.it> writes:
> >> > Please note that Claudio and Laerte have been working on modular
> >> > initialization, by splitting the giant rc.sysinit script.
> >> > http://qa.mandriva.com/twiki/bin/view/Main/ModularInitialization
> >> > http://qa.mandriva.com/twiki/bin/view/Main/SystemInitialization
> >>
> >> i had a look at the SysV.tgz in there.
> >> apart from the comments in portugese, i think that calling each
> >> script in /etc/rc.d/rcS.d from /etc/rc.d/rc would slow things down
> >> terribly.
> >> so a better way has to be found to merge all the parts toghether.
> >
> >we can paralize them after this and move some of them to other
> >packages, thus actually reducing the number of runned commands (b/c of
> >uninstalled stuff)
>
> the problem is that rc forks_and_execs (for every scriptlet)
> /sbin/splash
> egrep
> initlog

Since it forks thoses stuff really often the kernel keep them in cache, so 
this is not a big problem. Keep in mind that creating a new process ( fork ) 
is highly optimised under unix/linux and doesn't cost a lot more than 
creating a thread.

Couriousous



Date Index | Thread Index

Search the archive:



To (un)subscribe from/to the lists:

Sympa mailing lists server.





Fund the Mandriva Linux project

Looking for a job?