Mount NFS File System Over a Slow and Busy Network

Mount NFS File System Over a Slow and Busy Network

To optimize the performance of an NFS (Network File System) mount over a slow and busy network, you can use the following tips:

  1. Use the async option when mounting the NFS filesystem. This will allow the NFS client to continue processing requests while the server is processing the request, which can improve performance over slow or busy networks.

For example:

re‮ref‬ to:lautturi.com
mount -o async server:/path/to/export /mnt/nfs
  1. Use the rsize and wsize options to set the maximum read and write size for NFS requests. Setting these values to a smaller size can help improve performance over slow or busy networks, as it reduces the amount of data that needs to be transferred for each request.

For example:

mount -o rsize=8192,wsize=8192 server:/path/to/export /mnt/nfs
  1. Use the timeo and retrans options to set the timeout and retransmission values for NFS requests. Setting these values to higher values can help improve performance over slow or busy networks, as it allows the NFS client more time to receive a response from the server before timing out and retrying the request.

For example:

mount -o timeo=30,ret
Created Time:2017-10-30 10:17:50  Author:lautturi