From owner-freebsd-current@FreeBSD.ORG Mon Jul 12 16:24:49 2004 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 A3E5716A4CE for ; Mon, 12 Jul 2004 16:24:49 +0000 (GMT) Received: from n064.sc1.cp.net (h11.rdg.cp.net [209.228.29.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FB3443D1F for ; Mon, 12 Jul 2004 16:24:49 +0000 (GMT) (envelope-from bruce@cran.org.uk) Received: from [192.168.0.10] (82.2.88.183) by n064.sc1.cp.net (7.0.027.3-1) id 40DF86E0000A0FCE; Mon, 12 Jul 2004 16:24:47 +0000 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Bruce Cran Date: Mon, 12 Jul 2004 17:24:48 +0100 To: conrads@cox.net X-Mailer: Apple Mail (2.618) cc: current@freebsd.org Subject: Re: Optimizing Current 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: Mon, 12 Jul 2004 16:24:49 -0000 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