Optimizing Current

Bruce Cran bruce at cran.org.uk
Mon Jul 12 09:24:49 PDT 2004


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



More information about the freebsd-current mailing list