[OpenAFS] client cache

Dan Pritts danno@internet2.edu
Tue, 3 Aug 2004 18:37:03 -0400


not entirely sure what you're doing but perhaps these little nuggets
of wisdom will help:

Cache size in cacheinfo is in 1k blocks.  

cacheinfo file is only consulted at boot time.  

various fs commands (fs getcacheparms, fs setcachesize, see fs help
for others) can modify the cache behavior.



On Wed, Jul 28, 2004 at 01:06:58AM -0500, tjandra@cae.wisc.edu wrote:
> Hi all, I installed afs server in linux 7.3 and an afs client in Mandrake 9.2.
> I have problem with the client cache. I set the client cache (in
> /usr/vice/etc/cacheinfo) to be 50 ( i assume that the client cache is gonna be
> 50 blocks). I create 10 different files of size 3956 blocks each in server. I
> access the first one, there is a miss in the cache for sure. Then I access the
> second one ( there is also a "miss" here ). After that I reaccess the first
> one, I got a "hit" here ( there is suppoosed to be a "miss" since the cache is
> smaller than the second file ).
> 
> could someone explain to me what actually happens here?
> Do I have to do something more in order to change the client cache size?
> 
> thank you, i will really appreciate your help
> 
> Tjahjono Tjandra
> Comp. Sci. Dept UW-Madison
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info


danno
--
dan pritts                                       danno@internet2.edu
systems administrator                            734/352-4953 office
internet2                                        734/834-7224 mobile