OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
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
Modified Files:
Tag: openafs-stable-1_4_x
cm_buf.c
Log Message:
DELTA STABLE14-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 for openafs-stable-1_4_x follows ---
STABLE14-windows-remove-log-messages-20050826 openafs/src/WINNT/afsd/cm_buf.c 1.13.2.12 1.13.2.13