Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 May 2010 16:01:00 +0800 (CST)
From:      "Cheng-Lin Yang" <yuwen@exodus.cs.ccu.edu.tw>
To:        "freebsd-fs" <freebsd-fs@freebsd.org>
Cc:        lab <lab@cs.ccu.edu.tw>
Subject:   Struggling on NFS problem
Message-ID:  <1272960060.34062.yuwen@exodus.cs.ccu.edu.tw>

next in thread | raw e-mail | index | archive | help
Dear=20all,
Currently,=20we=20have=20a=20NFS=20server=20which=20runs=20FreeBSD8=20with=20=
ZFS=20and=20few=20workstations=20as=20NFS=20client=20(2=20*=20FreeBSD8=20amd=
64=20+=201=20*=20FreeBSD7.2=20i386=20+=202=20*=20Fedora=20+=20Debian).=20We=20=
spotted=20that=20NFS=20performs=20weirdly=20on=20FreeBSD=20clients,=20which=20=
will=20significantly=20slow=20down=20the=20system=20response.=20The=20only=20=
solution=20to=20it=20is=20to=20reboot=20the=20clients=20(Linux=20client=20ru=
ns=20smoothly).=20So=20we=20try=20to=20use=20"nfsstat=20-c"=20on=20FreeBSD=20=
client=20to=20dig=20into=20the=20problem=20and=20found=20strange=20result=20=
(http://pastebin.com/K71qpEDG)=20:
csie0[~]#=20nfsstat=20-c
Client=20Info:
Rpc=20Counts:
=20=20Getattr=20=20=20Setattr=20=20=20=20Lookup=20=20Readlink=20=20=20=20=20=
=20Read=20=20=20=20=20Write=20=20=20=20Create=20=20=20=20Remove
=20=203595047=20=20=20=20=2075100=20=20=201089213=20=20=20=20=20=201095=20=20=
=201258311=20=2048664374=20=20=20=20104346=20=20=20=20116376
=20=20=20Rename=20=20=20=20=20=20Link=20=20=20Symlink=20=20=20=20=20Mkdir=20=
=20=20=20=20Rmdir=20=20=20Readdir=20=20RdirPlus=20=20=20=20Access
=20=20=20=2017621=20=20=20=20=20=201644=20=20=20=20=20=20=20=2077=20=20=20=20=
=2019569=20=20=20=20=20=209459=20=20=20=20=2045177=20=20=20=20=20=20=20=20=20=
0=20=20=20=20323665
=20=20=20=20Mknod=20=20=20=20Fsstat=20=20=20=20Fsinfo=20=20PathConf=20=20=20=
=20Commit
=20=20=20=20=20=20=20=200=20=20=20=20111262=20=20=20=20=20=20=20=20=203=20=20=
=20=20=20=20=20=20=200=20=20=20=20590876
Rpc=20Info:
=20TimedOut=20=20=20Invalid=20X=20Replies=20=20=20Retries=20=20Requests
=20=20=20=20=20=20=20=200=20=20=20=20=20=20=20=20=200=20=20=20=20=20=20=20=20=
=200=20=20=20=20=20=20=20=20=200=20=2056022746
Cache=20Info:
Attr=20Hits=20=20=20=20Misses=20Lkup=20Hits=20=20=20=20Misses=20BioR=20Hits=20=
=20=20=20Misses=20BioW=20Hits=20=20=20=20Misses
198414412=20=20=203595052=20112100649=20=20=201088903=20=2062793893=20=20=20=
1253320=20=20-1008715=20=2048664379
BioRLHits=20=20=20=20Misses=20BioD=20Hits=20=20=20=20Misses=20DirE=20Hits=20=
=20=20=20Misses
=20=20=20=20=203751=20=20=20=20=20=201095=20=20=20=20204326=20=20=20=20=2045=
191=20=20=20=20109194=20=20=20=20=20=20=20=20=208

As=20you=20can=20see,=20the=20value=20of=20"BioW=20Hits"=20is=20a=20negative=
=20number.=20Shouldn't=20it=20be=20equal=20or=20larger=20than=20zero?=20We=20=
have=20totally=20no=20idea=20on=20this=20issue.=20Please=20kindly=20help=20u=
s=20on=20investigating=20the=20problem.=20Any=20suggestion=20is=20extremely=20=
welcomed.=20Thank=20you.

Regards,
George



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