21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

If the total number of collisions from the netstat -v output (for Ethernet) is<br />

greater than 10 percent of the total transmitted packets, using the following<br />

formula, the system may have a high network load:<br />

Number of collisions / Number of Transmit Packets > 0.1<br />

If the system suffers from extensive NFS load, the nfsstat command provides<br />

useful information.<br />

10.4.2 The nfsstat command<br />

NFS gathers statistics on types of NFS operations performed, along with error<br />

information and performance indicators. You can use the nfsstat command to<br />

identify network problems and observe the type of NFS operations taking place<br />

on your system. The nfsstat command displays statistical information about the<br />

NFS and Remote Procedure Call (RPC) interfaces to the kernel. You can also<br />

use this command to reinitialize this information. The nfsstat command splits its<br />

information into server and client parts. The following commands can be used to<br />

match a particular need:<br />

► nfsstat -r (to see the application NFS statistics)<br />

The output is divided into server connection oriented and connectionless, as<br />

well as client connection oriented and connectionless.<br />

► nfsstat -s (to see the server statistics)<br />

The NFS server displays the number of NFS calls received (calls) and<br />

rejected (badcalls) due to authentication, as well as the counts and<br />

percentages for the various kinds of calls made.<br />

► nfsstat -c (to see the client statistics)<br />

The NFS client displays the number of calls sent and rejected, as well as the<br />

number of times a client handle was received (clgets) and a count of the<br />

various kinds of calls and their respective percentages. For performance<br />

monitoring, the nfsstat -c command provides information on whether the<br />

network is dropping UDP packets. A network may drop a packet if it cannot<br />

handle it. Dropped packets can be the result of the response time of the<br />

network hardware or software, or an overloaded CPU on the server. Dropped<br />

packets are not actually lost, because a replacement request is issued for<br />

them.<br />

A high badxid count implies that requests are reaching the various NFS<br />

servers, but the servers are too loaded to send replies before the client's RPC<br />

calls time out and are retransmitted. The badxid value is incremented each<br />

time a duplicate reply is received for a transmitted request (an RPC request<br />

retains its XID through all transmission cycles). Excessive retransmissions<br />

place an additional strain on the server, further degrading response time.<br />

Chapter 10. Performance problem determination 273

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!