From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 26 14:05:07 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C72FC1065688 for ; Fri, 26 Sep 2008 14:05:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 67C958FC2F for ; Fri, 26 Sep 2008 14:05:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8QE4dH5007656; Fri, 26 Sep 2008 10:04:51 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Fri, 26 Sep 2008 09:49:20 -0400 User-Agent: KMail/1.9.7 References: <8185F68B-C443-4891-BEC2-5E3D453DDC93@wheelhouse.org> <05B718C6-BBC9-4B78-B580-4E250199DDCF@wheelhouse.org> <868wtf8drl.fsf@ds4.des.no> In-Reply-To: <868wtf8drl.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200809260949.21592.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Fri, 26 Sep 2008 10:04:51 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8343/Fri Sep 26 05:43:08 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jeff Wheelhouse , Dag-Erling =?utf-8?q?Sm=C3=B8rgrav?= Subject: Re: Major SMP problems with lstat/namei X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2008 14:05:07 -0000 On Friday 26 September 2008 05:20:14 am Dag-Erling Sm=C3=B8rgrav wrote: > Jeff Wheelhouse writes: > > http://software.wheelhouse.org/rptest.tar.bz2 >=20 > Thanks. I get similar results on head; vfs.lookup_shared actually seems > to *reduce* performance by about 10% - 20%. I ran the test on both UFS > and ZFS; there is no significant difference. You might try http://www.FreeBSD.org/~jhb/patches/namei_rwlock.patch However, it might also be useful in general to enable lock profiling and se= e=20 which locks (if any) are contested. =2D-=20 John Baldwin