From owner-freebsd-questions Wed Mar 31 15:42:27 1999 Delivered-To: freebsd-questions@freebsd.org Received: from finch-post-10.mail.demon.net (finch-post-10.mail.demon.net [194.217.242.38]) by hub.freebsd.org (Postfix) with ESMTP id 55EFB14F96; Wed, 31 Mar 1999 15:42:20 -0800 (PST) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by finch-post-10.mail.demon.net with smtp (Exim 2.12 #1) id 10SUcQ-0002mb-0A; Wed, 31 Mar 1999 23:41:59 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id AAA00448; Thu, 1 Apr 1999 00:41:28 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id AAA02878; Thu, 1 Apr 1999 00:38:31 +0100 (BST) (envelope-from marko) Date: Thu, 1 Apr 1999 00:38:31 +0100 From: Mark Ovens To: Greg Lehey Cc: "Matthew D. Fuller" , questions@freebsd.org, FreeBSD Hackers Subject: Re: Debug kernel by default (was: System size with -g) Message-ID: <19990401003831.A2788@marder-1.localhost> References: <19990331003535.E17547@futuresouth.com> <19990331165139.W413@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990331165139.W413@lemis.com>; from Greg Lehey on Wed, Mar 31, 1999 at 04:51:39PM +0930 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 ;-). -- FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://www.users.globalnet.co.uk/~markov _______________________________________________________________ Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK CAD/CAM solutions for Sheetmetal Working Industry mailto:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message