[OpenAFS-devel] PATCH: limit afsd auto-tuning to 500000 files

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Wed, 24 Aug 2005 10:36:40 -0400


In message <20050824034146.GA1685@kalmia.hozed.org>,Troy Benjegerdes writes:
>>fs getcacheparms
>AFS using    64% of cache blocks (12751138 of 20000000 1k blocks)
>              2% of the cache files (8242 of 500000 files)	      

this is really cool!  a step in the right direction.  can you also
compute/print out the average size of the cache files?  a short histogram
based on chunksizes (4k, 8k, 16k, ...CURRENT_CHUNKSIZE) would be helpful
as well.  this should help people decide which chunksize is "right"
for them.  this would tend to make the histogram small enough to send
across the kernel/user space boundary.