From owner-freebsd-current@FreeBSD.ORG Tue Feb 8 18:32:19 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 EB97916A4F3 for ; Tue, 8 Feb 2005 18:32:19 +0000 (GMT) Received: from mail28.sea5.speakeasy.net (mail28.sea5.speakeasy.net [69.17.117.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0619A43D41 for ; Tue, 8 Feb 2005 18:32:19 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 26225 invoked from network); 8 Feb 2005 18:32:18 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 8 Feb 2005 18:32:18 -0000 Received: from [10.50.40.202] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j18IW3GH095656; Tue, 8 Feb 2005 13:32:12 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Tue, 8 Feb 2005 13:26:14 -0500 User-Agent: KMail/1.6.2 References: <200502072349.j17Nn10t001265@gw.catspoiler.org> In-Reply-To: <200502072349.j17Nn10t001265@gw.catspoiler.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200502081326.14256.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: Don Lewis cc: current@FreeBSD.org Subject: Re: odd -CURRENT performance issue 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: Tue, 08 Feb 2005 18:32:20 -0000 On Monday 07 February 2005 06:49 pm, Don Lewis wrote: > time make all-depends-list > ten times in a row in /usr/ports/x11/gnome2. The system was freshly > booted, and other than a niced setiathome, the system was idle. I got > the following results: > > 122.63 real 29.83 user 66.29 sys > 117.86 real 29.58 user 66.55 sys > 119.89 real 29.80 user 67.27 sys > 121.68 real 30.31 user 67.55 sys > 122.10 real 30.41 user 67.66 sys > 120.90 real 29.67 user 68.24 sys > 121.21 real 30.27 user 67.69 sys > 219.85 real 30.35 user 148.12 sys > 312.54 real 30.49 user 224.79 sys > 312.83 real 30.23 user 225.83 sys > > The last three lines are rather strange ... > > Kernel and world are 6.0-CURRENT, built from February 3rd sources. > WITNESS, INVARIANTS, DEBUG_VFS_LOCKS, and SMP enabled, and it is fairly > close to GENERIC. WITNESS has especially poor scalability issues and can get much worse as more lock classes and relationships are added to its tree due to how it tries to rebalance the tree every time it adds a new relationship (and each rebalance is O(n) I think). If you turn off witness via sysctl debug.witness.watch=0,. does the same weirdness persist? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org