[OpenAFS-devel] Patch to implement default tuning proposal discussed a while ago

Jim Rees rees@umich.edu
Fri, 12 Aug 2005 12:10:14 -0400


Looks good other than the obvious style bugs, but I have a couple questions.

This line:

    max(cacheFiles, 1000);

doesn't do anything.  Maybe you meant this?

    cacheFiles = max(cacheBlocks / 32, 1000);

And why did you change the assumed average file size to 32KB?  This might
actually be a good number but I wonder if you have data to back it up.  I
just measured my own client cache and came up with 30.2KB so you could be
right.