Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm looking for maximum of performance for a NFS mount.

I'm on local network, it could be completly unsecure, the performance is the most important in my case.

What I already found :

In /etc/export I've defined async mode, and it already helped a lot.

In /etc/default/nfs-kernel-server I've found following variables, which could potentially increase the performance :

# Number of servers to start up
RPCNFSDCOUNT=8
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
RPCMOUNTDOPTS=--manage-gids

The NFS server is on Linux Mint, and the client, which mount remote partition is Debian 6.

If there are any recommendation for maximum performance of NFS server ?

Should I change the RPCNFSDPRIORITY ?

If there are any other parameters, which could boost NFS server ?

Cient actually mounts the NFS partition with following configuration :

server:/remotepath    /localpath    nfs4 rw,intr,hard,noatime,rsize=32768,wsize=32768 0 0

Is that optimal mounting options for NFS v4 share ?

share|improve this question
    
You mentioned you don't care if it's unsecure, then try to go with nfs v3. but if you find something more concrete I would love to know as well. –  BitsOfNix Mar 27 '13 at 13:43
    
If I understand good, v4 is more performant, than v3, at least it's mentionned at en.wikipedia.org/wiki/Network_File_System –  Fedir Mar 27 '13 at 14:32

1 Answer 1

You can modify timeo and retrans options while mounting. For example:

mount 192.168.0.102:/data /mnt -o timeo=5,retrans=4 

this affects the number of retry attempts made by the client to the server in case of a delayed response from the server or sometimes no response from the server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.