From owner-freebsd-current@FreeBSD.ORG Sun Jun 12 19:05:19 2011 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 2C819106564A; Sun, 12 Jun 2011 19:05:19 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C8D078FC16; Sun, 12 Jun 2011 19:05:18 +0000 (UTC) Received: by iwn33 with SMTP id 33so4919197iwn.13 for ; Sun, 12 Jun 2011 12:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:date:from:to:cc:subject:message-id :reply-to:references:mime-version:content-type:content-disposition :in-reply-to:x-openpgp-key-id:x-openpgp-key-fingerprint :x-openpgp-key-url; bh=q4rf50knn5fSgAQ8vVJApxNUbvvq4KxZ+xY+4yU5Amw=; b=XBV4UIkK3TjlABgZjQXhYnkECd4ZdOk9y51PpWB2xVEaUQI0tfUA4QjfwKYiiV1YVe pdgrT4WXlrqC7jwlBTq+p+a7+9J3Sbo444jzTpRjL7LGco98aWAl/PuphrWnNVsaL0tr N9sTS9R9rLtFyAhaz9X+7PU4l1/mipA/Xzwxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :x-openpgp-key-id:x-openpgp-key-fingerprint:x-openpgp-key-url; b=mRuB0bpjiEef+VPn9iqTve0V0fPUUSAtiautEMndr/5WM0povS6VCuetOaaMjKemIJ +q87PskwVgfmdBsZDkIQp4hyZSzmxfJRTRr+eIrnu1lr0hiGZVrf47WEBVA2/TKV7SVF W19Ia0XpPWTq0Zc9bkn7ZSA0YOGLo3X6+Imf0= Received: by 10.42.1.12 with SMTP id 12mr5805584ice.366.1307905516169; Sun, 12 Jun 2011 12:05:16 -0700 (PDT) Received: from DataIX.net (adsl-99-181-139-216.dsl.klmzmi.sbcglobal.net [99.181.139.216]) by mx.google.com with ESMTPS id s9sm2412622ibe.61.2011.06.12.12.05.13 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Jun 2011 12:05:15 -0700 (PDT) Sender: "J. Hellenthal" Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.4/8.14.4) with ESMTP id p5CJ5BmK045422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Jun 2011 15:05:11 -0400 (EDT) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.4/8.14.4/Submit) id p5CJ5BZG045421; Sun, 12 Jun 2011 15:05:11 -0400 (EDT) (envelope-from jhell@DataIX.net) Date: Sun, 12 Jun 2011 15:05:11 -0400 From: Jason Hellenthal To: Doug Barton Message-ID: <20110612190511.GB15184@DataIX.net> References: <4DF3E98B.40108@FreeBSD.org> <20110612085649.GA11503@DataIX.net> <4DF50AA1.9080607@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <4DF50AA1.9080607@FreeBSD.org> X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E X-OpenPGP-Key-URL: http://bit.ly/0x89D8547E Cc: freebsd-current@freebsd.org Subject: Re: rc.d script to load kernel modules X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jhell@DataIX.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2011 19:05:19 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Doug, On Sun, Jun 12, 2011 at 11:51:13AM -0700, Doug Barton wrote: > On 6/12/2011 1:56 AM, Jason Hellenthal wrote: >=20 > > Cutting modules out of the kernel in general does help speed up booting > > but loading those same modules later in the boot process will just lead > > you back to the same boot time. >=20 > Loading modules via loader.conf is many times slower than doing it from= =20 > disk after the system is partially booted. (As in, 2-3 seconds per=20 > module vs. nearly instantaneous for all 6.) >=20 > I didn't offer my list as an example of what to do, I offered it as a=20 > syntax example. I would of course expect people to use appropriate=20 > discretion to load things in loader.conf that are necessary for boot.=20 > (Of course, the fact that people can easily get this wrong is a strike=20 > against the technique.) >=20 Yes and such I was just using that as a basis for the discussion, agreed technique is key. Any opposition for keeping the syntax of loader.conf ? nullfs_load=3D"YES" I think this makes it easier for people to adjust their configs without having to edit the list. Certainly less confusion if you say you can use the same syntax for modules in loader.conf in rc.conf... > There is no point in having an _enable for this script because if the=20 > kld_list is empty, nothing happens. >=20 Yeah very true. >=20 > --=20 >=20 > Nothin' ever doesn't change, but nothin' changes much. > -- OK Go >=20 > Breadth of IT experience, and depth of knowledge in the DNS. > Yours for the right price. :) http://SupersetSolutions.com/ --=20 "Unity can only be manifested by the Binary. Unity itself and the idea of U= nity are already two." -- Buddha Regards, (jhell) Jason Hellenthal --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) Comment: http://bit.ly/0x89D8547E iQEcBAEBAgAGBQJN9Q3mAAoJEJBXh4mJ2FR+tuAIAIcQiG8rcWrGSEXhP+Yo9/Nr goXIzpuALrRvrQSCQmq5ZfCM1rg6d/p0sFylmKzeQ2FAXFrkPUKGbgdKvgTlIICh ategRCrIZpMisp6791pOyw/GKKrHVeh8Baq8etFclUHzVxITx0lGMTpj/uYFiV8z JSclUnY73aykyCIdfabYU8q5cA5BQ3gG+aUaLGSAh0pgqjanh6cCBKR2W01OTUf3 hDMOBq7jnNnxFAWiIyKql+Et0Gp9Ud8JyfWqyrvmqsGFn5OqW91It5EWch6kn9X3 rODcO6BOjd5uC3Ks0M1QFdDLT++HAdqIXV/1kiBZnsGJwkKpRS0043JkFEXYE7s= =kNKU -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--