From owner-freebsd-stable Thu Oct 31 18:15:50 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E14B437B401 for ; Thu, 31 Oct 2002 18:15:48 -0800 (PST) Received: from omen.e-lated.org (omen.e-lated.org [63.231.29.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB0943E91 for ; Thu, 31 Oct 2002 18:15:48 -0800 (PST) (envelope-from danger@e-lated.org) Received: from omen.e-lated.org (danger@localhost [63.231.29.50]) by omen.e-lated.org (8.12.6/8.12.5) with ESMTP id gA12Emvu001164; Thu, 31 Oct 2002 18:14:53 -0800 (PST) (envelope-from danger@e-lated.org) Received: from localhost (danger@localhost) by omen.e-lated.org (8.12.6/8.12.6/Submit) with ESMTP id gA12EUW6001161; Thu, 31 Oct 2002 18:14:35 -0800 (PST) X-Authentication-Warning: omen.e-lated.org: danger owned process doing -bs Date: Thu, 31 Oct 2002 18:14:29 -0800 (PST) From: Jeff Seeman To: Mike Hoskins Cc: Gregory Bond , Robert Bell , Subject: Re: Kernel build - new build too big In-Reply-To: <20021031150154.R5428-100000@fubar.adept.org> Message-ID: <20021031181249.X1160-100000@omen.e-lated.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG What exactly is the pro/cons to having a kernel of a particular size? for example is smaller really better when it comes to kernels? Jeff Seeman Technical Instructor On Thu, 31 Oct 2002, Mike Hoskins wrote: > On Fri, 1 Nov 2002, Gregory Bond wrote: > > > > The new kernel is almost twice as big. > > > Usually the diff is a few K at most. > > run "size /kernel*" for a more accurate idea of how big the program (as > > opposed to the program file) is. > > He reported the size going up after an upgrade. If the output of ls or > size double after an upgrade... The numbers have doubled. As long as you > compare apples with apples, I believe ls or size serves our purpose. > > FWIW, my kernel did not change much at all after my last cvsup, > > mike@mojo{~}$ ls -al /kern* > -r-xr-xr-x 1 root wheel 2270494 Oct 9 18:02 /kernel* > -r-xr-xr-x 1 root wheel 2270201 Sep 19 14:02 /kernel.old* > mike@mojo{~}$ size /kern* > text data bss dec hex filename > 1640773 226708 117268 1984749 1e48ed /kernel > 1640521 226644 117268 1984433 1e47b1 /kernel.old > > So, no significant changes observed here, but that doesn't really tell you > anything! > > He was using a laptop, perhaps it's apm, etc. related. Regardless, why > run a GENERIC (or "close to GENERIC") kernel? I don't see anything in > /sys/i386/conf/* that's too difficult to understand... So why load > options you don't need? > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message