From owner-freebsd-stable@FreeBSD.ORG Tue Aug 2 11:07:42 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58F11106564A for ; Tue, 2 Aug 2011 11:07:42 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta01.emeryville.ca.mail.comcast.net (qmta01.emeryville.ca.mail.comcast.net [76.96.30.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3BF048FC14 for ; Tue, 2 Aug 2011 11:07:40 +0000 (UTC) Received: from omta22.emeryville.ca.mail.comcast.net ([76.96.30.89]) by qmta01.emeryville.ca.mail.comcast.net with comcast id FNDA1h0071vN32cA1P7co9; Tue, 02 Aug 2011 11:07:36 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta22.emeryville.ca.mail.comcast.net with comcast id FP9m1h0051t3BNj8iP9mSp; Tue, 02 Aug 2011 11:09:47 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 463D6102C36; Tue, 2 Aug 2011 04:07:38 -0700 (PDT) Date: Tue, 2 Aug 2011 04:07:38 -0700 From: Jeremy Chadwick To: "seanrees@gmail.com" Message-ID: <20110802110738.GA95225@icarus.home.lan> References: <20110802090830.GA92646@icarus.home.lan> <20110802094226.GA93114@icarus.home.lan> <42039B84-D6CE-4780-AA70-8500B1B32036@gsoft.com.au> <4E37CD13.1070402@digsys.bg> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org, Daniel Kalchev Subject: Re: ZFS directory with a large number of files X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2011 11:07:42 -0000 On Tue, Aug 02, 2011 at 11:55:43AM +0100, seanrees@gmail.com wrote: > On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev wrote: > >> If it is a limitation in ZFS it would be nice to know that, perhaps it > >> truly, really is a bug that can be avoided (or it's inherent in the way ZFS > >> handles such things) > > > > It is possible ?that there is not enough memory in ARC to cache that large > > directory. > > > > Other than that, perhaps in ZFS it would be easier to prune the unused > > directory entries, than it is in UFS. It looks like this is not implemented. > > > > Another reason might be some FreeBSD specific implementation issue for > > fstatfs. > > > > In any case, the data available is not sufficient. More information would > > help, like how much RAM this system has, how much ARC uses, some ARC stats. > > Which sysctl's would you like? Output from "sysctl vfs.zfs kstat.zfs" would be sufficient. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |