* [gentoo-dev] Re: idea for speeding up the boot process in Gentoo..
@ 2002-09-06 13:09 COFFMAN Steven
2002-09-07 1:25 ` Felipe Ghellar
0 siblings, 1 reply; 6+ messages in thread
From: COFFMAN Steven @ 2002-09-06 13:09 UTC (permalink / raw
To: gentoo-dev
Starting all boot scripts as background processes can potentially lead to
some scripts starting before prerequisite ones have finished. For instance,
if your network hasn't come up yet, and you start network services.
Better solutions include Serel (www.fastboot.org) and Richard Gooch's fast
boot scripts: http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/
Currently, the trade off between flexibility of serel versus the
low-overhead of Richard's scripts has meant neither has been adopted over
the present standard. I've heard people suggest hybrid approaches like using
something like serel to generate something like Richard's scripts.
Anyway... back to lurking.
-Steve
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-dev] RE: idea for speeding up the boot process in Gentoo..
@ 2002-09-06 13:12 COFFMAN Steven
0 siblings, 0 replies; 6+ messages in thread
From: COFFMAN Steven @ 2002-09-06 13:12 UTC (permalink / raw
To: gentoo-dev
Sorry. Richard Gooch's scripts are here:
http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/
-Steve
-----Original Message-----
From: COFFMAN Steven
Sent: Fri 9/6/2002 9:09 AM
To: gentoo-dev@gentoo.org
Cc:
Subject: Re: idea for speeding up the boot process in Gentoo..
Starting all boot scripts as background processes can potentially lead to
some scripts starting before prerequisite ones have finished. For instance,
if your network hasn't come up yet, and you start network services.
Better solutions include Serel (www.fastboot.org) and Richard Gooch's fast
boot scripts: http://www.atnf.csiro.au/people/rgooch/linux/boot-scripts/
Currently, the trade off between flexibility of serel versus the
low-overhead of Richard's scripts has meant neither has been adopted over
the present standard. I've heard people suggest hybrid approaches like using
something like serel to generate something like Richard's scripts.
Anyway... back to lurking.
-Steve
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: idea for speeding up the boot process in Gentoo..
2002-09-06 13:09 [gentoo-dev] Re: idea for speeding up the boot process in Gentoo COFFMAN Steven
@ 2002-09-07 1:25 ` Felipe Ghellar
2002-09-07 2:07 ` Marko Mikulicic
0 siblings, 1 reply; 6+ messages in thread
From: Felipe Ghellar @ 2002-09-07 1:25 UTC (permalink / raw
To: gentoo-dev
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii; format=flowed, Size: 537 bytes --]
If the init scripts could be organized like a tree of dependencies, at
least each branch could be parallelized.
COFFMAN Steven wrote:
> Starting all boot scripts as background processes can potentially lead to
> some scripts starting before prerequisite ones have finished. For instance,
> if your network hasn't come up yet, and you start network services.
>
_______________________________________________________________________
Yahoo! Encontros
O lugar certo para encontrar a sua alma gêmea.
http://br.encontros.yahoo.com/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: idea for speeding up the boot process in Gentoo..
2002-09-07 1:25 ` Felipe Ghellar
@ 2002-09-07 2:07 ` Marko Mikulicic
2002-09-08 23:49 ` Evan Read
0 siblings, 1 reply; 6+ messages in thread
From: Marko Mikulicic @ 2002-09-07 2:07 UTC (permalink / raw
To: Felipe Ghellar; +Cc: gentoo-dev
Felipe Ghellar wrote:
> If the init scripts could be organized like a tree of dependencies, at
> least each branch could be parallelized.
It's not always a tree. It is a graph. A package can have multiple
dependencies.
I think it could be possible to execute dependecies in parallel (the
entire runlevel seen like
a script with the whole directory as a dependency) and waiting for
completion. Once a script is running
other invocations will be queued.
Of course this a simplistic view... :-) (reverse stoping, error
handling,.... )
Marko
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: idea for speeding up the boot process in Gentoo..
2002-09-07 2:07 ` Marko Mikulicic
@ 2002-09-08 23:49 ` Evan Read
0 siblings, 0 replies; 6+ messages in thread
From: Evan Read @ 2002-09-08 23:49 UTC (permalink / raw
To: Marko Mikulicic; +Cc: gentoo-dev
On Sat, 7 Sep 2002 12:07, Marko Mikulicic wrote:
> Felipe Ghellar wrote:
> > If the init scripts could be organized like a tree of dependencies, at
> > least each branch could be parallelized.
>
> It's not always a tree. It is a graph. A package can have multiple
> dependencies.
> I think it could be possible to execute dependecies in parallel (the
> entire runlevel seen like
> a script with the whole directory as a dependency) and waiting for
> completion. Once a script is running
> other invocations will be queued.
> Of course this a simplistic view... :-) (reverse stoping, error
> handling,.... )
>
Possibly conflicts could be solved by running something like "rc-update
optimise" where a script would "fake load" scripts to determine what could be
parallelised and what couldn't.
Then each system would have its own load order based on its dependencies. If
one runs "rc-update" to say add mysql to the boot list, then the "optimise
file" would be blown away and must be run again manually (unless in rc.conf
or something ;).
Can anyone shoot this?
Evan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] Re: idea for speeding up the boot process in Gentoo..
[not found] <20020910122705.1915AAC6B6@chiba.3jane.net>
@ 2002-09-10 17:51 ` Julien Cayzac
0 siblings, 0 replies; 6+ messages in thread
From: Julien Cayzac @ 2002-09-10 17:51 UTC (permalink / raw
To: gentoo-dev
On Sat, 7 Sep 2002 12:07, Marko Mikulicic wrote:
> Felipe Ghellar wrote:
> > If the init scripts could be organized like a tree of dependencies, at
> > least each branch could be parallelized.
>
> It's not always a tree. It is a graph. A package can have multiple
> dependencies.
> I think it could be possible to execute dependecies in parallel (the
> entire runlevel seen like
> a script with the whole directory as a dependency) and waiting for
> completion. Once a script is running
> other invocations will be queued.
> Of course this a simplistic view... :-) (reverse stoping, error
> handling,.... )
You will find what you describe at http://www.fastboot.org/
It's called SEREL.
Regards,
Julien.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-09-10 17:45 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 13:09 [gentoo-dev] Re: idea for speeding up the boot process in Gentoo COFFMAN Steven
2002-09-07 1:25 ` Felipe Ghellar
2002-09-07 2:07 ` Marko Mikulicic
2002-09-08 23:49 ` Evan Read
-- strict thread matches above, loose matches on Subject: below --
2002-09-06 13:12 [gentoo-dev] " COFFMAN Steven
[not found] <20020910122705.1915AAC6B6@chiba.3jane.net>
2002-09-10 17:51 ` [gentoo-dev] " Julien Cayzac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox