[OpenAFS-devel] cmdebug reporting what?

Harald Barth haba@pdc.kth.se
Fri, 02 Sep 2005 17:54:39 +0200 (MEST)


This is related to the big cache discussions...

# /usr/afsws/bin/cmdebug ketchup.stacken.kth.se 7001  -cache   
Chunk files:   1000000
Stat caches:   150000
Data caches:   100000
Volume caches: 250
Chunk size:    262144
Cache size:    20000000 kB
Set time:      no
Cache type:    disk

Okej, now let's count cache entries:

# /usr/afsws/bin/cmdebug ketchup.stacken.kth.se 7001  -long | grep Cache\ entry | wc
   10000   80000  716245

Exact 10000? Shouldn't that be more or is there a tuning parameter I have missed?
Or is cmdebug not telling me all?

Harald.

PS: You can try for fun the following filters after your favourite cmdebug -long

... | awk ' (NR-16) % 6 == 5'| sort | uniq -c
... |  grep Cache\ entry | awk ' {print $8}'|sort | uniq -c