]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
r2161@windlord: eagle | 2006-06-07 12:01:55 -0700
authorRuss Allbery <rra@debian.org>
Thu, 15 Jun 2006 14:20:59 +0000 (14:20 +0000)
committerRuss Allbery <rra@debian.org>
Thu, 15 Jun 2006 14:20:59 +0000 (14:20 +0000)
   * When creating a new file server in afs-newcell, use a set of tuning
     flags from Harald Barth rather than relying on the defaults.  This
     doesn't help with general bos create; long term, the defaults need to
     be fixed.
   * Add a note in README.servers about fileserver tuning options.

debian/README.servers
debian/afs-newcell
debian/changelog

index d323215afbdf779ff8e06e8df9a397aa1c4c699c..e81f0320a378c3e5bb1370f456ad35486ccaf1cf 100644 (file)
@@ -321,7 +321,17 @@ Adding Additional Servers
               -cmd /usr/lib/openafs/volserver \
               -cmd /usr/lib/openafs/salvager -localauth
 
-      For a file server, this is all you have to do.
+      For a file server, this is all you have to do.  The above uses the
+      default fileserver options, however, which are not particularly
+      well-tuned for modern systems.  afs-newcell uses the following
+      parameters from Harald Barth:
+
+          -p 23 -busyat 600 -rxpck 400 -s 1200 -l 1200 -cb 65535
+          -b 240 -vc 1200
+
+      If you want to add any additional fileserver options, enclose
+      /usr/lib/openafs/fileserver and the following options in double
+      quotes when giving the bos create command.
 
   4.  For database servers, also install openafs-dbserver and then use bos
       addhost to add the new server to /etc/openafs/server/CellServDB:
index 725d526b9064d5fb6a0f6c02c100183ca87b9fe7..3aee647f3b94cfdcb7023ede0b5aa7e596429668 100644 (file)
@@ -12,6 +12,12 @@ use Socket qw(inet_ntoa);
 use vars qw($admin $server $requirements_met $shutdown_needed);
 my $rl = new Term::ReadLine('afs-newcell');
 
+# The default file server options are poor.  Until they've been updated, use
+# the following from Harald Barth; it should be an improvement for most
+# people.
+my $fs_options = '-p 23 -busyat 600 -rxpck 400 -s 1200 -l 1200 -cb 65535'
+    . ' -b 240 -vc 1200';
+
 =head1  NAME
 
 afs-newcell - Set up initial database server for AFS cell
@@ -223,7 +229,7 @@ unwind("bos delete $server vlserver -localauth");
 
 # Create a file server as well.
 run("bos create $server fs fs"
-    . " -cmd /usr/lib/openafs/fileserver"
+    . " -cmd '/usr/lib/openafs/fileserver $fs_options'"
     . " -cmd /usr/lib/openafs/volserver"
     . " -cmd /usr/lib/openafs/salvager -localauth");
 unwind("bos delete $server fs -localauth");
index c4b3db7244df841650434b0f603f305584e9c9fd..5d77e9961afbe124b7edc9768e74438eb610f567 100644 (file)
@@ -3,9 +3,14 @@ openafs (1.4.1-3) unstable; urgency=low
   * Include all of AFS's local XDR implementation in the build for
     shlibafsrpc, fixing problems with undefined symbols in the PAM module
     on AMD64.
+  * When creating a new file server in afs-newcell, use a set of tuning
+    flags from Harald Barth rather than relying on the defaults.  This
+    doesn't help with general bos create; long term, the defaults need to
+    be fixed.
+  * Add a note in README.servers about fileserver tuning options.
   * Update standards version to 3.7.2 (no changes required).
 
- --
+ -- Russ Allbery <rra@debian.org>  Wed,  7 Jun 2006 12:01:28 -0700
 
 openafs (1.4.1-2) unstable; urgency=low