From owner-freebsd-current@FreeBSD.ORG Sat Apr 23 06:45:01 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9202716A4CE for ; Sat, 23 Apr 2005 06:45:01 +0000 (GMT) Received: from lexi.siliconlandmark.com (lexi.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B5F43D39 for ; Sat, 23 Apr 2005 06:45:01 +0000 (GMT) (envelope-from andy@siliconlandmark.com) Received: from lexi.siliconlandmark.com (localhost [127.0.0.1]) j3N6is4P093339; Sat, 23 Apr 2005 02:44:54 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)j3N6irdp093336; Sat, 23 Apr 2005 02:44:54 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: lexi.siliconlandmark.com: andy owned process doing -bs Date: Sat, 23 Apr 2005 02:44:53 -0400 (EDT) From: Andre Guibert de Bruet To: Niklas Sorensson In-Reply-To: <20050421220902.GA2960@odin.ac.hmc.edu> Message-ID: <20050423024259.B68772@lexi.siliconlandmark.com> References: <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se> <20050421220902.GA2960@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Information: Please contact the ISP for more information X-SL-MailScanner: Found to be clean X-SL-SpamCheck: not spam, SpamAssassin (score=-2.537, required 6, autolearn=not spam, AWL 0.06, BAYES_00 -2.60) X-MailScanner-From: andy@siliconlandmark.com cc: freebsd-current@freebsd.org Subject: Re: Debug options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2005 06:45:01 -0000 On Thu, 21 Apr 2005, Brooks Davis wrote: > On Fri, Apr 22, 2005 at 12:03:35AM +0200, Niklas Sorensson wrote: > >> I was wondering how to turn off the debug options mentioned in /usr/src/UPDATING. >> So far, I only found these kernel options: >> >> options KDB >> options DDB >> options GDB >> options INVARIANTS >> options INVARIANT_SUPPORT >> options WITNESS >> options WITNESS_SKIPSPIN >> >> Are there any other options that affect performance? The note mentions >> malloc-debugging flags, but I don't know how to turn it off. > > That's the big stuff in the kernel. For malloc options, see the > malloc(3) manpage. To completely disable the default malloc debugging > options do: > > ln -s 'aj' /etc/malloc.conf May I also suggest tuning(7)? | Andre Guibert de Bruet | Enterprise Software Consultant > | Silicon Landmark, LLC. | http://siliconlandmark.com/ >