From c963b262fbecb64d2c41a5b5aa5b47269ab29bbc Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Fri, 28 Dec 2007 07:09:11 +0000 Subject: [PATCH] DEVEL15-windows-bkg-daemon-threads-20071228 LICENSE MIT Reduce the default number of background daemon threads used for prefetch and store operations to one. Given the current implementation when more than one thread is allocated they step on each other's toe while fighting over locks. A better model might be to divide up threads based upon cells or volumes as a means of preventing contention. (cherry picked from commit 7a1253d1d180716f2aace6e8c115f845fbfe003d) --- src/WINNT/afsd/cm_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/cm_config.h b/src/WINNT/afsd/cm_config.h index b25438a31..6df06c371 100644 --- a/src/WINNT/afsd/cm_config.h +++ b/src/WINNT/afsd/cm_config.h @@ -14,7 +14,7 @@ #define CM_CONFIGDEFAULT_BLOCKSIZE 4096 #define CM_CONFIGDEFAULT_STATS 10000 #define CM_CONFIGDEFAULT_CHUNKSIZE 18 /* 256KB */ -#define CM_CONFIGDEFAULT_DAEMONS 2 +#define CM_CONFIGDEFAULT_DAEMONS 1 #define CM_CONFIGDEFAULT_SVTHREADS 25 #define CM_CONFIGDEFAULT_TRACEBUFSIZE 5000 -- 2.39.5