* 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
* Re: How to increase rsize/wsize ?
[not found] ` <AANLkTimkEM7CPctkwYiWa-rGXDs3EHNl-hldu5fQYqRo-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-06-22 3:20 ` Yan Rui
0 siblings, 0 replies; 4+ messages in thread
From: Yan Rui @ 2010-06-22 3:20 UTC (permalink / raw)
To: linux-nfs
More info on this issue..
The client and server are directly conected to a gigabit switch. The
MTU is default 1500. Server and client (in my case, d03 and d04) are
with the same hardware, OS and configurations.
Thanks,
Rui
On Mon, Jun 21, 2010 at 11:29 PM, Yan Rui <rui.yan@gmail.com> wrote:
> 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 Ub=
untu
> 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_squa=
sh,no_subtree_check)
>
> root@d04:~# mount -t nfs -o wsize=3D524288,rsize=3D524288 d03:/tmp /m=
nt/nfs
>
> root@d04:~# nfsstat -m
> /mnt/nfs from d03:/tmp
> =A0Flags:=A0=A0=A0 rw,relatime,vers=3D3,rsize=3D262144,wsize=3D262144=
,namlen=3D255,hard,proto=3Dtcp,timeo=3D600,retrans=3D2,sec=3Dsys,mounta=
ddr=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 200=
9
> 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
> =A0NFS 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
> =A0support for NFS kernel server
>
> According to NFS-HOWTO, I have checked the kernel const
> NFSSVC_MAXBLKSIZE. =A0It is 1M on 2.6.31.
>
> Any comments will be appreciated!
>
> Regards,
> Rui
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to increase rsize/wsize ?
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 16:59 ` Dean Hildebrand
2010-06-23 0:32 ` Yan Rui
1 sibling, 1 reply; 4+ messages in thread
From: Dean Hildebrand @ 2010-06-22 16:59 UTC (permalink / raw)
To: Yan Rui; +Cc: linux-nfs
What's the value of /proc/fs/nfsd/max_block_size? I'm not sure how it
is set, but it does not default to the max.
Dean
On 6/21/2010 8:29 AM, Yan Rui wrote:
> Hi,
>
> I failed to mount a nfs share with a bigger rsize/wsize (in my case,
> 512K). The biggest rsize/wsize I can get is only 256KB on my Ubuntu
> 9.10 server box. Can anyone give me some suggestions?
>
> root@d03:~# exportfs -v
> /tmp<world>(rw,wdelay,root_squash,no_subtree_check)
>
> root@d04:~# mount -t nfs -o wsize=524288,rsize=524288 d03:/tmp /mnt/nfs
>
> root@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@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 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How to increase rsize/wsize ?
2010-06-22 16:59 ` Dean Hildebrand
@ 2010-06-23 0:32 ` Yan Rui
0 siblings, 0 replies; 4+ messages in thread
From: Yan Rui @ 2010-06-23 0:32 UTC (permalink / raw)
To: Dean Hildebrand; +Cc: linux-nfs
Dean,
The max_block_size is 256KB on my nfs server. By changing it to a
1MB, I can mount a share with a bigger rsize/wsize now. Thank you
very much!
Cheers,
Rui
On Wed, Jun 23, 2010 at 12:59 AM, Dean Hildebrand <seattleplus@gmail.com> wrote:
> What's the value of /proc/fs/nfsd/max_block_size? I'm not sure how it is
> set, but it does not default to the max.
> Dean
>
> On 6/21/2010 8:29 AM, Yan Rui wrote:
>>
>> Hi,
>>
>> I failed to mount a nfs share with a bigger rsize/wsize (in my case,
>> 512K). The biggest rsize/wsize I can get is only 256KB on my Ubuntu
>> 9.10 server box. Can anyone give me some suggestions?
>>
>> root@d03:~# exportfs -v
>> /tmp<world>(rw,wdelay,root_squash,no_subtree_check)
>>
>> root@d04:~# mount -t nfs -o wsize=524288,rsize=524288 d03:/tmp /mnt/nfs
>>
>> root@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@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 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
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
>
^ 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.