NFS Configuration Notes
For throughput oriented applications where the objective is to maximize the data flowing out or into the Sun Fire CoolThreads server, there are 3 subsystems to consider:
- The disk subsystem:
- Make sure that a local file system can support the bandwidth
rates that you would like to see. Add more disks/LUNs/HBAs
until the bandwidth requirements are met.
- The NFS subsystem:
- The number of NFS threads is controlled by the NFSD_SERVERS
parameter in /etc/default/nfs. You need to increase this
parameter while monitoring the parallelism in NFS using
prstat -c -p `pgrep nfsd`
If the number of lwps reported is close to the limit of
what is specified in /etc/default/nfs you need to increase
this limit. Cranking this up to a high value is not very
harmful since it is only an upper bound. Only the minimum
number of threads needed to handle the incoming requests
will be created by the NFS subsystem.