All of lore.kernel.org
 help / color / mirror / Atom feed
* How to increase rsize/wsize ?
@ 2010-06-21 15:29 Yan Rui
       [not found] ` <AANLkTimkEM7CPctkwYiWa-rGXDs3EHNl-hldu5fQYqRo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2010-06-22 16:59 ` Dean Hildebrand
  0 siblings, 2 replies; 4+ messages in thread
From: Yan Rui @ 2010-06-21 15:29 UTC (permalink / raw)
  To: linux-nfs

Hi,

I failed to mount a nfs share with a bigger rsize/wsize (in my case,
512K).=A0=A0 The biggest rsize/wsize I can get is only 256KB on my Ubun=
tu
9.10 server box.=A0 Can anyone give me some suggestions?

root@d03:~# exportfs -v
/tmp=A0=A0=A0=A0=A0=A0=A0=A0=A0 =A0=A0=A0 <world>(rw,wdelay,root_squash=
,no_subtree_check)

root@d04:~# mount -t nfs -o wsize=3D524288,rsize=3D524288 d03:/tmp /mnt=
/nfs

root@d04:~# nfsstat -m
/mnt/nfs from d03:/tmp
=A0Flags:=A0=A0=A0 rw,relatime,vers=3D3,rsize=3D262144,wsize=3D262144,n=
amlen=3D255,hard,proto=3Dtcp,timeo=3D600,retrans=3D2,sec=3Dsys,mountadd=
r=3D10.0.0.3,mountvers=3D3,mountproto=3Dtcp,addr=3D10.0.0.3

root@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@d03:~# dpkg -l | grep nfs
ii=A0 nfs-common=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0 1:1.2.0-2ubuntu8
 NFS support files common to client and serve
ii=A0 nfs-kernel-server=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-06-23  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-21 15:29 How to increase rsize/wsize ? Yan Rui
     [not found] ` <AANLkTimkEM7CPctkwYiWa-rGXDs3EHNl-hldu5fQYqRo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-06-22  3:20   ` Yan Rui
2010-06-22 16:59 ` Dean Hildebrand
2010-06-23  0:32   ` Yan Rui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.