[openib-general] Re: performance counters in /sys
Hal Rosenstock
halr at voltaire.com
Mon May 23 09:42:04 PDT 2005
On Mon, 2005-05-23 at 12:27, Sean Hefty wrote:
> Are there any performance counters that aren't available through the PMA
> MADs? If not, is there any reason why the PMA interface shouldn't be used
> for programmatic access?
All the counters found in:
/sys/class/infiniband/mthca0/ports/1/counters
excessive_buffer_overrun_errors port_rcv_remote_physical_errors
link_downed port_rcv_switch_relay_errors
link_error_recovery port_xmit_constraint_errors
local_link_integrity_errors port_xmit_data
port_rcv_constraint_errors port_xmit_discards
port_rcv_data port_xmit_packets
port_rcv_errors symbol_error
port_rcv_packets VL15_dropped
are available via the PMA (and via the perfquery tool):
/usr/local/ib/bin/perfquery 1 1
# Port counters: Lid 0x1 port 1
PortSelect:......................1
CounterSelect:...................0x0000
SymbolErrors:....................10344
LinkRecovers:....................255
LinkDowned:......................4
RcvErrors:.......................0
RcvRemotePhysErrors:.............0
RcvSwRelayErrors:................0
XmtDiscards:.....................19
XmtConstraintErrors:.............0
RcvConstraintErrors:.............0
LinkIntegrityErrors:.............0
ExcBufOverrunErrors:.............0
VL15Dropped:.....................0
XmtBytes:........................126990
RcvBytes:........................126952
XmtPkts:.........................1791
RcvBytes:........................1790
One advantage is that all counters are retrieved with one MAD.
-- Hal
More information about the general
mailing list