[OpenAFS] Re: OpenAFS client tuning for Maildir access

Andrew Deason adeason@sinenomine.net
Tue, 26 Oct 2010 10:58:14 -0500

On Tue, 26 Oct 2010 10:32:42 +0200
linus.widstromer@it.su.se (Linus Widströmer) wrote:

> The client parameters which we have been focusing on are -stat,
> -daemons, -rxpck and -files. 
> Judging from the Git repo the default settings for these parameters
> haven't been modified since 2003. Are the default values still
> reasonable for a vanilla system or should they be updated? 

-stat and -files iirc are tuned according to the given cache size, and
should generally be okay. Your use-case with maildirs is not normal,
though, so it makes sense to tune them.

> Are there any drawbacks of raising the number of daemons and rxpackets
> all over the line of clients? We would prefer to run all clients with
> the same set of config, rather than having to classify them as "high
> load server", "medium load servers", "low load workstations" etc. 

Just more memory usage. iirc -rxpck should not be necessary at all with
certain versions with some RX improvements, but I don't think any of
those versions are in 1.4.

> Any pointers to documents or experiences of running maildirs in AFS
> w.r.p. performance and availability are of course welcome. 

"Don't do it" :) If you search the list archives, you will find some
others that have tried doing this.

Andrew Deason