linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Helge Hafting <helge.hafting@aitel.hist.no>
To: Bernd Petrovitsch <bernd@firmix.at>
Cc: Kyle Moffett <mrmacman_g4@mac.com>,
	Lee Revell <rlrevell@joe-job.com>,
	Patrick McFarland <pmcfarland@downeast.net>,
	linux-kernel@vger.kernel.org, Tim Bird <tim.bird@am.sony.com>,
	Prakash Punnoor <prakashp@arcor.de>,
	Paolo Ciarrocchi <paolo.ciarrocchi@gmail.com>,
	linux-hotplug-devel@lists.sourceforge.net,
	Greg KH <gregkh@suse.de>, Roland Dreier <roland@topspin.com>
Subject: Re: [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release)
Date: Tue, 15 Feb 2005 14:20:06 +0100	[thread overview]
Message-ID: <4211F706.4030104@aitel.hist.no> (raw)
In-Reply-To: <1108459982.438.9.camel@tara.firmix.at>

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

 

  reply	other threads:[~2005-02-15 13:18 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-11  0:40 [ANNOUNCE] hotplug-ng 001 release Greg KH
2005-02-11  0:52 ` Greg KH
2005-02-11  1:30   ` Kasper Sandberg
2005-02-11  6:41     ` Greg KH
2005-02-11 11:47       ` Kasper Sandberg
2005-02-11 17:06         ` Greg KH
2005-02-12  0:02           ` Kasper Sandberg
2005-02-11  1:07 ` Patrick McFarland
2005-02-11  1:16   ` Greg KH
2005-02-11 20:40     ` Vojtech Pavlik
2005-02-14  4:06     ` Lee Revell
2005-02-14  8:32       ` Paolo Ciarrocchi
2005-02-14  8:51         ` Prakash Punnoor
2005-02-14 23:04           ` Lee Revell
2005-02-14 23:16             ` Greg KH
2005-02-14 23:28               ` Lee Revell
2005-02-15 15:15                 ` Stefan Seyfried
2005-02-15 20:12                   ` kernel
2005-02-14 23:21             ` Roland Dreier
2005-02-14 23:45               ` [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release) Lee Revell
2005-02-15  0:16                 ` Tim Bird
2005-02-15  1:17                   ` Lee Revell
2005-02-15  1:45                     ` Kyle Moffett
2005-02-15  7:32                       ` Gábor Lénárt
2005-02-15  8:34                         ` Paolo Ciarrocchi
2005-02-15  9:27                           ` [OT] speeding boot process Bernd Petrovitsch
2005-02-15  8:55                       ` [OT] speeding boot process (was Re: [ANNOUNCE] hotplug-ng 001 release) Helge Hafting
2005-02-15  9:33                         ` Bernd Petrovitsch
2005-02-15 13:20                           ` Helge Hafting [this message]
2005-02-15 13:28                             ` Paulo Marques
2005-02-15 13:50                             ` Bernd Petrovitsch
2005-02-16  1:54                             ` Miquel van Smoorenburg
2005-02-15  3:38                     ` Jim Crilly
2005-02-15  5:52                       ` Nigel Cunningham
2005-02-15  6:15                         ` Jim Crilly
2005-02-15  6:39                           ` Nigel Cunningham
2005-02-15 19:32                           ` Lee Revell
2005-02-17 18:37                     ` jlnance
2005-02-17 19:18                       ` Chris Larson
2005-02-19  5:53                         ` Jim Crilly
2005-02-17 20:00                       ` Helge Hafting
2005-02-19  5:56                         ` Jim Crilly
2005-02-19 22:47                           ` Helge Hafting
2005-02-20  2:09                             ` Jim Crilly
2005-02-15  8:33                 ` Paolo Ciarrocchi
2005-02-14 23:43             ` [ANNOUNCE] hotplug-ng 001 release Diego Calleja
2005-02-15 19:51               ` Lee Revell
2005-02-15 21:02                 ` Diego Calleja
2005-02-15 21:32                   ` Chris Friesen
2005-02-15 21:09                 ` Valdis.Kletnieks
2005-02-15 19:56               ` Optimizing disk-I/O [was Re: [ANNOUNCE] hotplug-ng 001 release] Linas Vepstas
2005-02-15 20:46                 ` Adam Goode
2005-02-15 21:11                   ` Diego Calleja
2005-02-15 21:21                 ` Valdis.Kletnieks
2005-02-11  3:18 ` [ANNOUNCE] hotplug-ng 001 release Bill Nottingham
2005-02-11  6:46   ` Greg KH
2005-02-11 16:19     ` Christian Bornträger
2005-02-11 17:01       ` Greg KH
2005-02-11 19:01         ` Erik Andersen
2005-02-11 19:23           ` Greg KH
2005-02-11 21:37             ` Erik van Konijnenburg
2005-02-11 21:49               ` Greg KH
2005-02-11 22:06                 ` Erik van Konijnenburg
2005-02-11 22:13                   ` Greg KH
2005-02-12  0:48                     ` Ingo Oeser
2005-02-14 22:43                       ` Greg KH
2005-02-11  9:52 ` Olivier Galibert
2005-02-11 17:08   ` Greg KH
2005-02-11 20:06 ` Harald Dunkel
2005-02-11 21:01   ` Greg KH
2005-02-12  8:30     ` Harald Dunkel
2005-02-14 22:36       ` Greg KH
2005-02-15  5:39         ` Harald Dunkel
2005-02-15  7:14           ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4211F706.4030104@aitel.hist.no \
    --to=helge.hafting@aitel.hist.no \
    --cc=bernd@firmix.at \
    --cc=gregkh@suse.de \
    --cc=linux-hotplug-devel@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mrmacman_g4@mac.com \
    --cc=paolo.ciarrocchi@gmail.com \
    --cc=pmcfarland@downeast.net \
    --cc=prakashp@arcor.de \
    --cc=rlrevell@joe-job.com \
    --cc=roland@topspin.com \
    --cc=tim.bird@am.sony.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).