Managing NFS and KRPC Kernel Configurations in HP-UX 11i v2 (November 2013)

25
Restrictions on changing
The nfs_srv_read_copy_avoid tunable is dynamic. System reboot is not required to activate a change
made to this tunable.
Modifying the value
Enable this tunable to improve the read performance of NFS.
2.2.4 nfs3_do_readdirplus
Description
The nfs3_do_readdirplus tunable controls the NFSv3 READDIRPLUS functionality on the NFS server. In
NFS-mounted filesystems, performance of some applications that read huge directories suffers if they
use READDIRPLUS instead of READDIR. These applications do not require the extended attribute
information returned by READDIRPLUS. Usage of READDIR by these applications can result in a
performance improvement.
Tested values
Default: 1 (READDIRPLUS functionality is enabled)
Min: 0 (READDIRPLUS functionality is disabled)
Max: 1
Restrictions on changing
The nfs3_do_readdirplus tunable is dynamic. System reboot is not required to activate a change
made to this tunable.
Modifying the value
Disable the tunable to disable the READDIRPLUS functionality. Once disabled, the NFS client reverts to
the READDIR operation to retrieve directory contents and the LOOKUP operation to retrieve extended
attributes. For example, if the READDIRPLUS functionality is disabled, commands such as ls, which
display only the directory information, can have a shorter response time while commands such as
find, which displays inode numbers and attribute data, can have a longer response time.
Enable the tunable if applications require both inode numbers and attribute data.