From owner-freebsd-current@FreeBSD.ORG Sat Nov 29 11:07:06 2003 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 6A72E16A4CE for ; Sat, 29 Nov 2003 11:07:06 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C95943FBF for ; Sat, 29 Nov 2003 11:07:05 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9p2/8.12.9) with ESMTP id hATJ4RMg058794; Sat, 29 Nov 2003 14:04:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)hATJ4RTu058791; Sat, 29 Nov 2003 14:04:27 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Sat, 29 Nov 2003 14:04:27 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Justin Smith In-Reply-To: <3FC8ECC6.2040108@drexel.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: Upgrade experience 5.1p10->5.2 Beta 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: Sat, 29 Nov 2003 19:07:06 -0000 On Sat, 29 Nov 2003, Justin Smith wrote: > >Are you running with GENERIC from 5.2-BETA? If so, you may wish to > >recompile your kernel with WITNESS and INVARIANTS turned off and see if > >that helps. These debugging features are critical during the development > >process, but also seriously impact performance and might make the > >difference you're seeing. > > This worked like a charm! Everything, including opengl-intensive > applications seem to work perfectly. It's amazing only problem was in > the debugging code! Thank you. When we ship 5.2, it will presumably ship with the debugging features disabled in the GENERIC kernel, but enabled in a second DEBUG kernel in the same way we shipped 5.1. However, it won't become the default in the branch version of the kernel configuration until 5-STABLE. If you run into any stability problems, you'll probably want to turn the debugging features back on again to help diagnose them. You might try turning INVARIANTS back on but leaving WITNESS off and see if that gives you enough performance to do what you need to do while still keeping around some debugging features to help in the event of any problem. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research