Skip to contentSkip to conversation

NFS Client turning parameters?

DISCUSSION Brent Clements 3 participants 4 messages Mar 12, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

32k NFS blocksize not working

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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#2 lore raw

Re: 32k NFS blocksize not working

I believe your running UDP.

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

Dan

Quoted 24 lines · On Wednesday, March 12, 2003, at 03:55 PM, [email protected] 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

Quoted 8 lines

-------------------------------------------------------
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 - [email protected]
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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#3 lore raw

Re: 32k NFS blocksize not working

In reply to Brent Clements
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

" " == Brent Clements <[email protected]> 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 - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs