Hello all,

I'm having some problems with nfs performance.  Here is a bit of background.
I have a fileserver running FreeBSD 4.7-STABLE.  This has a 3ware
Escalade with 4 x 80GB Maxtors in a RAID 5 config.  I am exporting
/usr/ports, among other things - 5 exports total to 2 clients.  The
clients are all running 4.7-Stable as well.  Under 4.6.2, I was able to
install ports with no problems on the clients.  Now, patches don't seem
to always work, files aren't always getting created, and 'Server
Ret-Failed' from nfsstat -s increments quite rapidly.

I hope there isn't any problems following this.

# relevant info section:




#######Fileserver#######

13:41:51:d_jab@aluminum (/dev/ttyp5): 15  ~
grep nfs /etc/rc.conf
nfs_reserved_port_only="YES"
nfs_server_enable="YES"
nfs_server_flags="-u -t -n 20 -h 192.168.23.200"

13:40:12:d_jab@aluminum (/dev/ttyp5): 12  ~
grep twed /etc/fstab
/dev/twed0s1b           none            swap    sw              0       0
/dev/twed0s1h           /home           ufs     rw,noatime,nosuid,nodev
        2       2
/dev/twed0s1e           /usr            ufs     rw,noatime
2       2
/dev/twed0s1d           /usr/local/mp3          ufs
rw,noatime,nosuid,nodev         2       2
/dev/twed0s1a           /usr/local/storage              ufs
rw,noatime              2       2
/dev/twed0s1g           /usr/ports              ufs     rw,noatime
        2       2
/dev/twed0s1f           /usr/src                ufs     rw,noatime
        2       2

13:40:23:d_jab@aluminum (/dev/ttyp5): 13  ~
cat /etc/exports
/usr/src        -maproot=root   -network 192.168.23     -mask 255.255.255.0
/usr/ports      -maproot=root   -network 192.168.23     -mask 255.255.255.0
/home   -maproot=root   -network 192.168.23     -mask 255.255.255.0
/usr/local/mp3  -maproot=root   -network 192.168.23     -mask 255.255.255.0
/usr/local/storage      -maproot=root   -network 192.168.23     -mask
255.255.255.0

13:40:58:d_jab@aluminum (/dev/ttyp5): 14  ~
nfsstat -s
Server Info:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create
 Remove
     5749     67176    480135        60    191927    114932     40335
  15174
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus
 Access
    23627         9       192       909       739        47     40300
 661793
    Mknod    Fsstat    Fsinfo  PathConf    Commit    GLease    Vacate
  Evict
        0     53118        10         0     53650         0         0
      0
Server Ret-Failed
           242570
Server Faults
            0
Server Cache Stats:
   Inprog      Idem  Non-idem    Misses
        0         4         0       803
Server Lease Stats:
   Leases     PeakL   GLeases
        0         0         0
Server Write Gathering:
 WriteOps  WriteRPC   Opsaved
   114906    114932        26


###### Client ######


13:43:50:d_jab@carbon (/dev/ttyp2): 6  ~
grep nfs /etc/rc.conf
nfs_reserved_port_only="YES"
nfs_client_enable="YES"
nfs_client_flags="-n 6"

12:59:55:d_jab@carbon (/dev/ttyp2): 4  ~
grep nfs /etc/fstab
al:/home            /home           nfs
rw,nfsv3,tcp,intr,bg,rdirplus,noatime,-r=32768,-w=32768   00
al:/usr/ports               /usr/ports              nfs
rw,nfsv3,tcp,intr,bg,rdirplus,noatime,-r=32768,-w=32768            0       0
al:/usr/src         /usr/src                nfs
rw,nfsv3,tcp,intr,bg,rdirplus,noatime,-r=32768,-w=32768            0       0
al:/usr/local/mp3   /usr/local/mp3  nfs
rw,nfsv3,tcp,intr,bg,rdirplus,noatime,-r=32768,-w=32768   00
al:/usr/local/storage       /usr/local/storage      nfs
rw,nfsv3,tcp,intr,bg,rdirplus,noatime,-r=32768,-w=32768    0       0

13:42:42:d_jab@carbon (/dev/ttyp2): 5  ~
nfsstat -c
Client Info:
Rpc Counts:
  Getattr   Setattr    Lookup  Readlink      Read     Write    Create
 Remove
      274    100450    596003        63    209637    193806     55717
  26701
   Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus
 Access
    29939        27       195      1088      1084         0     43879
 774525
    Mknod    Fsstat    Fsinfo  PathConf    Commit    GLease    Vacate
  Evict
        0     56651        16         0     41432         0         0
      0
Rpc Info:
 TimedOut   Invalid X Replies   Retries  Requests
        0         0        10       617   2131487
Cache Info:
Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits
 Misses
  8475243    579261   2735547    595897   4225460    198743    320897
 193806
BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
      718        63     69134     41254     50367        14


#####################################################

Does anyone have any advice?
Let me know if you need more info.

Thanks
.daniel


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to