From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 13 20:58:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1A531065672 for ; Wed, 13 Jun 2012 20:58:53 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA018FC12 for ; Wed, 13 Jun 2012 20:58:53 +0000 (UTC) Received: by obcni5 with SMTP id ni5so1753614obc.13 for ; Wed, 13 Jun 2012 13:58:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=6xUatDbhsEztRRR7prjgZzf9e4gfIigewFuyn6jXNHw=; b=FWzupTieprEbZ2gdYDmtmkJ+YZS2Uv3IRmN4ag3JWWrPOkHJ9y2rxFQzqf5TCujOos 1fnZG1RQUPwSPQY5gSOGajv08EDGJ3oSUDImTeJmzH9FI+ecRRTIJcri59K/2MTfGWJG LnPgX/HO3Q1liTWqi2vACaFFXLvtsmY03AtNU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding:x-gm-message-state; bh=6xUatDbhsEztRRR7prjgZzf9e4gfIigewFuyn6jXNHw=; b=DsDyHmCzs7IQ3qPk7mwaV5rHPG6wKAobh8kQPqxqsjASOgUqZUcjjfaBIrQO8Gy1R2 PO5dADOjg0crOrVhId8icjM6EQhR8270XnFJy39Udm7gzy1IxEnPi6c5M+YGrm5we0BA g/K0u8mHrgCY/qdgqQNv0DS8xKpF/MKs4hwKIO6te7Kc5nfaPRauI81ArPGli4rW1Aj1 Ya6anCXQqUj6fa/pu/i7MRlDi1eRN3l+xyBE/SNZYLitUu4cq/VJ3TxnKiyFzSOW5CWZ mGuG+c8F/kkejC/8TuQTT4Ekyzs1/4zJLJwdkGSK+kMMOQdfBilZInIKvrgssDGfPHgx 5Quw== Received: by 10.182.108.71 with SMTP id hi7mr2593640obb.21.1339621132943; Wed, 13 Jun 2012 13:58:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.204.69 with HTTP; Wed, 13 Jun 2012 13:58:20 -0700 (PDT) In-Reply-To: <201206132155.22111.hselasky@c2i.net> References: <4FD66F7E.2060404@brandonfa.lk> <1339593689.73426.8.camel@revolution.hippie.lan> <201206132155.22111.hselasky@c2i.net> From: Eitan Adler Date: Wed, 13 Jun 2012 13:58:20 -0700 Message-ID: To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQnAd7xy6bVuVteAc6hNCqbyMwnQDWBm+w5av+iDq4IlnkKwqYHM0khm1Ef884uvHPc7+hok Cc: freebsd-hackers@freebsd.org, Wojciech Puchar , Ian Lepore Subject: Re: FreeBSD Boot Times X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2012 20:58:54 -0000 On 13 June 2012 12:55, Hans Petter Selasky wrote: > On Wednesday 13 June 2012 15:21:29 Ian Lepore wrote: >> On Wed, 2012-06-13 at 09:10 +0200, Wojciech Puchar wrote: >> > > Greetings, >> > > >> > > I was just wondering what it is that FreeBSD does that makes it take= so >> > > long to boot. Booting into Ubuntu minimal or my own custom Linux >> > > distro, literally takes 0.5-2 seconds to boot up to shell, where >> > > FreeBSD takes about 10-20 seconds. I'm not sure if anything could be >> > > parallelized in the boot process, >> > >> > mostly kernel time. >> > >> > > Note: This isn't really an issue, moreso a curiosity. >> > >> > true. system that never crash are not often booted >> >> An embedded system may be booted or powered cycled dozens of times a >> day, and boot time can be VERY important. =C2=A0Don't assume that the wa= y you >> use FreeBSD is the only way. >> >> -- Ian > > Try setting: > > sysctl hw.usb.no_boot_wait=3D1 Can you explain in a bit more detail what this does and why it isn't defaul= t? --=20 Eitan Adler