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.

The count values are summarized since system startup:<br />

The Mtu column Maximum transmission unit; the maximum size of packets<br />

in bytes that are transmitted using the interface<br />

The Ipkts column Total number of packets received<br />

The Ierrs column Total number of input errors; for example, malformed<br />

packets, checksum errors, or insufficient buffer space in<br />

the device driver<br />

The Opkts column Total number of packets transmitted<br />

The Oerrs column Total number of output errors; for example, a fault in the<br />

local host connection or adapter output queue overrun<br />

The Coll column Number of packet collisions detected<br />

Tuning guidelines based on netstat -i<br />

If the number of errors on input packets is greater than one percent of the total<br />

number of input packets (from the command netstat -i), that is:<br />

Ierrs > 0.01 x Ipkts<br />

Then run the netstat -m command to check for a lack of memory.<br />

If the number of errors during output packets is greater than one percent of the<br />

total number of output packets (from the command netstat -i), that is:<br />

Oerrs > 0.01 x Opkts<br />

Then increase the send queue size (tx_que_size) for that interface. The size of<br />

the tx_que_size could be checked with the following command:<br />

# lsattr -El adapter<br />

If the collision rate is greater than 10 percent, that is:<br />

Coll / Opkts > 0.1<br />

Then there is a high network utilization, and a reorganization or partitioning may<br />

be necessary. Use the netstat -v or entstat command to determine the<br />

collision rate.<br />

The netstat -i -Z command<br />

The netstat -i -Z command clears all the statistic counters for the netstat -i<br />

command to zero.<br />

Chapter 10. Performance problem determination 267

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

Saved successfully!

Ooh no, something went wrong!