From owner-svn-src-all@FreeBSD.ORG Sat Sep 7 20:08:12 2013 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 2DF6DD35; Sat, 7 Sep 2013 20:08:12 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id D6DF722D2; Sat, 7 Sep 2013 20:08:11 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1VIOpk-0006i8-49; Sun, 08 Sep 2013 00:10:16 +0400 Date: Sun, 8 Sep 2013 00:10:16 +0400 From: Slawa Olhovchenkov To: Benjamin Kaduk Subject: Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf Message-ID: <20130907201016.GD3796@zxy.spb.ru> References: <201309062024.r86KOMqm059838@svn.freebsd.org> <20130907081743.GB95723@zxy.spb.ru> <20130907170700.GB3796@zxy.spb.ru> <20130907191117.GC3796@zxy.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: "svn-src-head@freebsd.org" , Bryan Venteicher , Adrian Chadd , "src-committers@freebsd.org" , "svn-src-all@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Sep 2013 20:08:12 -0000 On Sat, Sep 07, 2013 at 03:14:53PM -0400, Benjamin Kaduk wrote: > On Sat, Sep 7, 2013 at 3:11 PM, Slawa Olhovchenkov wrote: > > > On Sat, Sep 07, 2013 at 10:47:07AM -0700, Adrian Chadd wrote: > > > > > I'll be happy if someone does this right now, by populating a > > > /boot/loader.modules or something, and then force the "fixing" of loader > > to > > > cache metadata to make the reads faster. > > > > Some very, very old devices don't exist as modules. > > This SCSI controllers (ISA-only?). I just drop this. > > > > I think you're missing the point. Right now, loading modules from the > loader is supposed to be painfully slow, at least in many situations. > dougb (IIRC) added the kld_list rc.conf variable so that modules could be > loaded once the machine is up, which proceeds at a much more reasonable > pace. This seems to be what Adrian is alluding to with '"fixing" of loader > to cache metadata to make the reads faster'. Modules can be divided to three part: 1) need to boot (placed to loader.conf) 2) need to work (placed kld_list) 3) need to distribute (placed in /boot/kernel) On install disk (and for first boot) all modules must be in loader.conf. After boot to installed system we can edit loader.conf and kld_list. Manualy or by tools, but after boot.