]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
- Update the default client options based on the cache tuning synopsis
authorRuss Allbery <rra@debian.org>
Thu, 11 Aug 2005 01:12:16 +0000 (01:12 +0000)
committerRuss Allbery <rra@debian.org>
Thu, 11 Aug 2005 01:12:16 +0000 (01:12 +0000)
      by Jeffrey Hutzelman, including setting a larger chunksize for all
      default option sets.  (Closes: #303944)

debian/afs.conf
debian/changelog

index 9a49b9d7c4d5b377ef2ca1099c2956c50e68e596..78ce36b348cebd43e7749bba58148a8a14069ef9 100644 (file)
@@ -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
index 81ccfdf933e73811e2042dd29e9d5588ef0fc7da..3d5290c40c7fe473e9e9d9e0574f063ea39e92f3 100644 (file)
@@ -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.