Tuning the NFS server on the home/secondary cluster or the NFS server

This topic describes the tuning on the NFS server on the home/secondary cluster or the NFS server.

Table 1. NFS server parameters
Parameter name Description
/proc/fs/nfsd/max_block_size

Set to 1 MB for improved performance.

/proc/fs/nfsd/threads

Set to a minimum value of 32. You can set this value to greater than 128 depending on the throughput capacity and the round-trip time between the cache/primary and home/secondary clusters. Determining the correct value might take a few trials.

nfsPrefetchStrategy

Set it to a number between 5–10. As AFM uses NFS, ensure that this parameter is set on the home/secondary GPFS cluster.

After the NFS values are set, you can mount and access the AFM filesets. The first time the fileset is accessed the AFM NFS client mounts the home/secondary server or servers. To see these mounts on a gateway node, enter the following command: cat /proc/mounts.

The system displays the mount point and the mount options. If the wsize and rsize values are not 1 MB, you can adjust the parameters and mount the AFM filesets again to get the correct values.

For more information about the nfsPrefetchStrategy parameter, see mmchconfig command.