Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 1999 11:11:08 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Archie Cobbs <archie@whistle.com>
Cc:        Christopher Michaels <ChrisMic@clientlogic.com>, grog@lemis.com, gjb@comkey.com.au, questions@FreeBSD.ORG, hackers@FreeBSD.ORG
Subject:   Re: Debug kernel by default (was: System size with -g)
Message-ID:  <Pine.BSF.3.95.990406110942.759B-100000@current1.whistle.com>
In-Reply-To: <199904061757.KAA73737@bubba.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The down side is that you really need 32MB to compile a debug kernel
in timescales measurable by humans, and you need an extra 20MB or so of
disk per kernel compile directory.
julian


On Tue, 6 Apr 1999, Archie Cobbs wrote:

> Christopher Michaels writes:
> > Maybe I'm a little out of the loop, but as a general user I feel I should
> > voice my opinions (questions).
> > 
> > I understand the up-sides of a debug kernel (although I wouldn't mind some
> > clarification), but what are the down sides?
> >  - The kernel is larger, correct?  Is this just file size or does it take up
> > significantly more memory as well?
> 
> You would install two kernels: /kernel and /kernel.debug. The first
> one is a normal kernel (but no debugging info) and this is the one
> you run. So no more memory is used (except on your disk). The second
> you only need as a debug reference for the first when you get a core dump.
> 
> >  - Does a debug kernel impart any performance hit?
> 
> No... the same code is being executed as before.
> 
> -Archie
> 
> ___________________________________________________________________________
> Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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?Pine.BSF.3.95.990406110942.759B-100000>