[olug] nfs2 or nfs3?

Phil Brutsche phil at giedi.obix.com
Wed Feb 20 05:48:13 UTC 2002


A long time ago, in a galaxy far, far way, someone said...

> Does anyone know how to tell is a nfs client is using nfs2 or nfs3?

cat /proc/mounts

I have a line like this for a mount between two machines running kernel
2.4 & Debian woody:

giedi:/home on /giedi/home type nfs
(rw,nosuid,nodev,rsize=8192,wsize=8192,addr=192.168.0.2,user=phil)

> From what I've read, the default behavior is to use nfs3 if it's
> available.  I can see it's available with rpcinfo -p host, but how can I
> confirm that the client is using it from the server?

You mean besides tcpdump :)  No, sorry

> Can anyone share some tips for increasing the performance of a Linux NFS
> server?

Increase the rsize & wsize (read size & write size) values will increase
throughput - 8192, like I have above, is what's recommended.

Have you been able to determine that the bottleneck really is in software?
'Cause otherwise, I can name a few hardware changes that will definitely
help.

-- 

Phil


-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

For help contact olug-help at bstc.net - run by ezmlm
to unsubscribe, send mail to olug-unsubscribe at bstc.net
or `mail olug-unsubscribe at bstc.net < /dev/null`
(c)2001 OLUG http://www.olug.org

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_




More information about the OLUG mailing list