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

by Vivek Gite on August 22, 2008 · 4 comments

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

We're here to help you make the most of sysadmin work. So, subscribe!

{ 4 comments… read them below or add one }

1 Britto August 22, 2008

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

I second that :)

Reply

3 TankerKevo August 26, 2008

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

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 9 + 3 ?
Please leave these two fields as-is:
Are you a human being? Solve the simple math so we know that you are a human and not a bot.




Previous post:

Next post: