From owner-freebsd-current@FreeBSD.ORG Thu Jul 17 21:26:05 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 345D81065673 for ; Thu, 17 Jul 2008 21:26:05 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail13.syd.optusnet.com.au (mail13.syd.optusnet.com.au [211.29.132.194]) by mx1.freebsd.org (Postfix) with ESMTP id AFE688FC14 for ; Thu, 17 Jul 2008 21:26:04 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail13.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m6HLQ2Rx026597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Jul 2008 07:26:02 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m6HLQ1mB056974; Fri, 18 Jul 2008 07:26:01 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m6HLQ12I056973; Fri, 18 Jul 2008 07:26:01 +1000 (EST) (envelope-from peter) Date: Fri, 18 Jul 2008 07:26:01 +1000 From: Peter Jeremy To: David Naylor Message-ID: <20080717212601.GZ62764@server.vk2pj.dyndns.org> References: <200807172056.08835.naylor.b.david@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qicHaSekiYEWE95x" Content-Disposition: inline In-Reply-To: <200807172056.08835.naylor.b.david@gmail.com> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-current@freebsd.org Subject: Re: 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 21:26:05 -0000 --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 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--