From owner-freebsd-rc@FreeBSD.ORG Wed Aug 24 09:39:16 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 E90F1106566B for ; Wed, 24 Aug 2011 09:39:16 +0000 (UTC) (envelope-from vmagerya@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id A665A8FC1A for ; Wed, 24 Aug 2011 09:39:16 +0000 (UTC) Received: by vxh11 with SMTP id 11so1098066vxh.13 for ; Wed, 24 Aug 2011 02:39:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kc+2lkLFzpRMfD+lWpnZpmPwCitv+4UwdXC+hKL4tXk=; b=cJiEukFrDI8Vb3DAh02IGX1bYWDZ7S07cl4C/z9s5DQtqlCjty8VW7qWp9mX1s+6rw 95tb5R/nVhsI4pwrhBqYaT8syrDVO8GUW86Iprb/FAARDkMI8KNcQaEU6LYuTarYFMK6 KchQF5TIue15OBy/Tx9JLXMyZj98qMspsYDxM= MIME-Version: 1.0 Received: by 10.52.175.164 with SMTP id cb4mr4675212vdc.381.1314176921782; Wed, 24 Aug 2011 02:08:41 -0700 (PDT) Received: by 10.52.160.39 with HTTP; Wed, 24 Aug 2011 02:08:41 -0700 (PDT) In-Reply-To: <20110821121509.GA27730@crane.none> References: <20110821121509.GA27730@crane.none> Date: Wed, 24 Aug 2011 12:08:41 +0300 Message-ID: From: Vitaly Magerya To: kilian Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org, freebsd-rc@freebsd.org 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:39:17 -0000 > the idea to start services concurrently during boot isn't new and the > question why FreeBSD doesn't do it has popped up on the forum and > mailing list occasionally. So, why not give it a shot? As someone who uses FreeBSD on hist laptop and is constantly annoyed by the lack of suspend-to-disk, every second trimmed of from boot time is a win. In line of the recent FreeBSD problems & solutions discussion, would any commiter take time to review and commit this? "FreeBSD 9.1 introduces concurrent startup, improves boot speed" is the kind of buzz we're after. > Any ideas and feedback are very welcome! 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).