From owner-freebsd-questions Wed Mar 31 15:46:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id 828BD150E1; Wed, 31 Mar 1999 15:46:38 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id JAA09313; Thu, 1 Apr 1999 09:16:18 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id JAA89696; Thu, 1 Apr 1999 09:16:16 +0930 (CST) Message-ID: <19990401091616.M413@lemis.com> Date: Thu, 1 Apr 1999 09:16:16 +0930 From: Greg Lehey To: Mark Ovens Cc: "Matthew D. Fuller" , questions@freebsd.org, FreeBSD Hackers Subject: Re: Debug kernel by default (was: System size with -g) References: <19990331003535.E17547@futuresouth.com> <19990331165139.W413@lemis.com> <19990401003831.A2788@marder-1.localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <19990401003831.A2788@marder-1.localhost>; from Mark Ovens on Thu, Apr 01, 1999 at 12:38:31AM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 1 April 1999 at 0:38:31 +0100, Mark Ovens wrote: > On Wed, Mar 31, 1999 at 04:51:39PM +0930, Greg Lehey wrote: >> >> To answer your question: a typical (partially) stripped kernel is >> about 1.8 MB in size. The corresponding debug kernel is about 9 MB >> (since ELF; a.out debug kernels are about 3 MB larger). This space is >> *in memory at all times*, so you don't normally want to load it, but >> it's good to have for dump analysis. >> >> Here are some comparative figures for building a kernel on my main >> machine (AMD K6-2/333, 160 MB memory): >> >> normal debug >> Make all 4:30 5:0 >> Kernel size 1.8 MB 9 MB >> Directory size 5.5 MB 24 MB >> > > Out of interest I did a ``make all'' on the 3.1-R GENERIC kernel and > these are my figures. My machine is an AMD K6/233 (an original K6, > not a -2), 64MB memory, 128MB swap, U/W SCSI HD: > > normal > Make all 4:25 > Kernel size 2.2 MB > Directory size 6.3 MB > > Are the clock and clock multiplier jumpers set correctly on your > m/b ;-). I'm wondering about that, too. I just replaced a K6/233 with a K6-2/333 and got almost no performance increase. But the speed is reported correctly on bootup. I'm using a really old Conner drive, and I suspect that's the bottleneck. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message