Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Infiniband RX/Tx info

Is there any tools which gather and show infiniband RX/TX info ?

like image 705
D3Hunter Avatar asked Jan 27 '26 10:01

D3Hunter


1 Answers

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.

like image 54
Albert Chu Avatar answered Jan 29 '26 01:01

Albert Chu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!