Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 08:50:55 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: ZFS and large directories - caveat report
Message-ID:  <CAOjFWZ7x7AM1BvR0KBWM4669rtMgcBBt%2BBP96RppvtSP_gRhJg@mail.gmail.com>
In-Reply-To: <j09hk8$svj$1@dough.gmane.org>
References:  <j09hk8$svj$1@dough.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 21, 2011 at 8:45 AM, Ivan Voras <ivoras@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ7x7AM1BvR0KBWM4669rtMgcBBt%2BBP96RppvtSP_gRhJg>