From: Jeffrey Altman Date: Thu, 27 Dec 2007 21:00:41 +0000 (+0000) Subject: DEVEL15-windows-default-chunksize-20071227 X-Git-Tag: openafs-devel-1_5_29~8 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=b5af8893b409f2ab5fd476ee3913f283a6b6ad35;p=packages%2Fo%2Fopenafs.git DEVEL15-windows-default-chunksize-20071227 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) --- diff --git a/src/WINNT/afsd/cm_config.h b/src/WINNT/afsd/cm_config.h index f2a11e85c..b25438a31 100644 --- a/src/WINNT/afsd/cm_config.h +++ b/src/WINNT/afsd/cm_config.h @@ -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