From: Russ Allbery Date: Thu, 11 Aug 2005 01:12:16 +0000 (+0000) Subject: - Update the default client options based on the cache tuning synopsis X-Git-Tag: debian/1.3.87-1~15 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=02f6ff61f9e18f1f39158417e02363c0efb72d20;p=packages%2Fo%2Fopenafs.git - Update the default client options based on the cache tuning synopsis by Jeffrey Hutzelman, including setting a larger chunksize for all default option sets. (Closes: #303944) --- diff --git a/debian/afs.conf b/debian/afs.conf index 9a49b9d7c..78ce36b34 100644 --- a/debian/afs.conf +++ b/debian/afs.conf @@ -53,6 +53,9 @@ VERBOSE= # -waitclose Make close calls always synchronous (slows them down, though) # -files_per_subdir Number of files per cache subdir (Default: 2048). # +# Using the memory cache is not recommended. It's less stable than the disk +# cache and doesn't improve performance as much as it might sound. +# # The default behavior is to pick one of the following option sets based on # the size of the AFS cache, as follows: # @@ -63,11 +66,11 @@ VERBOSE= # 2GB < cache $XXLARGE # # You can override that default behavior by setting OPTIONS below. -XXLARGE="-stat 4000 -dcache 4000 -daemons 6 -volumes 256 -files 50000" -XLARGE="-stat 3600 -dcache 3600 -daemons 5 -volumes 196 -files 50000" -LARGE="-stat 2800 -dcache 2400 -daemons 5 -volumes 128" -MEDIUM="-stat 2000 -dcache 800 -daemons 3 -volumes 70" -SMALL="-stat 300 -dcache 100 -daemons 2 -volumes 50" +XXLARGE="-chunksize 20 -files 80000 -dcache 10000 -stat 15000 -daemons 6 -volumes 500" +XLARGE="-chunksize 20 -files 50000 -dcache 10000 -stat 15000 -daemons 5 -volumes 250" +LARGE="-chunksize 18 -files 25000 -dcache 10000 -stat 15000 -daemons 5 -volumes 200" +MEDIUM="-chunksize 18 -files 10000 -dcache 5000 -stat 7500 -daemons 3 -volumes 200" +SMALL="-chunksize 18 -files 2500 -dcache 2000 -stat 3000 -daemons 2 -volumes 200" # The default behavior is to pick one of the above settings as described # above. You can override this by setting OPTIONS explicitly to either one of diff --git a/debian/changelog b/debian/changelog index 81ccfdf93..3d5290c40 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,9 @@ openafs (1.3.87-1) unstable; urgency=low * New upstream version. * Add support for ppc64, thanks Andreas Jochens. (Closes: #322020) * Improve the openafs-client init script. + - Update the default client options based on the cache tuning synopsis + by Jeffrey Hutzelman, including setting a larger chunksize for all + default option sets. (Closes: #303944) - Choose the client options based on the cache size by default. - Move the code to build the options string to the init script from afs.conf so that afs.conf is pure configuration.