Windows: Increase default number of daemon threads
authorJeffrey Altman <jaltman@your-file-system.com>
Wed, 16 Nov 2011 00:03:14 +0000 (19:03 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 16 Nov 2011 14:06:26 +0000 (06:06 -0800)
With the SMB interface there was little benefit to having
a large background daemon worker pool since it was so rarely
used.  Now that the redirector does everything in the background
daemon workers, increase the default from 4 to 16 threads.

Change-Id: I319182e4c539c14d06fe62dde2b41a159e4edea6
Reviewed-on: http://gerrit.openafs.org/6058
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

src/WINNT/afsd/cm_config.h

index 84b4f94..10dd0d4 100644 (file)
@@ -16,7 +16,7 @@
 #define CM_CONFIGDEFAULT_CELLS          1024
 #define CM_CONFIGDEFAULT_STATS         10000
 #define CM_CONFIGDEFAULT_CHUNKSIZE     18      /* 256KB */
-#define CM_CONFIGDEFAULT_DAEMONS       4
+#define CM_CONFIGDEFAULT_DAEMONS       16
 #define CM_CONFIGDEFAULT_SVTHREADS     25
 #define CM_CONFIGDEFAULT_TRACEBUFSIZE  10000