a question: what's the problem about this nfs client?

We have fast nfs servers, fast storage and gigabyte network, but we can only get low

throughput on client. I run the nfstat command on client, and get the output as these:

Client rpc:

Connection oriented:

callsbadcallsbadxidstimeoutsnewcredsbadverfs

8046694204200

timerscantconnnomeminterrupts

0000

Connectionless:

callsbadcallsretransbadxidstimeoutsnewcreds

1296221257590121257580

badverfstimersnomemcantsend

01600

Client nfs:

callsbadcallsclgetscltoomany

76446817644000

Version 2: (90 calls)

null getattrsetattrroot lookupreadlink

0 0% 83 92%0 0% 0 0% 5 5% 0 0%

read wrcachewritecreateremoverename

0 0% 0 0% 0 0% 0 0% 0 0% 0 0%

link symlinkmkdirrmdirreaddirstatfs

0 0% 0 0% 0 0% 0 0% 1 1% 1 1%

Version 3: (764298 calls)

null getattrsetattrlookupaccessreadlink

0 0% 1882 0%11 0%26 0%27 0%0 0%

read writecreatemkdirsymlinkmknod

298733 39%461792 60%10 0%0 0% 0 0% 0 0%

removermdirrenamelink readdirreaddirplus

10 0%0 0% 0 0% 0 0% 2 0% 2 0%

fsstatfsinfopathconfcommit

939 0%1 0% 2 0% 861 0%

Client nfs_acl:

Version 2: (1 calls)

null getaclsetaclgetattraccess

0 0% 0 0% 0 0% 1 100%0 0%

Version 3: (12 calls)

null getaclsetacl

0 0% 12 100%0 0%

I can not find the problem, and hope to get help from here. Thank you very much.

[1477 byte] By [lqcao] at [2007-11-25 23:17:23]
# 1

you mean your nfs clients accessing are slow?

then you might want to increase your nfs threads on the nfs servers.

root3001 0Aug 15 ?0:03 /usr/lib/nfs/nfsd -a 64

root 5585 5570 0 08:53:25 pts/20:00 grep nfsd

by default I think it is only 16?

increase in small increments, 64 would be a nice number.

you can edit /etc/rc3.d/S15nfs.server and change the following

# cat S15nfs.server | grep nfsd

# and nfsd if anything was successfully exported.

startnfsd=0

startnfsd=1

# then start up mountd and nfsd

if [ $startnfsd -eq 0 -a -f /etc/rmmount.conf ] && \

startnfsd=1

if [ $startnfsd -ne 0 ]; then

#/usr/lib/nfs/nfsd -a 16

/usr/lib/nfs/nfsd -a 64

'(nfsd|mountd|rpc\.bootparamd|in\.rarpd|rpld)'

then you need to kill -HUP on the nfs pid or just reboot the nfs server

illegal_operation at 2007-7-5 18:06:00 > top of Java-index,Storage Forums,Storage General Discussion...