Status of MySQL on 7 w/o patches applied

Kris Kennaway kris at FreeBSD.org
Tue Oct 16 15:57:47 PDT 2007


Josh Carroll wrote:
>> I was under the (incorrect?) impression that the debugging stuff would be
>> turned off before release.  Prior to that, 7's primary purpose is for
>> finding bugs before release and thus debugging options are useful.
> 
> I think all the user land debugging is turned off, though I'm not
> sure. Is there anything else one needs to do to ensure optimal
> performance (e.g. no debugging is enabled, etc) besides the following?
> 
> 1. remove WITNESS/INVARIANTS/etc from the kernel
> 2. add WITHOUT_LIBKSE=yes to /etc/make.conf prior to building world

This doesn't have performance implications.

> 3. Ensure MALLOC_PRODUCTION is set in
> /usr/src/lib/libc/stdlib/malloc.c (default in RELENG_7, right?)

Yes.  Also if you happen to have a /etc/malloc.conf symlinked to AJ as a 
leftover from a previous configuration, remove it.

Kris



More information about the freebsd-current mailing list