Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jul 2008 07:26:01 +1000
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        David Naylor <naylor.b.david@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rc improvements (wanted?)
Message-ID:  <20080717212601.GZ62764@server.vk2pj.dyndns.org>
In-Reply-To: <200807172056.08835.naylor.b.david@gmail.com>
References:  <200807172056.08835.naylor.b.david@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 2008-Jul-17 20:56:04 +0200, David Naylor <naylor.b.david@gmail.com> wrote:
>* Add stagnation or parallel support (all scripts in a stage can be executed 
>concurrently without conflict)

This sounds like a worthwhile improvement for most cases.  Note that
it probably needs some degree of rate limiting - just forking off
dozens of startup scripts may be counter-productive - especially if
they are I/O bound.

>The main reason for this work was to increase start-up time (on the userland 
>side) by running as many scripts concurrently as possible.

'Reduce' maybe...

>method but that would mean moving most of the controlling logic into a 
>binary).  

I don't see how to safely do all the parallelisation using scripting
tools that are available in the base system

>[[Side note: I stopped short of actually field testing the concurrent
>changes to rc (rcorder and the simplifications to rc scripts works]]

Ummm,..  Unless I've misunderstood something, you have just said that
your main driver for this was implementing concurrency but you haven't
actually tested that.

-- 
Peter Jeremy
Please excuse any delays as the result of my ISP's inability to implement
an MTA that is either RFC2821-compliant or matches their claimed behaviour.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkh/uOkACgkQ/opHv/APuIcR+ACeJBNjPdKm0u/puJ4aGI4lGQI5
SNsAnA8qCuI/hpa9beQQTpbsmrqYN8Jt
=nZlk
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080717212601.GZ62764>