OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Fri, 26 Aug 2005 09:46:11 EDT
Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd
Modified Files:
cm_buf.c
Log Message:
DELTA windows-remove-log-messages-20050826
AUTHOR jaltman@secure-endpoints.com
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 follows ---
windows-remove-log-messages-20050826 openafs/src/WINNT/afsd/cm_buf.c 1.26 1.27