Managing NFS and KRPC Kernel Configurations in HP-UX 11i v2 (Oct 2008)
Note: If there are no NFS mount points in the system, any
change made to the value of the tunable is effective
immediately. If there are NFS mount points in the system, a
system reboot is required for the change to be activated.
Modifying the Value
Enable this tunable so your application experiences better performance when working with locked
files on NFS filesystems.
This tunable is not available in the next release of HP-UX. Starting with the HP-UX 11i v3 release,
caching is enabled by default while performing I/O on completely locked NFS files and this behavior
is not user-configurable.
2.1.7 nfs_new_rnode_lock_code
Description
When an application attempts to access a file on an NFS filesystem, it must acquire a lock on that
file's rnode. An rnode is the NFS equivalent of an inode. By default, when application threads are
waiting to lock an rnode they wait at a non-interruptible state in the kernel and do not respond to
signals sent through the kill (1) command or through a CTRL-C. Enabling the
nfs_new_rnode_lock_code tunable allows threads that are waiting for an rnode lock to sleep at an
interruptible state.
Tested Values
Default: 0 (Tunable is disabled, NFS operation cannot be interrupted)
Min: 0
Max: 1 (Tunable is enabled, NFS operation can be interrupted)
Restrictions on Changing
The nfs_new_rnode_lock_code tunable is static. System reboot is required to activate a change made
to this tunable. Changes made to the nfs_new_rnode_lock_code tunable are applicable to all NFS
mounted filesystems.
Modifying the Value
When the NFS server does not respond, the client-side processes that access the NFS filesystem
cannot be killed or interrupted. Enabling this tunable allows threads that are waiting for an rnode lock
to sleep interruptibly. These threads can be terminated, if desired.
This tunable is not available in the next release of HP-UX. Starting with the HP-UX 11i v3 release, this
behavior is the default and is not user-configurable.
2.1.8 nfs_nrnode
Description
The nfs_nrnode tunable specifies the size of the rnode cache for NFS filesystems. The NFS client uses
the rnode cache to store information about files on the client. Each cache entry contains a file handle
that uniquely identifies files on the NFS server. To avoid network traffic, the tunable also contains
pointers to various caches used by the NFS client. Each rnode has a one-to-one association with a
vnode that caches the file data.
9