Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

The /etc/fstab entry used by my nfs client is {server_ip}:/home/{server_user}/{server_path} /home/{client_user}/{client_path}

I wanted to know the rsize and wsize values used by default. I wanted to try out some benchmarks with various values smaller and larger than the default values so that i can arrive at an optimum value for my read heavy setup.

share|improve this question

4 Answers 4

up vote 4 down vote accepted

Don't modify rsize and wsize. Recent NFS servers and clients will work out the best value for you and will probably do a better job than you would as well. :)

share|improve this answer

If you are on a Linux box, take a look at /proc/mounts. You'll find the current value there. If you specify no value in /etc/fstab, that will be the default (or at least, a value that is considered sane by the system).

share|improve this answer

I believe the default rsize and wsize are 8192 for both UDP and TCP mounts.

share|improve this answer

These are the options we use most of the time

vers=3,tcp,rsize=32768,wsize=32768,timeo=600,hard,intr

share|improve this answer
    
but nobody explain why use that parameter, this is my default rsize and wsize from my workstation [root@worktux ~]# grep nfs /proc/mounts 192.168.122.191:/nfsshare/export /mnt nfs rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600‌​,retrans=2,sec=sys,mountaddr=192.168.122.191,mountvers=3,mountport=20048,mountpro‌​to=udp,local_lock=none,addr=192.168.122.191 0 0 –  c4f4t0r Jun 8 at 19:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.