]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-default-chunksize-20071227
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 27 Dec 2007 21:00:41 +0000 (21:00 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 27 Dec 2007 21:00:41 +0000 (21:00 +0000)
LICENSE MIT

Drop the default chunksize to 18 (256KB) from 20 (1MB) due to the increased
propensity to timeout reads on slow network connections.

(cherry picked from commit 1e262e133d2fa0464d6419b1acc6fd2c075f9dbd)

src/WINNT/afsd/cm_config.h

index f2a11e85caa661298949a014d8bcfd58121ee944..b25438a3179bed4d5aa7825e5923262aa8a3705a 100644 (file)
@@ -13,7 +13,7 @@
 #define CM_CONFIGDEFAULT_CACHESIZE     98304
 #define CM_CONFIGDEFAULT_BLOCKSIZE     4096
 #define CM_CONFIGDEFAULT_STATS         10000
-#define CM_CONFIGDEFAULT_CHUNKSIZE     20
+#define CM_CONFIGDEFAULT_CHUNKSIZE     18      /* 256KB */
 #define CM_CONFIGDEFAULT_DAEMONS       2
 #define CM_CONFIGDEFAULT_SVTHREADS     25
 #define CM_CONFIGDEFAULT_TRACEBUFSIZE  5000