From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Hafting Date: Tue, 15 Feb 2005 13:20:06 +0000 Subject: Re: [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 Message-Id: <4211F706.4030104@aitel.hist.no> List-Id: References: <20050211004033.GA26624@suse.de> <420C054B.1070502@downeast.net> <20050211011609.GA27176@suse.de> <1108354011.25912.43.camel@krustophenia.net> <4d8e3fd305021400323fa01fff@mail.gmail.com> <42106685.40307@arcor.de> <1108422240.28902.11.camel@krustophenia.net> <524qge20e2.fsf@topspin.com> <1108424720.32293.8.camel@krustophenia.net> <42113F6B.1080602@am.sony.com> <1108430245.32293.16.camel@krustophenia.net> <4B923A81-7EF3-11D9-86CC-000393ACC76E@mac.com> <4211B8FC.8000600@aitel.hist.no> <1108459982.438.9.camel@tara.firmix.at> In-Reply-To: <1108459982.438.9.camel@tara.firmix.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Bernd Petrovitsch Cc: Kyle Moffett , Lee Revell , Patrick McFarland , linux-kernel@vger.kernel.org, Tim Bird , Prakash Punnoor , Paolo Ciarrocchi , linux-hotplug-devel@lists.sourceforge.net, Greg KH , Roland Dreier Bernd Petrovitsch wrote: >On Tue, 2005-02-15 at 09:55 +0100, Helge Hafting wrote: >[...] > > >>The init-script dependencies are specifies already - at least on debian. >> >> > >These are not dependencies but "only" the sequence of startup (and it is >not only Debian but also Fedora/RedHat, SuSE, Mandrake and probably all >except Gentoo). > > Yes, it is a sequence. It it derived from real dependencies though, where nondependent stuff have the same number. >Yuo get a much stricter ordering and sorting (and thus much simpler to >implement in a shell script). > > Correct. >This would be a win (especially if the numbers are tweked to tune this) >with a relatively small effort. >However for real dependencies and parallelism you want the info similar >to creat a Makefile from it (i.e. the explicit dependency from service X >to service Y). As a consequence you can get rid of the numbers (since >they are not needed any more). > > Now that is a really good idea. Init could simply run "make -j init2" to enter runlevel 2. A suitable makefile would list all dependencies, and of course the targets needed for "init2", "init3" and so on. It might not be that much work either. Parallel make exists already, and the first attempt at a makefile could simply implement the current sequence that is known to work. Then the tweaking comes. :-) Helge Hafting ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel