From owner-freebsd-stable@FreeBSD.ORG Sun Apr 30 12:39:13 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6995516A401 for ; Sun, 30 Apr 2006 12:39:13 +0000 (UTC) (envelope-from dom@helenmarks.co.uk) Received: from mail.goodforbusiness.co.uk (mail.goodforbusiness.co.uk [83.223.104.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2FB243D45 for ; Sun, 30 Apr 2006 12:39:12 +0000 (GMT) (envelope-from dom@helenmarks.co.uk) Received: from localhost (localhost [127.0.0.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id 5A2F611463; Sun, 30 Apr 2006 13:39:11 +0100 (BST) Received: from mail.goodforbusiness.co.uk ([127.0.0.1]) by localhost (mail.goodforbusiness.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20902-03; Sun, 30 Apr 2006 13:39:10 +0100 (BST) Received: from mail.helenmarks.co.uk (unknown [192.168.100.1]) by mail.goodforbusiness.co.uk (Postfix) with ESMTP id 62B5F11462; Sun, 30 Apr 2006 13:39:10 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by mail.helenmarks.co.uk (Postfix) with ESMTP id 183CE17031; Sun, 30 Apr 2006 13:39:10 +0100 (BST) X-Virus-Scanned: amavisd-new at helenmarks.co.uk Received: from mail.helenmarks.co.uk ([127.0.0.1]) by localhost (mail.helenmarks.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9s8vpe3R1Z4w; Sun, 30 Apr 2006 13:39:05 +0100 (BST) Received: from [192.168.15.3] (egg.helenmarks.co.uk [192.168.15.3]) by mail.helenmarks.co.uk (Postfix) with ESMTP id 7DF4417030; Sun, 30 Apr 2006 13:39:05 +0100 (BST) Message-ID: <4454B017.5080706@helenmarks.co.uk> Date: Sun, 30 Apr 2006 13:39:51 +0100 From: Dominic Marks User-Agent: Thunderbird 1.5 (X11/20060403) MIME-Version: 1.0 To: Peter Jeremy References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <20060428122448.K57436@atlantis.atlantis.dp.ua> <20060428182818.GA10410@xor.obsecurity.org> <3aaaa3a0604300205l64f19573u250a727e4c83f499@mail.gmail.com> <20060430103111.GC980@turion.vk2pj.dyndns.org> In-Reply-To: <20060430103111.GC980@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: mail.goodforbusiness.co.uk Cc: Chris , freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 12:39:13 -0000 Peter Jeremy wrote: > On Sun, 2006-Apr-30 10:05:40 +0100, Chris wrote: >> Does 'makeoptions DEBUG=-g' add any kind of performance hit or >> overhead as I noticed it wasnt default in 5.4 but is in 6.0. > > No. It just means that a debug kernel is built in addition to the > normal kernel. The major benefit is that if you do get a panic, > you can debug it without needing to rebuild the kernel. > I've often thought that the default should be for this to be on instead of off. Does anyone know why the current state is so? I suppose it incurs a small amount of additional disc space but the benefits are considerable for everyone involved. Cheers, Dominic