Tuning the mount parameter combination of rpcTimeOut, MaxOutstandingPackets, readSize and writeSize based on the network load, UNIX machines, and, the hardware gives a significant increase in 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 values of the rpcTimeout parameter and decrease the values of maxOutstandingPackets, readSize, and writeSize parameters.
For example, consider the following network setup:
In this network setup, you can tune the combination of mount parameters in the following ways:
The following table shows the performance time of read operation for a 100 MB file in seconds.
readSize | writeSize | maxOutstandingPackets | Time in Seconds |
---|---|---|---|
32 |
32 |
2147483647 |
30 |
32 |
32 |
|
135 |
32 |
32 |
10 |
24 |
32 |
32 |
20 |
25 |
32 |
32 |
|
25 |
32 |
32 |
|
25 |
32 |
32 |
|
31 |
32 |
32 |
|
44 |
The following table shows the performance time.
File Size | maxOutStandingPackets at 10(Time in seconds) | maxOutStandingPackets at 2147483647(Time in seconds) |
---|---|---|
500 MB |
146 |
157 |
1GB |
344 |
333 |
2 GB |
653 |
582 |
The following table shows the read operation performance for 100 MB file in seconds:
readSize | Average Time in Seconds |
---|---|
32 |
25 |
16 |
40.5 |
8 |
29 |
4 |
35 |
The following table shows the write operation performance for a 100 MB file in seconds:
readSize | writeSize | maxOutstandingPackets | Time in Seconds |
---|---|---|---|
32 |
32 |
2147483647 |
25 |
32 |
32 |
|
37 |
32 |
32 |
10 |
25 |
32 |
32 |
50 |
25 |
32 |
32 |
|
28 |
32 |
32 |
|
28 |
32 |
32 |
|
30 |
File Size | maxOutStandingPackets at 10(Time in seconds) | maxOutStandingPackets at 2147483647(Time in seconds) |
---|---|---|
500 MB |
118 |
107 |
1GB |
236 |
227 |
writeSize | Average Time in Seconds |
---|---|
32 |
25 |
16 |
31 |
8 |
28.6 |
4 |
31 |