How to increase rsize/wsize on ubuntu server 9.10
Rui Yan
yanrui02 at yeah.net
Tue Jun 22 15:39:01 UTC 2010
Hi,
I failed to mount a nfs share with a bigger rsize/wsize (in my case, 512K) on my Ubuntu 9.10 server box. The biggest rsize/wsize I can get is only 256KB .
The client and server (in my case, d03 and d04) are directly connected
to a gigabit switch. The MTU is default 1500. Server and client are
with the same hardware. Ubuntu 9.10 server version is installed with
default configurations.
root at d03:~# exportfs -v
/tmp <world>(rw,wdelay,root_
squash,no_subtree_check)
root at d04:~# mount -t nfs -o wsize=524288,rsize=524288 d03:/tmp /mnt/nfs
root at d04:~# nfsstat -m
/mnt/nfs from d03:/tmp
Flags: rw,relatime,vers=3,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.0.0.3,mountvers=3,mountproto=tcp,addr=10.0.0.3
root at d03:~# uname -a
Linux d03 2.6.31-14-server #48-Ubuntu SMP Fri Oct 16 15:07:34 UTC 2009
x86_64 GNU/Linux
root at d03:~# dpkg -l | grep nfs
ii nfs-common 1:1.2.0-2ubuntu8
NFS support files common to client and serve
ii nfs-kernel-server 1:1.2.0-2ubuntu8
support for NFS kernel server
According to NFS-HOWTO, I have checked the kernel const
NFSSVC_MAXBLKSIZE. It is 1M on 2.6.31.
Any comments will be appreciated!
Regards,
Rui
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100622/cc934426/attachment.html>
More information about the ubuntu-users
mailing list