[OpenAFS] Extremely poor write performance.

Robin Yamaguchi rhy@physics.ucsb.edu
Wed, 15 Jan 2003 13:04:43 -0800 (PST)


Hello All:

I started working with openafs about a month ago, and i'm having problems 
with write performance.  Please excuse any omitted information that is 
important - i'm a newbie.  =)

Here are some of the results from running bonnie++ (HD/filesystem 
benchmarker) on an afs directory:

     ------Sequential Output------ --Sequential Input- --Random-
     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
496M  2351  24  2516   9   772   2  2793  25  3480   2  43.6   0
     ------Sequential Create------ --------Random Create--------
     -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP /sec %CP
  16   159  26  2013  82   198  18   162  28  1013  70   215  15

I have a html version (with comparisons to NFS using the same 
client/server) at:

http://www.physics.ucsb.edu/~rhy/bonnie_results.html

The client is separate from the server, both P4s.  What is odd about these
results are the sequential and random creates and deletes.  Something is
not right.  I followed the "Quick Beginnings" Guide, and haven't really
tweaked my configurations outside of that guide.

When I first had AFS setup, I copied large amounts of data onto the afs
volume (2.5 gigs of mp3s).  Both client and server are P4s running Redhat
7.3, but the copy caused the clients's load average to 4.0 and the
server's to 3.0.

Any tips or suggestions on what i'm doing wrong would be highly 
appreciated.  I would love to use AFS in replacement to NFS for our users 
home directories!

cheers,
Robin Yamaguchi