]> git.michaelhowe.org Git - packages/o/openafs.git/commit
fun-with-a-profiler-20040504
authorNickolai Zeldovich <kolya@mit.edu>
Tue, 4 May 2004 10:36:01 +0000 (10:36 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Tue, 4 May 2004 10:36:01 +0000 (10:36 +0000)
commit0b807876f1d68ef8a76bf31a1a63bb9642b0d348
treeb402269330ea5459f452f0e6d6b36a68f98627e1
parent64b8ee9d887c4d7d669734e30bfd66c758efb51e
fun-with-a-profiler-20040504

fun with a profiler:  afs_RemoveVCB accounts for 20% of the total AFS
client CPU utilization, even under a moderate vcache turnover rate of
less than 10 new vcache's per second.

introduce a hash on the afs_cbr objects to speed this up.  if you are
seeing your AFS client being CPU-bound, e.g. on your web server, you
may want to try this.
src/afs/afs.h
src/afs/afs_prototypes.h
src/afs/afs_vcache.c