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

[-- Attachment #1 --]
Hi,

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

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

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

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

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

Regards

David

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

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

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