ZFS directory with a large number of files

Jeremy Chadwick freebsd at jdc.parodius.com
Tue Aug 2 11:07:42 UTC 2011


On Tue, Aug 02, 2011 at 11:55:43AM +0100, seanrees at gmail.com wrote:
> On Tue, Aug 2, 2011 at 11:10 AM, Daniel Kalchev <daniel at 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 |



More information about the freebsd-stable mailing list