OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
Fri, 26 Aug 2005 09:48:08 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-4/src/WINNT/afsd
The log message added to buf_LockedCleanAsync() during the debugging
post 1.3.8201 is output for 1/10th of all buffers once every 5 seconds.
This is a huge performance hit. Move the message so that it is only
output for buffers that are actually dirty.
Also, change the algorithm so that the sqrt() of the number of buffers
are checked every 5 seconds instead of 1/10th. This will do a better
job with very large cache sizes.
--- DELTA config for openafs-stable-1_4_x follows ---
STABLE14-windows-remove-log-messages-20050826 openafs/src/WINNT/afsd/cm_buf.c 22.214.171.124 126.96.36.199