From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 20 16:54:42 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 F12A1106566B for ; Mon, 20 Feb 2012 16:54:42 +0000 (UTC) (envelope-from alex-goncharov@comcast.net) Received: from qmta12.westchester.pa.mail.comcast.net (qmta12.westchester.pa.mail.comcast.net [76.96.59.227]) by mx1.freebsd.org (Postfix) with ESMTP id 97F9F8FC0C for ; Mon, 20 Feb 2012 16:54:42 +0000 (UTC) Received: from omta21.westchester.pa.mail.comcast.net ([76.96.62.72]) by qmta12.westchester.pa.mail.comcast.net with comcast id cE2o1i0021ZXKqc5CGuiol; Mon, 20 Feb 2012 16:54:42 +0000 Received: from hans3 ([66.30.197.229]) by omta21.westchester.pa.mail.comcast.net with comcast id cGui1i01z4xSlmi3hGuilB; Mon, 20 Feb 2012 16:54:42 +0000 Received: from algo by hans3 with local (Exim 4.77 (FreeBSD)) (envelope-from ) id 1RzWVd-000MHj-AD; Mon, 20 Feb 2012 11:54:41 -0500 From: Alex Goncharov To: Tom Evans In-reply-to: (message from Tom Evans on Mon, 20 Feb 2012 14:44:09 +0000) 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> Message-Id: Sender: Alex Goncharov Date: Mon, 20 Feb 2012 11:54:41 -0500 Cc: 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 Reply-To: Alex Goncharov 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 16:54:43 -0000 ,--- You/Tom (Mon, 20 Feb 2012 14:44:09 +0000) ----* | On Sat, Feb 18, 2012 at 1:14 AM, Doug Barton wrote: | > Because loading modules through loader.conf is | > veeeeeerrrrryyyyyy sssssllllloooooowwwwww I added an rc.d script called | > kld that will load the specified modules after disks are mounted. This | > 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. Personally, I don't care about winning 10 seconds on a boot, but I do care a lot about the consistent maintenance and knowing what configuration piece has to go where. On none of my machines, I had a perception of slow FreeBSD bootup, with the (few) modules listed in loader.conf. -- Alex -- alex-goncharov@comcast.net --