From owner-freebsd-current@FreeBSD.ORG Thu Apr 21 22:09:07 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50EF716A4CE for ; Thu, 21 Apr 2005 22:09:07 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ADC943D46 for ; Thu, 21 Apr 2005 22:09:07 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j3LM92fM003375; Thu, 21 Apr 2005 15:09:02 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j3LM92Fw003374; Thu, 21 Apr 2005 15:09:02 -0700 Date: Thu, 21 Apr 2005 15:09:02 -0700 From: Brooks Davis To: Niklas Sorensson Message-ID: <20050421220902.GA2960@odin.ac.hmc.edu> References: <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <52997.83.226.116.53.1114121015.squirrel@webmail.chalmers.se> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: Debug options X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 21 Apr 2005 22:09:07 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2005 at 12:03:35AM +0200, Niklas Sorensson wrote: > Hi, >=20 > I was wondering how to turn off the debug options mentioned in /usr/src/U= PDATING. > So far, I only found these kernel options: >=20 > options KDB > options DDB > options GDB > options INVARIANTS > options INVARIANT_SUPPORT > options WITNESS > options WITNESS_SKIPSPIN >=20 > Are there any other options that affect performance? The note mentions > malloc-debugging flags, but I don't know how to turn it off. That's the big stuff in the kernel. For malloc options, see the malloc(3) manpage. To completely disable the default malloc debugging options do: ln -s 'aj' /etc/malloc.conf -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCaCR9XY6L6fI4GtQRArQpAJ9zKaWjao8iax0+gWikYnPeWomf7gCg5yDl bN0JmawfEfBdwdb44nX11ek= =thu9 -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--