From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 20 21:54:43 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CF48106566C; Mon, 20 Feb 2012 21:54:43 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 602AB8FC1B; Mon, 20 Feb 2012 21:54:43 +0000 (UTC) Received: by daec6 with SMTP id c6so6907649dae.13 for ; Mon, 20 Feb 2012 13:54:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=1jeDOKgyu0jodUAySTjvwo/vqxMQXJeCYR5s0jd6n8U=; b=HFc1YKG1MHp4wqO49+hVfEjZEMm6eCeFvYE7+NJOeJ3LRV8OW5oKC6YYBj2P0zQGgU Jr7Q0pbTuhXsqxhlm0GNK/QFtlW3fApDshMzE7OoJPJavN06UXEwiaxozjn2VDf8Co60 KH8lahXV0Oky1Z7xjLlITEoH+tILR75uU2pOY= Received: by 10.68.220.162 with SMTP id px2mr6448289pbc.47.1329774883112; Mon, 20 Feb 2012 13:54:43 -0800 (PST) Received: from bakeneko.local ([75.101.87.90]) by mx.google.com with ESMTPS id m3sm14160598pbg.44.2012.02.20.13.54.40 (version=SSLv3 cipher=OTHER); Mon, 20 Feb 2012 13:54:41 -0800 (PST) Message-ID: <4F42C0DF.6090604@gmail.com> Date: Mon, 20 Feb 2012 13:53:35 -0800 From: matt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120217 Thunderbird/10.0.1 MIME-Version: 1.0 To: Alex Goncharov References: <4F3E8225.9030501@FreeBSD.org> <4F3E8C26.3080900@FreeBSD.org> <4F3EA5F2.9070804@gmail.com> <4F3EAE5F.6070903@gmail.com> <20120217.220802.988.2@DOMY-PC> <4F3EDEBC.7040703@gmail.com> <4F3EFB70.5000102@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Tom Evans , hackers@freebsd.org, dougb@freebsd.org Subject: Re: 8 to 9: Kernel modularization -- did it change? 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: Mon, 20 Feb 2012 21:54:43 -0000 On 02/20/12 08:54, Alex Goncharov wrote: > ,--- You/Tom (Mon, 20 Feb 2012 14:44:09 +0000) ----* > | On Sat, Feb 18, 2012 at 1:14 AM, Doug Barton wrot= e: > | > Because loading modules through loader.conf is > | > veeeeeerrrrryyyyyy sssssllllloooooowwwwww I added an rc.d script ca= lled > | > kld that will load the specified modules after disks are mounted. T= his > | > is at least an order of magnitude faster. > > | Come off it, loading modules from loader.conf takes seconds off disk,= > | out of the 2+ minute total boot up. There may be benefit on slow > | media, but in the general case I see no benefit (which might explain > | why not many people are bothering to change their working configs to > | save <2s on bootup). > > Seconded. > > As many have noticed, the "veeeeeerrrrryyyyyy sssssllllloooooowwwwww" > and "order of magnitude faster" claim has not been supported by > empirical evidence in this discussion. If instead of .002 sec the > module loading takes .02, nobody cares. > > The fact that one can spread configuration and initialization > parameters across several non-hierarchically-related entities > (rc.conf, loader.conf, device.hints) somewhat arbitrarily, seems not > right to me. > More options are better...since some things are needed for boot, and some things are needed once the machine hits multiuser, it makes sense to not put your eggs in one basket as far as latency, reliability etc. I might want Vbox loaded, but not so early that it could hose the boot process prior to single user, etc. Matt