NFS tunable parameters
To maximize your system resources, the following NFS tunable parameters
can be modified within in the /etc/conf/cf.d/stune file. Do not
edit the stune file directly. To change the value of a parameter
in the stune file, use the
command. For information about using idtune to modify
parameters in the stune file, see
You may also want to refer to the
Specifies the maximum number of rnode structures to be allocated
for NFS. An rnode is a node specific to the NFS filesystem
type. The default is 300 nodes.
Specifies the maximum number of Light Weight Processes (LWPs)
which can be created for asynchronous I/O over NFS. The default
value of 8 LWPs is expected to be sufficient for most systems.
Specifies, in seconds, the time-to-live of the LWPs which do
asynchronous I/O over NFS. If an asynchronous request is not
generated in the system in NFS_ASYNC_TIMEOUT seconds, the
LWPs exit. The default is 4 seconds.
Specifies, in seconds, the interval between the time the NFS
mmap LWP wakes up and the time the NFS mmap
LWP updates file attributes for all mmaped files.
The default is 30 seconds. Given the large amount of CPU time
the mmap LWP can potentially consume, in cases where
a significant number of files have been mmaped over NFS, this
value should not be made too small.
Specifies the number of active RPC client handles which NFS
can cache. The default is 6 clients. Increase this number only when more
memory is added to the system.
Specifies, in seconds, the time-to-live of the LWPs which service
NFS requests from clients. If an NFS request is not received by the
system in NFSD_TIMEOUT seconds, the LWPs exit.
The default is 8 seconds.
Specifies the maximum number of LWPs which can be created for
servicing NFS requests from clients. The default is 8 LWPs.
Increase this value for dedicated NFS servers.
Specifies the minimum number of LWPs which should always exist
in the system for servicing NFS requests from NFS clients. The
default is 2 LWPs. Increase this value for dedicated NFS
Specifies the maximum number of NFS retries before failing the NFS
operation for a soft mount. The default is 5 retries. Typically, this
value should not be changed.
Specifies, in seconds, the maximum initial time to wait for an NFS
server to respond to a client request. The default is 10 seconds. On
machines connected to ``lossy'' networks (networks where packets tend
to get lost), this value should be changed. On some ``lossy'' networks
you will have greater success getting the packet if you retry earlier;
on other networks, you will have greater success if you wait longer.
Specifies the number of pages to read ahead for each read
operation, if possible. The default is 1 page. Read-ahead over NFS may
be turned off by changing this value to 0.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004