From owner-freebsd-stable Thu Oct 31 15: 8:28 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 C09EC37B401 for ; Thu, 31 Oct 2002 15:08:26 -0800 (PST) Received: from fubar.adept.org (fubar.adept.org [63.147.172.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30D3643E97 for ; Thu, 31 Oct 2002 15:08:25 -0800 (PST) (envelope-from mike@adept.org) Received: by fubar.adept.org (Postfix, from userid 1001) id 41E2A1527E; Thu, 31 Oct 2002 15:08:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by fubar.adept.org (Postfix) with ESMTP id 3FA1B15247; Thu, 31 Oct 2002 15:08:12 -0800 (PST) Date: Thu, 31 Oct 2002 15:08:12 -0800 (PST) From: Mike Hoskins To: Gregory Bond Cc: Robert Bell , Subject: Re: Kernel build - new build too big In-Reply-To: <200210312255.JAA15180@lightning.itga.com.au> Message-ID: <20021031150154.R5428-100000@fubar.adept.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 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