All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dean Hildebrand <seattleplus@gmail.com>
To: Yan Rui <rui.yan@gmail.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: How to increase rsize/wsize ?
Date: Tue, 22 Jun 2010 09:59:58 -0700	[thread overview]
Message-ID: <4C20EC0E.7070601@gmail.com> (raw)
In-Reply-To: <AANLkTimkEM7CPctkwYiWa-rGXDs3EHNl-hldu5fQYqRo@mail.gmail.com>

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
>    

  parent reply	other threads:[~2010-06-22 16:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2010-06-23  0:32   ` Yan Rui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C20EC0E.7070601@gmail.com \
    --to=seattleplus@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=rui.yan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.