[OpenAFS] cache settings -- how large is too large?

aeneous@speakeasy.org aeneous@speakeasy.org
Tue, 19 Jun 2001 19:21:38 -0400


The size (in bytes) of the cache is not usually a limiting factor.  The 
limiting factor is the number of chunks in the cache, so if you want to use a 
large cache, increase the chunksize, and you may also want to explicitly set 
the number of chunks.  1 GB is not unreasonable for a cache size.

That said, the larger cache is only going to help if you're copying the same 
files repeatedly, which you probably aren't.  Your example might not have been 
well chosen, but assuming that you meant it, are you sure that you want to 
copy stuff from AFS to /tmp?  the AFS cache could be thought of as a 
transparent /tmp partition.