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>

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

--qicHaSekiYEWE95x
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2008-Jul-17 20:56:04 +0200, David Naylor <naylor.b.david@gmail.com> wrot=
e:
>* Add stagnation or parallel support (all scripts in a stage can be execut=
ed=20
>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 userla=
nd=20
>side) by running as many scripts concurrently as possible.

'Reduce' maybe...

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

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.

--=20
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.

--qicHaSekiYEWE95x
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

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

--qicHaSekiYEWE95x--



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