Operating System - Linux
1827807 Members
2167 Online
109969 Solutions
New Discussion

Re: NFS read/write slow performance

 
reemala
Occasional Advisor

NFS read/write slow performance

I am facing some NFS performance issue in my enviroment. Whenever I am trying to copy big file ( I check with 120MB file ) to NFS mount the system is hanging for few minutes. During that I can't access anything over the NFS mounts. There is no problem with local file systems.
I found the some errors in RX as given below:


eth0 Link encap:Ethernet HWaddr 00:0E:0C:58:4D:F2
inet addr:129.103.250.28 Bcast:129.103.250.255 Mask:255.255.255.0
inet6 addr: fe80::20e:cff:fe58:4df2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2555421 errors:390 dropped:0 overruns:0 frame:390
TX packets:1739947 errors:0 dropped:0 overruns:0 carrier:0
collisions:445082 txqueuelen:1000
RX bytes:455385847 (434.2 Mb) TX bytes:2332540689 (2224.4 Mb)
Base address:0x7400 Memory:fedc0000-fede0000

Can someone guide me to resolve the above problem.

The NFS server is running in Tru64 V5.1A and the client in on Suse Linux



Thanks & Regards,
Martin
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: NFS read/write slow performance

Shalom,

The back end sounds a little slow.

http://www.citi.umich.edu/projects/nfs-perf/results/cel/write-throughput.html

http://searchenterpriselinux.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid39_gci918089,00.html


http://nfs.sourceforge.net/

Last link looks best.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com

Re: NFS read/write slow performance

Did you check the performance of your network connection? For instance, with ftp or better yet, with Iperf (http://sourceforge.net/projects/iperf).

Also, are you using specific NFS mount options? You may want to try "rsize=8192,wsize=8192".
Ivan Ferreira
Honored Contributor

Re: NFS read/write slow performance

These are the key counters:

error: 390
collisions: 445082

These kind of problems normally occurs when the negotiation between the switch and the network adapter does not match the speed and duplex mode.

Use ethtool to get/set the speed and duplex mode, configure your network switch at the same speed/duplex.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
rick jones
Honored Contributor

Re: NFS read/write slow performance

tsk tsk ts, iperf... :) www.netperf.org :)

Attached is boilerplate on duplex mismatch for 100BT links.
there is no rest for the wicked yet the virtuous have no pillows
Rasheed Tamton
Honored Contributor

Re: NFS read/write slow performance

You do have a good amount of collisions.

collisions:445082

Most probably the speed and neg.

/sbin/mii-tool (mii-tool - view, manipulate media-independent interface
status
)

will show you the status. I am using RH and am not sure whether it is avble on Suse.

nfsstat -c
also will give you good info to troubleshoot problems.

Regards,
Rasheed Tamton.
reemala
Occasional Advisor

Re: NFS read/write slow performance

Thank you very for all your suggestions. I will check my switch/network settings and contact here for further help.

Thanks & Regards,
Martin