CentOS / Red Hat Enterprise Linux 5.2 Poor NFS Performance and Solution

by on August 22, 2008 · 4 comments· LAST UPDATED August 22, 2008

in , ,

A few days ago I noticed that NFS performance between a web server node and NFS server went down by 50%. NFS was optimized and the only thing was updated Red Hat kernel v5.2. I also noticed same trend on CentOS 5.2 64 bit edition.

NFS server crashed each and every time web server node tried to store a large file 20-100 MB each. Read performance was fine but write performance went to hell. Finally, I had to rollback the updates. Recently, while reading Red Hat site I came across the solution.

Updated kernel packages that fix various security issues and several bugs are now available for Red Hat Enterprise Linux 5:

* a 50-75% drop in NFS server rewrite performance, compared to Red Hat
Enterprise Linux 4.6, has been resolved.

After upgrading kernel on both server and client my issue resolved:
# yum update

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 4 comments… read them below or add one }

1 Britto August 22, 2008 at 10:42 am

Thanks vivek.

If you can post us an article about general Benchmarking and Optimizing NFS that will be very much useful for us.



2 goll August 24, 2008 at 7:26 am

I second that :)


3 TankerKevo August 26, 2008 at 4:21 am

I’ve been having issues writing to NFS on my Fedora 8 server. Running yum update as I type this. Hopefully this provides a fix.


4 Planet Malaysia September 3, 2008 at 3:51 am

NFS over TCP is much more faster than UDP


Leave a Comment

Tagged as: , , , , , , , , , , , , , , , ,

Previous post:

Next post: