# -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:
#
# 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
* 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.