Improving NFS performance when using 'mount' command

I am using SuSE Linux 9.2 pro. I have configured NFS server for my work but when using mount command (for example: mount 10.10.5.7:/data /Public) from the clients, it took many times to mount (about 15-20s). Sometimes I got the error message "RPC time out." How can I improve my NFS server?

    Requires Free Membership to View

There are two mount command options which will control the behaviors of client requests. They are "timeo" and "retrans." Using the -o timeo option will designate a length of time (in tenths of a second), that the client will wait until it decides to try again. The -o retrans option allows for the number of timeouts before the client gives up. Check the output of nfsstate and if you see excessive retransmissions, increase the default values for timeo and retrans. This should do the trick. You may also want to play around with the number of instances of NFSD daemon to see if that will improve your performance.

This was first published in September 2005

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.