Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Apr 2005 02:44:53 -0400 (EDT)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        Niklas Sorensson <nik@cs.chalmers.se>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Debug options
Message-ID:  <20050423024259.B68772@lexi.siliconlandmark.com>
In-Reply-To: <20050421220902.GA2960@odin.ac.hmc.edu>
References:  <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se> <20050421220902.GA2960@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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/    >




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050423024259.B68772>