OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Fri, 07 Mar 2008 17:22:21 EST


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-3/src/WINNT/afsd

Modified Files:
	NTMakefile afsd.h cm_daemon.c 
Added Files:
	cm_performance.c cm_performance.h 
Log Message:
DELTA windows-cm-performance-tuning-200803007
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

This is a first cut at a cache manager statistics monitor
that can be used to determine the necessary cache parameters
to support the working set.  

Off by default the performance package can be activated
by setting "daemonPerformanceTuningInterval" in the service
Parameters key.  As with the other daemon interval values
the unit is in seconds.

At service start and each succeeding interval the cache
manager will write statistics to %TEMP%\afsd_performance.txt
showing the relative usage of cm_scache_t, cm_volume_t and
cm_buf_t objects.  The FID statistics keep track of all FIDs
seen by the cache manager during the service session whether
or not they are backed by any live object in the cache.

These statistics are not stored in the cache file.



--- DELTA config follows ---
windows-cm-performance-tuning-200803007 openafs/src/WINNT/afsd/cm_performance.c /dev/null 1.1
windows-cm-performance-tuning-200803007 openafs/src/WINNT/afsd/cm_performance.h /dev/null 1.1
windows-cm-performance-tuning-200803007 openafs/src/WINNT/afsd/NTMakefile 1.56 1.57
windows-cm-performance-tuning-200803007 openafs/src/WINNT/afsd/afsd.h 1.26 1.27
windows-cm-performance-tuning-200803007 openafs/src/WINNT/afsd/cm_daemon.c 1.43 1.44