Tuning the mount parameter combination of rpcTimeOut, MaxOutstandingPackets, readSize, and writeSize based on the network load, UNIX machines, and hardware significantly increases NFS Gateway performance.
You can vary the combination of mount parameters based on your network resources.
Optimal Network: Retain the default values of rpcTimeout, maxOutstandingPackets, readSize, and writeSize parameters.
Highly Used Network/Slow UNIX machine: Increase the value of the rpcTimeout parameter and decrease the values of maxOutstandingPackets, readSize, and writeSize parameters.
You can tune the combination of mount parameters in the following ways:
The following table shows an example of the time taken for a read operation with varying maxOutstandingPackets value:
In this example, maxOutstandingPackets = 10 gives the best result.
The following table shows an example of the read operation with varying readSize:
In this example, for read operations readSize = 32, and maxOutstandingPackets = 10 gives the best result.
The following table shows an example of the write operation with varying maxOutstanding Packets value:
In this example, maxOutstandingPackets = 10 gives the best result.
The following table shows an example of the write operation with varying writeSize:
In this example, for write operations, writeSize = 32, and maxOutstandingPackets = 10 gives the best result.