Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2010 03:26:27 -0600
From:      "Erich Jenkins, Fuujin Group Ltd" <erich@fuujingroup.com>
To:        yuwen@exodus.cs.ccu.edu.tw
Cc:        freebsd-fs <freebsd-fs@freebsd.org>, lab <lab@cs.ccu.edu.tw>
Subject:   Re: Struggling on NFS problem
Message-ID:  <4BDFE843.7050600@fuujingroup.com>
In-Reply-To: <1272960060.34062.yuwen@exodus.cs.ccu.edu.tw>
References:  <1272960060.34062.yuwen@exodus.cs.ccu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
Cheng-Lin Yang wrote:
> Dear all,
> Currently, we have a NFS server which runs FreeBSD8 with ZFS and few workstations as NFS client (2 * FreeBSD8 amd64 + 1 * FreeBSD7.2 i386 + 2 * Fedora + Debian). We spotted that NFS performs weirdly on FreeBSD clients, which will significantly slow down the system response. The only solution to it is to reboot the clients (Linux client runs smoothly). So we try to use "nfsstat -c" on FreeBSD client to dig into the problem and found strange result (http://pastebin.com/K71qpEDG) :
> csie0[~]# nfsstat -c
> Client Info:
> Rpc Counts:
>   Getattr   Setattr    Lookup  Readlink      Read     Write    Create    Remove
>   3595047     75100   1089213      1095   1258311  48664374    104346    116376
>    Rename      Link   Symlink     Mkdir     Rmdir   Readdir  RdirPlus    Access
>     17621      1644        77     19569      9459     45177         0    323665
>     Mknod    Fsstat    Fsinfo  PathConf    Commit
>         0    111262         3         0    590876
> Rpc Info:
>  TimedOut   Invalid X Replies   Retries  Requests
>         0         0         0         0  56022746
> Cache Info:
> Attr Hits    Misses Lkup Hits    Misses BioR Hits    Misses BioW Hits    Misses
> 198414412   3595052 112100649   1088903  62793893   1253320  -1008715  48664379
> BioRLHits    Misses BioD Hits    Misses DirE Hits    Misses
>      3751      1095    204326     45191    109194         8
> 
> As you can see, the value of "BioW Hits" is a negative number. Shouldn't it be equal or larger than zero? We have totally no idea on this issue. Please kindly help us on investigating the problem. Any suggestion is extremely welcomed. Thank you.
> 
> Regards,
> George
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"

Cheng-Lin

Could you provide a bit more info about your system and setup? How much
RAM, what type of raidz config? Do you have a separate ZIL device like a
solid state drive? Often, you'll experience severe NFS performance
degradation when using raidz and nfs if the zil logs are on the same
drives as the raidz volume.


Erich M. Jenkins
Fuujin Group Limited

"You should never, never doubt what no one is sure about."
-- Gene Wilder




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BDFE843.7050600>