Date: Mon, 12 Jul 2004 17:24:48 +0100 From: Bruce Cran <bruce@cran.org.uk> To: conrads@cox.net Cc: current@freebsd.org Subject: Re: Optimizing Current Message-ID: <FE366F2D-D41F-11D8-8EA8-000D93ACEE20@cran.org.uk> In-Reply-To: <XFMail.20040712060131.conrads@cox.net> References: <XFMail.20040712060131.conrads@cox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12 Jul 2004, at 12:01, Conrad J. Sabatier wrote:
>
> On 12-Jul-2004 Jason Dusek wrote:
>> Hi,
>>
>> I read /usr/src/UPGRADING today and it says that I should set some
>> special flags if I want high performance. Where do I find out
>> about these flags?
>
> Assuming you're referring to gcc (compiler) flags, "man gcc" or "info
> gcc" will yield more information than you probably even wanted. :-)
>
>
I think it's probably more about turning off malloc debugging and using
a non-debug kernel. To turn off malloc debugging, create a symlink
/etc/malloc.conf -> aj. It's a broken link of course, but it works -
see malloc(3) for more information. To turn off debugging in the
kernel, comment-out any WITNESS, INVARIANTS etc options in the config -
most are within a clearly defined block ("# Debugging for use in
-current"), but there's also 'makeoptions DEBUG=-g' at the top
which should probably be turned off, too.
--
Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FE366F2D-D41F-11D8-8EA8-000D93ACEE20>
