Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 09:16:16 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Mark Ovens <marko@uk.radan.com>
Cc:        "Matthew D. Fuller" <fullermd@futuresouth.com>, questions@freebsd.org, FreeBSD Hackers <hackers@freebsd.org>
Subject:   Re: Debug kernel by default (was: System size with -g)
Message-ID:  <19990401091616.M413@lemis.com>
In-Reply-To: <19990401003831.A2788@marder-1.localhost>; from Mark Ovens on Thu, Apr 01, 1999 at 12:38:31AM %2B0100
References:  <19990331003535.E17547@futuresouth.com> <19990331165139.W413@lemis.com> <19990401003831.A2788@marder-1.localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990401091616.M413>