From owner-freebsd-questions Tue Apr 6 11: 1:38 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bubba.whistle.com (s205m7.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 5A48F14BF5; Tue, 6 Apr 1999 11:01:34 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.2/8.9.2) id KAA73737; Tue, 6 Apr 1999 10:57:37 -0700 (PDT) From: Archie Cobbs Message-Id: <199904061757.KAA73737@bubba.whistle.com> Subject: Re: Debug kernel by default (was: System size with -g) In-Reply-To: <6C37EE640B78D2118D2F00A0C90FCB441A5FF9@site2s1> from Christopher Michaels at "Apr 6, 99 09:59:13 am" To: ChrisMic@clientlogic.com (Christopher Michaels) Date: Tue, 6 Apr 1999 10:57:37 -0700 (PDT) Cc: grog@lemis.com, gjb@comkey.com.au, questions@FreeBSD.ORG, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-questions" in the body of the message