[OpenAFS] Re: Recommended options for dafs in openafs 1.6.1?
Staffan Hämälä
sh@ltu.se
Wed, 02 May 2012 10:22:07 +0200
On 2012-05-01 00:09, Andrew Deason wrote:
> -vhashsize
>
> This changes the number of hash buckets for volumes. If you start to get
> like tens of thousands or hundreds of thousands of volumes on a server,
> you may want to raise it.
We have about 15-20 thousand volumes per server today. Maybe we should
try raising this a bit.
> '-b 100000' seems pretty huge. The hash table size for dir buffers is
> only 32, so assuming even distribution in the hash table, you've got
> hash chains thousands of entries long. I'm not sure if that's a good
> idea, but it depends on access patterns.
Ok. I don't remember why we chose that number. I've been searching the
net a bit, and seem to find much lower numbers for -b (like 600 or so).
/Staffan