From owner-freebsd-current Thu Jan 23 10:16:38 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 696BF37B401 for ; Thu, 23 Jan 2003 10:16:37 -0800 (PST) Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.120.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFFB843ED8 for ; Thu, 23 Jan 2003 10:16:36 -0800 (PST) (envelope-from rsidd@papagena.rockefeller.edu) Received: from user-0cev12d.cable.mindspring.com ([24.239.132.77] helo=bluerondo.a.la.turk) by harrier.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18bltv-0002eB-01 for freebsd-current@FreeBSD.ORG; Thu, 23 Jan 2003 10:16:31 -0800 Received: (qmail 2358 invoked by uid 1001); 23 Jan 2003 18:16:28 -0000 Date: Thu, 23 Jan 2003 13:16:28 -0500 From: Rahul Siddharthan To: Kenneth Culver Cc: Atte Peltomaki , freebsd-current@FreeBSD.ORG Subject: Re: Performance problems with 5.0-RELEASE Message-ID: <20030123181628.GA2185@papagena.rockefeller.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030123123522.C9068-100000@alpha.yumyumyum.org> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 5.0-CURRENT i386 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 Kenneth Culver wrote: > > I hope someone could bring light to what's going on. Alltho I'm not > > whining, I knew what I was getting myself into when I installed 5.0, it > > would be nice get things solved, for FreeBSD's sake already. > > Did you by any chance build your own kernel? If so did you leave things > like this in: > > options INVARIANTS #Enable calls of extra sanity > options INVARIANT_SUPPORT #Extra sanity checks of internal > options WITNESS #Enable checks to detect deadlocks > options WITNESS_SKIPSPIN #Don't run witness on spinlocks I'd like to add that even with these removed, I was experiencing terrible performance in building ports, etc (anything involving heavy filesystem activity or memory usage). Setting up an /etc/malloc.conf fixed this (this is also briefly noted in UPDATING). Specifically I use (don't know whether it's optimal, but it works): # ls -l /etc/malloc.conf lrwxr-xr-x 1 root wheel 4 Jan 23 11:52 /etc/malloc.conf -> HR< I didn't need to do this in 4-STABLE, however. Given that this gives really vast performance improvement with 5-CURRENT (in my experience) should something like this be in -RELEASE too? - Rahul To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message