Feedback on UFS2 tuning for large number of small files (~100m)

Eduardo Morras emorrasg at yahoo.es
Wed Jun 8 15:19:20 UTC 2016


On Wed, 8 Jun 2016 14:58:54 +0100
Arthur Chance <freebsd at qeng-ho.org> wrote:

> On 08/06/2016 11:53, Eduardo Morras via freebsd-questions wrote:
> > On Wed, 8 Jun 2016 11:14:40 +0300
> > Ciprian Dorin Craciun <ciprian.craciun at gmail.com> wrote:
> > 
> >> Hello all!  (Please keep me in CC as I'm not subscribed on the
> >> mailing list.  Should I perhaps post this to the `freebsd-fs`
> >> mailing list?)
> > 
> > vfs.ufs.dirhash_maxmem: maximum allowed dirhash memory usage
> 
> Minor point: this looks like it's dependent on the memory size. On my
> 32GB machine it's 27.8 MB, on my 4GB machine it's 6.5 MB, and on a 2GB
> machine it's 3.3 MB.
 
Yes, you are right. Don't know when it changed, initially it had 2MB static and thought (wrongly) that it's still static value.

My fault.

> > Defaul value is 6MB. Check first dirhash usage with 
> > 


---   ---
Eduardo Morras <emorrasg at yahoo.es>


More information about the freebsd-questions mailing list