• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 709
  • Last Modified:

nfs slow response on linux

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
mokkan
Asked:
mokkan
3 Solutions
 
Seth SimmonsSr. Systems AdministratorCommented:
0
 
upanwarCommented:
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
 
jghelfman40Commented:
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
 
mokkanAuthor Commented:
Thank you guys.  Changing to bigger value helped the performance.
0
 
jghelfman40Commented:
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

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now