|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
Softpanorama Search
|
nfsstat can be used to examine NFS performance.
nfsstat -s reports server-side statistics. In particular,
the following are important:
Sun recommends the following tuning actions for some common conditions:
rsize and wsize mount options can be set
on the client side to reduce the effect of a noisy network, but this should
only be considered a temporary workaround. actimeo mount option. Note that this is not appropriate where
the attributes change frequently, such as on a mail spool. In these cases, mount
the filesystems with the noac option.
nfsstat -c reports client-side statistics. The following
statistics are of particular interest:
badcalls,
the network is congested. The rsize and wsize mount
options can be set on the client side to reduce the effect of a noisy network,
but this should only be considered a temporary workaround.badxid=0, this can be an indication of a
slow network connection. badxid, the requests are reaching the server, but the server
is slow. timeo parameter should be
changed in the automounter configuration.
nfsstat -m (from the client) provides server-based performance
data.
cur>80 ms, the requests are taking too long.
cur>150 ms, the requests are taking too long.
cur>250 ms, the requests are taking too long.
The nfsstat command displays statistical information about the NFS and the RPC interface to the kernel for clients and servers.This command could also be used to re-initialize the counters for these statistics (nfsstat -z). For performance issues, the RPC statistics (-r option) are the first place to look. The NFS statistics show you how the applications use NFS.
- RPC statistics
The nfsstat command displays statistical information about RPC calls.Parent topic: NFS statistics and tuning parameters
nfsstat [options]
System administration command. Print statistics on NFS and remote procedure call (RPC) activity for both clients and server.
Options
-a Display all statistics.
-c Display only client-side statistics.
-n Display only NFS statistics.
-r Display only RPC statistics.
-s Display only server-side statistics.
-o facility Only display statistics for the specified facility. The following are valid values for facility:
fh Server file handle cache.
net Network layer statistics.
nfs Same as -n.
rc Server request reply cache.
rpc Same as -r.
-z Reset statistics to zero. Use with above options to zero out specific sets of statistics (e.g. -zr to reset the RPC statistics.)
Copyright © 1996-2009 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Site uses AdSense so you need to be aware of Google privacy policy. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Disclaimer:
Last modified: February 28, 2008