public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Shehjar Tikoo <shehjart-iP+wyIN8Xge1Z/+hSey0Gg@public.gmane.org>
To: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: Different rsize/wsize for different NFS server software
Date: Tue, 12 May 2009 19:17:21 +0530	[thread overview]
Message-ID: <4A097DE9.6030709@zresearch.com> (raw)
In-Reply-To: <4A0959F9.1010107-iP+wyIN8Xge1Z/+hSey0Gg@public.gmane.org>

Shehjar Tikoo wrote:
> Hi All
> 
> I've been running some tests using the linux NFS3 client using the
> in-kernel NFS server and the unfs3 project.
> 
> I see that the client mounts the in-kernel server with default
> [rw]size values of 32k and the unfs3 server using [rw]size values
> of 512k. Where is this difference coming from, because I do not
> specify these different [rw]size value on the command line for mount.
> 

Through wireshark, I see that an FSINFO request is sent
by the client in order to get the wtpref and rtpref values and that is
what determines the wsize and rsize values at the client.

The next strange behaviour is that, with unfs3 as the server, I try
to mount using wsize set to 65536 with the command:

$ mount  192.168.1.201:/server/ -o wsize=65536 /test/mount

but the /proc/mounts entry still reports a 512k wsize value.

$ cat /proc/mounts
192.168.1.201:/server/ /test/mount nfs 
rw,vers=3,rsize=524288,wsize=524288,hard,intr,proto=tcp,timeo=600,retrans=2,sec=sys,addr=192.168.1.201 
0 0

and wireshark also shows client sending 512k requests.
mount.fs version is: mount.nfs (linux nfs-utils 1.1.4)

Is there any way to force the client to use a 64k wsize value?

Thanks
Shehjar

> The client kernel is Debian's 2.6.18-5-amd64 and the server kernel
> is Fedora's 2.6.18-92.1.6.el5.
> 
> Thanks
> Shehjar
> -- 
> 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:[~2009-05-12 13:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-12 11:14 Different rsize/wsize for different NFS server software Shehjar Tikoo
     [not found] ` <4A0959F9.1010107-iP+wyIN8Xge1Z/+hSey0Gg@public.gmane.org>
2009-05-12 13:47   ` Shehjar Tikoo [this message]
     [not found]     ` <4A097DE9.6030709-iP+wyIN8Xge1Z/+hSey0Gg@public.gmane.org>
2009-05-12 14:09       ` Trond Myklebust
     [not found]         ` <1242137345.21939.6.camel-rJ7iovZKK19ZJLDQqaL3InhyD016LWXt@public.gmane.org>
2009-05-12 15:23           ` Shehjar Tikoo

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=4A097DE9.6030709@zresearch.com \
    --to=shehjart-ip+wyin8xge1z/+hsey0gg@public.gmane.org \
    --cc=linux-nfs@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox