Re: Optimizing Current

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Mon, 12 Jul 2004 17:24:48 +0100
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
Received on Mon Jul 12 2004 - 14:24:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:01 UTC