From owner-freebsd-questions@FreeBSD.ORG Sun Dec 10 17:18:17 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 32EA116A407 for ; Sun, 10 Dec 2006 17:18:17 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961B743CA5 for ; Sun, 10 Dec 2006 17:17:05 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [192.168.214.215] (cpe-76-184-133-124.tx.res.rr.com[76.184.133.124]) by comcast.net (sccrmhc11) with ESMTP id <2006121017181501100pmidqe>; Sun, 10 Dec 2006 17:18:16 +0000 Message-ID: <457C4156.8010309@computer.org> Date: Sun, 10 Dec 2006 11:18:14 -0600 From: Eric Schuele User-Agent: Thunderbird 1.5.0.8 (X11/20061111) MIME-Version: 1.0 To: Kirk Strauser , freebsd-questions@freebsd.org References: <200612100905.30430.kirk@strauser.com> <20061210155022.GA28750@owl.midgard.homeip.net> In-Reply-To: <20061210155022.GA28750@owl.midgard.homeip.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Advantages of trimmed kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 17:18:17 -0000 On 12/10/06 09:50, Erik Trulsson wrote: > On Sun, Dec 10, 2006 at 09:05:25AM -0600, Kirk Strauser wrote: >> Are there any real advantages to building a kernel stripped of unused drivers, >> especially when running it on a fairly large machine? For years, I've been >> dutifully removing device drivers (or more recently, including GENERIC and >> using 'nodevice') for everything I don't have. But does this actually do >> anything useful, or am I just tilting at windmills? > > It will save a little bit of memory and diskspace and the machine will > probably boot slightly faster since it will not need to probe for > non-existing devices, but other than that I doubt it will make any > difference at all. > I'll second this one. FWIW... Its my understanding that - the memory saved would be negligible. - the performance differences while running are negligible - the boot time is shortened as the kernel will not probe removed devices. - [many|all] removed devices are available and loadable as kld. - as always, remove too much and you can cripple yourself. The above is my understandings from the many times this pops up on the list. You might do some searching on the archives as I think this comes up quite often. I do still however remove things from time to time as it makes me feel a little bit more geeky. :p But I don't think its necessary for performance. HTH. -- Regards, Eric