Re: How to increase rsize/wsize ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux