[OpenAFS] Questions regarding `afsd` caching arguments (`-dcache` and `-files`)

Ciprian Dorin Craciun ciprian.craciun@gmail.com
Fri, 8 Mar 2019 21:15:29 +0200

On Fri, Mar 8, 2019 at 9:11 PM Mark Vitale <mvitale@sinenomine.net> wrote:
> The -dcache option for a disk-based cache does set the number of dcaches in memory.
> It has a minimum value of 2000 and max of 10000.

Is the 100K maximum a hard limit imposed in code, or a
"best-practice"?  (I've looked in a few places and it seems that it is
not a hard limit.)

> In addition, many of the options interact with each other.
> The best guide for how all this _really_ works is the source code - however, the
> source itself is quite confusing at times, so I feel your pain.

Currently I go with a trial-and-error approach.  :)

(I'm struggling to get AFS to go over the 50MB/s, i.e. half a GigaBit,
bandwidth...  My target is to saturate a full GigaBit link...)

Thanks Mark for the info,