From owner-freebsd-current@FreeBSD.ORG Tue Oct 16 22:57:47 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF47916A46B for ; Tue, 16 Oct 2007 22:57:47 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx1.freebsd.org (Postfix) with ESMTP id A988013C4BC; Tue, 16 Oct 2007 22:57:45 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <471541E9.4010706@FreeBSD.org> Date: Wed, 17 Oct 2007 00:57:45 +0200 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: josh.carroll@gmail.com References: <20071016110642.GB54457@hyperion.scode.org> <20071016212307.GA8850@hyperion.scode.org> <8cb6106e0710161534v6c814fb8k2dbf373daedbd8c3@mail.gmail.com> In-Reply-To: <8cb6106e0710161534v6c814fb8k2dbf373daedbd8c3@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Eric Kjeldergaard , freebsd-current@freebsd.org, Peter Schuller Subject: Re: Status of MySQL on 7 w/o patches applied X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2007 22:57:47 -0000 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