Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2011 04:07:38 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        "seanrees@gmail.com" <seanrees@gmail.com>
Cc:        freebsd-stable@freebsd.org, Daniel Kalchev <daniel@digsys.bg>
Subject:   Re: ZFS directory with a large number of files
Message-ID:  <20110802110738.GA95225@icarus.home.lan>
In-Reply-To: <CAJGy1F11p9rdvR5ESDf6AVqiCJmuu99YutqngmnYZW%2B3eHLWYg@mail.gmail.com>
References:  <CAJGy1F0d7jeyaFuNdXe%2BucTL2r7R4suCyu8xG7WRHenMFZH-6g@mail.gmail.com> <20110802090830.GA92646@icarus.home.lan> <CAJGy1F0V65YB7L_1T-26O_gUkUUzn6mef036iuAw6HRGjxFRQA@mail.gmail.com> <20110802094226.GA93114@icarus.home.lan> <42039B84-D6CE-4780-AA70-8500B1B32036@gsoft.com.au> <4E37CD13.1070402@digsys.bg> <CAJGy1F11p9rdvR5ESDf6AVqiCJmuu99YutqngmnYZW%2B3eHLWYg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <daniel@digsys.bg> 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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110802110738.GA95225>