Reputation: 1349
Is there any tools which gather and show infiniband RX/TX info ?
Upvotes: 3
Views: 3576
Reputation: 313
You can query the Infiniband performance counters to get such info. With Openfabric's infiniband-diags package, the perfquery tool should be sufficient for your needs. Here's a quick example:
> /usr/sbin/perfquery
# Port counters: Lid 22 port 1 (CapMask: 0x200)
PortSelect:......................1
CounterSelect:...................0x0000
SymbolErrorCounter:..............0
LinkErrorRecoveryCounter:........0
LinkDownedCounter:...............0
PortRcvErrors:...................0
PortRcvRemotePhysicalErrors:.....0
PortRcvSwitchRelayErrors:........0
PortXmitDiscards:................0
PortXmitConstraintErrors:........0
PortRcvConstraintErrors:.........0
CounterSelect2:..................0x00
LocalLinkIntegrityErrors:........0
ExcessiveBufferOverrunErrors:....0
VL15Dropped:.....................0
PortXmitData:....................237939
PortRcvData:.....................128199
PortXmitPkts:....................4165
PortRcvPkts:.....................4164
I think the last 4 fields are the data you're interested in. See the manpage for details on various other options.
Upvotes: 7