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

by on August 22, 2008 · 4 comments· Last updated August 22, 2008

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



You should follow me on twitter here or grab rss feed to keep track of new changes.

Featured Articles:

{ 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.


Britto

Reply

2 goll August 24, 2008 at 7:26 am

I second that :)

Reply

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.

Reply

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

NFS over TCP is much more faster than UDP

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 15 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.




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

Previous post:

Next post: