ZFS and large directories - caveat report

Freddie Cash fjwcash at gmail.com
Thu Jul 21 15:50:56 UTC 2011


On Thu, Jul 21, 2011 at 8:45 AM, Ivan Voras <ivoras at freebsd.org> wrote:

> Is there an equivalent of UFS dirhash memory setting for ZFS? (i.e. the
> size of the metadata cache)
>

vfs.zfs.arc_meta_limit

This sets the amount of ARC that can be used for metadata.  The default is
1/8th of ARC, I believe.  This setting lets you use "primarycache=all"
(store metadata and file data in ARC) but then tune how much is used for
each.

Not sure if that will help in your case or not, but it's a sysctl you can
play with.

-- 
Freddie Cash
fjwcash at gmail.com


More information about the freebsd-fs mailing list