To optimize the performance of an NFS (Network File System) mount over a slow and busy network, you can use the following tips:
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:
reref to:lautturi.commount -o async server:/path/to/export /mnt/nfs
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
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