From owner-freebsd-questions Tue Apr 6 11:19:36 1999 Delivered-To: freebsd-questions@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id DD2E11522F; Tue, 6 Apr 1999 11:19:28 -0700 (PDT) (envelope-from julian@whistle.com) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with SMTP id LAA08196; Tue, 6 Apr 1999 11:11:08 -0700 (PDT) Date: Tue, 6 Apr 1999 11:11:08 -0700 (PDT) From: Julian Elischer To: Archie Cobbs Cc: Christopher Michaels , grog@lemis.com, gjb@comkey.com.au, questions@FreeBSD.ORG, hackers@FreeBSD.ORG Subject: Re: Debug kernel by default (was: System size with -g) In-Reply-To: <199904061757.KAA73737@bubba.whistle.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-questions" in the body of the message