From owner-freebsd-current Thu Jan 9 11:34:24 2003 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 4274937B401 for ; Thu, 9 Jan 2003 11:34:23 -0800 (PST) Received: from maila.telia.com (maila.telia.com [194.22.194.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6583343F18 for ; Thu, 9 Jan 2003 11:34:22 -0800 (PST) (envelope-from david@realityrift.com) Received: from d1o836.telia.com (d1o836.telia.com [213.65.240.241]) by maila.telia.com (8.12.5/8.12.5) with ESMTP id h09JYKKc026937; Thu, 9 Jan 2003 20:34:20 +0100 (CET) X-Original-Recipient: current@FreeBSD.ORG Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23]) by d1o836.telia.com (8.10.2/8.10.1) with SMTP id h09JYJ607645; Thu, 9 Jan 2003 20:34:20 +0100 (CET) Date: Thu, 9 Jan 2003 20:34:19 +0100 From: David Holm To: Joe Laughlin Cc: current@FreeBSD.ORG Subject: Re: upgrading to CURRENT from STABLE Message-Id: <20030109203419.50e4f60b.david@realityrift.com> In-Reply-To: <3E1DCBFF.9080306@removethis.rainbowsheep.net> References: <3E1DCBFF.9080306@removethis.rainbowsheep.net> X-Mailer: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Comment (or remove) these lines in your kernel config: makeoptions DEBUG=-g options DDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN You should also add the following to /etc/make.conf: NOPROFILE=true You can find info on how to set maximum optimizations with gcc 3.2 here: http://www.freehackers.org/gentoo/gccflags/flag_gcc3opt.html (Originally written for gentoo linux, but should work with FreeBSD too). A warning though, NEVER compile world and your kernel using all these flags unless you are prepared to reinstall. My system failed once simply because I used CFLAGS = "-O3 -pipe" instead of "-O2 -pipe". You will probably be able to compile most ports with these flags though, back when I ran gentoo I was able to compile 99% of all applications with these. //David Holm On Thu, 09 Jan 2003 11:22:39 -0800 Joe Laughlin wrote: > In the UPDATING file, the following is noted: > > FreeBSD 5.0-CURRENT has many debugging features turned on, in > both the kernel and userland. These features attempt to detect > incorrect use of system primitives, and encourage loud failure > through extra sanity checking and fail stop semantics. They > also substantially impact system performance. If you want to > do performance measurement, benchmarking, and optimization, > you'll want to turn them off. > > How do I turn them off? > > Thanks, > Joe > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message