From owner-freebsd-current@FreeBSD.ORG Sun Jun 12 19:43:11 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 897181065791; Sun, 12 Jun 2011 19:43:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id EB092176A6E; Sun, 12 Jun 2011 19:42:27 +0000 (UTC) Message-ID: <4DF516A4.9040308@FreeBSD.org> Date: Sun, 12 Jun 2011 12:42:28 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Garrett Cooper References: <4DF3E98B.40108@FreeBSD.org> <20110612085649.GA11503@DataIX.net> <4DF49181.1000007@entel.upc.edu> <20110612185631.GA15184@DataIX.net> <20110612192440.GB37735@in-addr.com> In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Gary Palmer , Gustau P?rez , 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 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:43:11 -0000 On 6/12/2011 12:34 PM, Garrett Cooper wrote: > On Sun, Jun 12, 2011 at 12:24 PM, Gary Palmer wrote: >> On Sun, Jun 12, 2011 at 02:56:31PM -0400, Jason Hellenthal wrote: >>> So technically here a ZFS only install is lacking the speed in which >>> modules are loaded. I would prefer to find out why and fix that before >>> we go about adding new functionality to rcNG. >> >> As I believe Doug has already said, its not just loading modules from ZFS. >> In my experience, loading modules via loader.conf from UFS on i386 is >> significantly slower than once the kernel has booted on both of my systems >> here. I think I've tried it and its not a disk thing as its slow loading from >> flash media also. > > Dumb questions: 0. Does anyone actually read what I write? > 1. Has anyone benchmarked the two methods in parallel? If so > what's the delta? As I've said several times now ... Loading modules in the boot loader takes an average of 2 seconds per module. Loading 6 of them from disk happens so fast I can't read the probe messages in real time. (I.e., less than 1 second total for all 6.) > 2. Has anyone tried to determine why it is that way? Repeating myself again ... read the threads on -arch and the svn list. There you will find the answers from people a lot smarter than I. Short version, it's a known issue that cannot be changed. -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/