Solved

nfs slow response  on linux

Posted on 2011-03-18
5
676 Views
Last Modified: 2012-05-11
We are running some of the application and response time is very slow when it try to access NFS share

10.1.1.65:/mnt/app  /app nfs rsize=8192,wsize=8192

I can see the following option on /etc/fstab,  I'm not sure what is resize and wsize option does? Does it provide better perfomance?
0
Comment
Question by:mokkan
5 Comments
 
LVL 34

Assisted Solution

by:Seth Simmons
Seth Simmons earned 166 total points
ID: 35167847
0
 
LVL 12

Accepted Solution

by:
upanwar earned 167 total points
ID: 35170295
unmount the filesystem /app and remount manually with command line as follows.

# umount /app

# mount -t nfs 10.1.1.65:/mnt/app  /app

then test and update us if it enhnace the performance or increase the speed.

0
 
LVL 6

Assisted Solution

by:jghelfman40
jghelfman40 earned 167 total points
ID: 35174242
Your read and write size are way too small, and more than likely that is your issue. Unmount your filesystem that is mounted remotely, and remount them with these options:

rsize=32768,wsize=32768

If this doesn't make things better, please let me know, and I can suggest more mount options that could improve, but at a minimum, try as I noted above.
0
 

Author Closing Comment

by:mokkan
ID: 35315425
Thank you guys.  Changing to bigger value helped the performance.
0
 
LVL 6

Expert Comment

by:jghelfman40
ID: 35317088
How is the solution not changing to the bigger value, however it is the asssited solution? Just wondering why a simple mount/umount was the accepted solution? This seems backwards to me. Thanks, and happy it  worked!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Assess most serious Linux privilege escalation bug 17 144
LINUX, CPANEL & WHM 5 44
Virtualizing very old guest OS 4 79
networking details on centos 6.6 4 49
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now