Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 20:56:04 +0200
From:      David Naylor <naylor.b.david@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   rc improvements (wanted?)
Message-ID:  <200807172056.08835.naylor.b.david@gmail.com>

next in thread | raw e-mail | index | archive | help
--nextPart11160469.VydgZtgdq0
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

A while back I worked on an "improvement" for rc.  Most of the work was in=
=20
recoding rcorder. =20

The 'improvements' in rcorder:
* Add -e -i commands (allows simplification of rc by removing need for=20
early_late checks)
* Add stagnation or parallel support (all scripts in a stage can be execute=
d=20
concurrently without conflict)
* Marginal speed increase (irrelevant since previous version is fast enough=
=20
[unless one is worried about milliseconds on start-up time])

The main reason for this work was to increase start-up time (on the userlan=
d=20
side) by running as many scripts concurrently as possible.  This approach=20
allows only a minimal change in the rc scripts (there is a more efficient=20
method but that would mean moving most of the controlling logic into a=20
binary). =20

I am eager to continue with developing the above if the FreeBSD project (an=
d=20
developers) want such a change?  Or alternatively I could pass on the work=
=20
already done to someone interested. =20

[[Side note: I stopped  short of actually field testing the concurrent chan=
ges=20
to rc (rcorder and the simplifications to rc scripts works]]

Regards

David

--nextPart11160469.VydgZtgdq0
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

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

iD8DBQBIf5XIUaaFgP9pFrIRAtgLAKCLJYResjdDc+zSovJzYh7TPl1y5ACeK+3c
Wjo2BJbQQREmBOisJpIMwuo=
=fB3D
-----END PGP SIGNATURE-----

--nextPart11160469.VydgZtgdq0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807172056.08835.naylor.b.david>