From owner-freebsd-rc@FreeBSD.ORG Wed Aug 24 09:12:00 2011 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A667106566B; Wed, 24 Aug 2011 09:12:00 +0000 (UTC) (envelope-from dirkx@webweaving.org) Received: from pikmeer.webweaving.org (unknown [IPv6:2001:1af8:4100:b040::20]) by mx1.freebsd.org (Postfix) with ESMTP id DFF2E8FC12; Wed, 24 Aug 2011 09:11:59 +0000 (UTC) Received: from neep.home (host81-159-211-94.range81-159.btcentralplus.com [81.159.211.94]) (authenticated bits=0) by pikmeer.webweaving.org (8.14.4/8.14.4) with ESMTP id p7O9BrdR048866 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 24 Aug 2011 09:11:53 GMT (envelope-from dirkx@webweaving.org) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: Dirk-Willem van Gulik In-Reply-To: Date: Wed, 24 Aug 2011 10:11:59 +0100 Content-Transfer-Encoding: 7bit Message-Id: <236FDE42-804C-4ADE-AD3C-2EF8D43522EA@webweaving.org> References: <20110821121509.GA27730@crane.none> To: Vitaly Magerya X-Mailer: Apple Mail (2.1244.3) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (pikmeer.webweaving.org [178.18.23.51]); Wed, 24 Aug 2011 09:11:54 +0000 (UTC) Cc: freebsd-rc@freebsd.org, freebsd-hackers@freebsd.org, kilian Subject: Re: Concurrent execution of rc-scripts with rcorder(8) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2011 09:12:00 -0000 On 24 Aug 2011, at 10:08, Vitaly Magerya wrote: > One thing to try is to attach a diagnostics feature that will produce > data about rc script dependencies and execution times, which can > be used to visualize which scripts take most time, and how to > reorganize dependencies to improve boot time (one example I noticed > is moused: it is only started after network is up, which is a shame, > since it could easily start while DHCP negotiation is in progress). Perhaps https://github.com/buganini/rcexecr may be a good start. Dw