From owner-freebsd-questions Wed Oct 11 9: 5: 4 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtp.newresources.com (newresources.com [38.156.90.40]) by hub.freebsd.org (Postfix) with ESMTP id 01E1937B66C for ; Wed, 11 Oct 2000 09:05:00 -0700 (PDT) Received: from judah ([206.209.126.23]) by smtp.newresources.com (Lotus Domino Release 5.0.1a) with SMTP id 2000101111143386:4119 ; Wed, 11 Oct 2000 11:14:33 -0500 From: "Doug Poland" To: Cc: "Kenneth Wayne Culver" , "Matt Rudderham" , "ListServer FreeBSD Questions" Subject: RE: kernel bloat Date: Wed, 11 Oct 2000 11:04:49 -0500 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20001011085138.I25121@149.211.6.64.reflexcom.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal X-MIMETrack: Itemize by SMTP Server on NRCSMTP/NRC(Release 5.0.1a|August 17, 1999) at 10/11/2000 11:14:35 AM, Serialize by Router on NRCSMTP/NRC(Release 5.0.1a|August 17, 1999) at 10/11/2000 11:14:38 AM, Serialize complete at 10/11/2000 11:14:38 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Crist J . Clark [mailto:cjclark@reflexnet.net] > Sent: Wednesday, October 11, 2000 10:52 > To: Doug Poland > Cc: Kenneth Wayne Culver; Matt Rudderham; ListServer FreeBSD Questions; > cjclark@reflexnet.net > Subject: Re: kernel bloat > > > On Wed, Oct 11, 2000 at 09:53:36AM -0500, Doug Poland wrote: > > Thanks to all for the help... > > > > I've recompiled the kernel, commenting out the lines that > > Crist suggested. The kernel is now down to 2301673 bytes. > > That's a lot better than 7.1MB. > > > > Can anyone explain why, or is it even significant, when > > Crist compiled it and came up with 1.8MB and my version > > is 2.3MB? BTW, I'm using 4.1.1-RELEASE, and am not sure > > what Crist is running on. > > [1266:~] uname -a > FreeBSD 149.211.6.64.reflexcom.com 4.1-STABLE FreeBSD > 4.1-STABLE #0: Sun Sep 17 16:57:52 PDT 2000 > root@149.211.6.64.reflexcom.com:/usr/obj/usr/src/sys/CJC-DESKTOP i386 > > But the source I used to build the kernel was CVSupped Saturday > morning. I was not worried about a world-kernel sync for this test, > but it doesn't seem like that would make a 500kB difference. > > What's in your /etc/make.conf, specifically, COPTFLAGS. > -- > Crist J. Clark cjclark@alum.mit.edu > Um, I don't have /etc/make.conf. I'm running 4.1.1-RELEASE and haven't run CVSup (and probably won't, I'm not that advanced). In the end it's not that important to me (500kB), I was just curious and now am glad I got it down from 7.1MB. I really appreciate all your help! Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message