It is possible to tune the following items:
Enabling and disabling the Nagle algorithm (GFS_TCP_NAGLE)
For GFS_TCP_NAGLE, specify whether to use (enable or disable) the Nagle algorithm in the communications between MDS and AC. Set the value to 1 to enable it, and set the value to 0 to disable it. This value can be set for every file system.
The Nagle algorithm is enabled by default.
Specify the tuning parameters with the -o option of sfcadm(1M).
The following shows the example to disable the Nagle algorithm.
(Example)
# sfcadm -o GFS_TCP_NAGLE=0 /dev/sfdsk/gfs01/rdsk/volume01 <Enter> |
Check the specified values with the -e option of sfcinfo(1M).
The following shows the example to check the values.
(Example)
# sfcinfo -e /dev/sfdsk/gfs01/dsk/volume01 | grep GFS_TCP_NAGLE <Enter> GFS_TCP_NAGLE=0 |
By disabling the Nagle algorithm, you can reduce the response time in accessing the GFS Shared File System from a node where the primary MDS is not running.
Especially, improvement of the performance can be expected in the following cases:
Frequently creating files, deleting files, or accessing or modifying the attribute of files
Accessing a lot of files (for example, backup)
However, the load may increase on the network used for communication between MDS and AC. The network load status can be checked with netstat(1M).