[OpenAFS] AFS client suddenly extremely slow

Jeffrey Hutzelman jhutz@cmu.edu
Wed, 06 Dec 2006 13:28:56 -0500


On Tuesday, October 31, 2006 01:22:56 PM -0800 Kris Kasner 
<kris.kasner@qualcomm.com> wrote:

> Today at 15:53, Jeffrey Hutzelman <jhutz@cmu.edu> wrote:
>
>> I believe the auto-tuning made it into 1.4.1; it's definitely in 1.4.2.
>> However, that doesn't help you if you insist on passing explicit values
>> on  the command line, as is done by the startup scripts included with
>> several of  the binary packages.
>>
>> -- Jeff
>
> Any chance someone could rattle off the command line options that are not
> needed if we want to use the auto-tuning? We currently use something like
> -stat 2800 -dcache 2400 -daemons 5 -volumes 400
> for the afsd options on or Solaris 10 clients running 1.4.2.
>
> If it's in a release notes somewhere that I missed, feel free to point me
> in that direction, too.

The cache manager will automatically select values for any of the 
parameters you can set on the command line if you don't provide them -- 
there are no required arguments to afsd.

The values for the -blocks, -cachedir, and -mountdir options are taken from 
the cacheinfo file; you can get away without that file if these are 
specified on the command line.

If any of the  -files, -stat, -chunksize, and -dcache parameters are not 
given, appropriate values are computed based on the cache size and those 
values that are given.

The default values for -rootvol, -daemons, -volumes, and -files_per_subdir 
are fixed, and the default value for -confdir is determined at compile time.

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA