From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 19:25:20 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E76E91065670 for ; Thu, 17 Jul 2008 19:25:20 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.189]) by mx1.freebsd.org (Postfix) with ESMTP id 6DBC48FC22 for ; Thu, 17 Jul 2008 19:25:20 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so55178fkk.11 for ; Thu, 17 Jul 2008 12:25:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:organization:to:subject :date:user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=Od/uhHN2oNDkWV3EhSToXXkLXa0j/08CQNqPODKgNIk=; b=ktWHOczW/bGRvgs8KJk40eM93vFVGzV6NKjZTRVX6dFgenrgBql6NJ8tpdlyaepQEX WEiVrVzlZEO2a3UVjJoSJFDyQw9SY+y7SOgCqkmi5KAHRta8TOK+3QFrckl3dXl0RI3I nYO+4JUSLT9b+n91AWhODzNVEYwsPyrwuNXWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:organization:to:subject:date:user-agent:mime-version :content-type:content-transfer-encoding:message-id; b=UKtebXSffWriRQdjRkdP9OPHsMustAGNf+eU8oskpGaHgXouk/7dxe2jKohZaPLH50 vVgOD82ly8BuvcdgUVabBtp7SQGDTAFMXW1MhDPSq6y+Jvc6iPZ2p/qfMQR8kICYM2qI fQ3Ub4/e/YLSf3baaEGmg6snbMLnFX7UF3dew= Received: by 10.187.194.7 with SMTP id w7mr1123616fap.75.1216322719446; Thu, 17 Jul 2008 12:25:19 -0700 (PDT) Received: from ?0.0.0.0? ( [196.34.241.123]) by mx.google.com with ESMTPS id p25sm1711085hub.32.2008.07.17.12.25.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 17 Jul 2008 12:25:18 -0700 (PDT) From: David Naylor Organization: Private To: freebsd-current@freebsd.org Date: Thu, 17 Jul 2008 20:56:04 +0200 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11160469.VydgZtgdq0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200807172056.08835.naylor.b.david@gmail.com> X-Mailman-Approved-At: Thu, 17 Jul 2008 19:35:33 +0000 Subject: rc improvements (wanted?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2008 19:25:21 -0000 --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--