From owner-freebsd-hackers Fri Apr 5 11:57:26 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.dada.it (mail5.dada.it [195.110.96.37]) by hub.freebsd.org (Postfix) with SMTP id D108F37B41B for ; Fri, 5 Apr 2002 11:57:18 -0800 (PST) Received: (qmail 15918 invoked from network); 5 Apr 2002 19:57:11 -0000 Received: from unknown (HELO libero.sunshine.ale) (195.110.114.252) by mail.dada.it with SMTP; 5 Apr 2002 19:57:11 -0000 Received: by libero.sunshine.ale (Postfix, from userid 1001) id 169835F7E; Fri, 5 Apr 2002 21:57:13 +0200 (CEST) Date: Fri, 5 Apr 2002 21:57:12 +0200 From: Alessandro de Manzano To: hackers@freebsd.org Subject: Is a debug kernel slower than a non-debug one ? Message-ID: <20020405215712.A14188@libero.sunshine.ale> Reply-To: Alessandro de Manzano Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-Operating-System: FreeBSD 4.5-STABLE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! Well, the subj says more or less all.. ;-) On 4.x-STABLE systems, a kernel compiled with "options DDB" and "makeoptions DEBUG=-g" is, at execution, slower than one compiled without that two settings ? Or is it "only" bigger on disk and, maybe, in memory ? I ask you this because I'm evaluating the possibility of enabling DDB on my production servers' kernel so in the very rare case of crash I'll got a crash dump ( I'ld use also options DDB_UNATTENDED) and could immediately have a backtrace report. ..Am I crazy ? :-)) thanks in advance! -- bye! Ale To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message