All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS Client turning parameters?
@ 2003-03-12 17:09 Brent Clements
  2003-03-12 21:55 ` 32k NFS blocksize not working Brent Clements
  0 siblings, 1 reply; 4+ messages in thread
From: Brent Clements @ 2003-03-12 17:09 UTC (permalink / raw)
  To: nfs

Do you guys have any suggested kernel tuning parameters for a nfs v3
linux client? My server is an hp/ux fileserver.

Thanks,
Brent Clements







-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* 32k NFS blocksize not working
  2003-03-12 17:09 NFS Client turning parameters? Brent Clements
@ 2003-03-12 21:55 ` Brent Clements
  2003-03-12 22:22   ` Dan Brunner
  2003-03-12 22:41   ` Trond Myklebust
  0 siblings, 2 replies; 4+ messages in thread
From: Brent Clements @ 2003-03-12 21:55 UTC (permalink / raw)
  To: Brent Clements; +Cc: nfs

We have a linux server running 2.4.20 plus it has nfsv3 udp/tcp server
support compiled in.

We have a linux client running 2.4.20 plus it has nfsv3 udp/tcp client
support compiled.


If we specify a read/write size above 8192 on the client, and then mount
the nfs directory. It gives us the following on /proc/mounts


cluster:/usr/local/ /tmp/d nfs
rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=cluster 0 0

Do we have to edit something in a kernel include file to allow NFSV3 to
mount above 8k?

Thanks,
Brent 





-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: 32k NFS blocksize not working
  2003-03-12 21:55 ` 32k NFS blocksize not working Brent Clements
@ 2003-03-12 22:22   ` Dan Brunner
  2003-03-12 22:41   ` Trond Myklebust
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Brunner @ 2003-03-12 22:22 UTC (permalink / raw)
  To: bclem; +Cc: nfs

I believe your running UDP.

Try running it over TCP, and see what you get...


Dan


On Wednesday, March 12, 2003, at 03:55  PM, bclem@rice.edu wrote:

> We have a linux server running 2.4.20 plus it has nfsv3 udp/tcp server
> support compiled in.
>
> We have a linux client running 2.4.20 plus it has nfsv3 udp/tcp client
> support compiled.
>
>
> If we specify a read/write size above 8192 on the client, and then 
> mount
> the nfs directory. It gives us the following on /proc/mounts
>
>
> cluster:/usr/local/ /tmp/d nfs
> rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=cluster 0 0
>
> Do we have to edit something in a kernel include file to allow NFSV3 to
> mount above 8k?
>
> Thanks,
> Brent
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:Crypto Challenge is now open!
> Get cracking and register here for some mind boggling fun and
> the chance of winning an Apple iPod:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: 32k NFS blocksize not working
  2003-03-12 21:55 ` 32k NFS blocksize not working Brent Clements
  2003-03-12 22:22   ` Dan Brunner
@ 2003-03-12 22:41   ` Trond Myklebust
  1 sibling, 0 replies; 4+ messages in thread
From: Trond Myklebust @ 2003-03-12 22:41 UTC (permalink / raw)
  To: Brent Clements; +Cc: nfs

>>>>> " " == Brent Clements <bclem@rice.edu> writes:

     > We have a linux server running 2.4.20 plus it has nfsv3 udp/tcp
     > server support compiled in.

     > We have a linux client running 2.4.20 plus it has nfsv3 udp/tcp
     > client support compiled.


     > If we specify a read/write size above 8192 on the client, and
     > then mount the nfs directory. It gives us the following on
     > /proc/mounts


     > cluster:/usr/local/ /tmp/d nfs
     > rw,v3,rsize=8192,wsize=8192,hard,udp,lock,addr=cluster 0 0

     > Do we have to edit something in a kernel include file to allow
     > NFSV3 to mount above 8k?

You'll have to find a server which supports it. Linux 2.4.x knfsd as
it stands, supports only 8k, and so the client will override any
attempt that you make to set either rsize or wsize > 8k.

If you are feeling brave, you might try to change the value of
NFSSVC_MAXBLKSIZE in include/linux/nfsd/const.h and recompiling the
server.

Cheers,
  Trond


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2003-03-12 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-12 17:09 NFS Client turning parameters? Brent Clements
2003-03-12 21:55 ` 32k NFS blocksize not working Brent Clements
2003-03-12 22:22   ` Dan Brunner
2003-03-12 22:41   ` Trond Myklebust

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.