是否有任何工具可以收集并显示infiniband RX / TX信息?
答案 0 :(得分:7)
您可以查询Infiniband性能计数器以获取此类信息。使用Openfabric的infiniband-diags软件包,perfquery工具应该足以满足您的需求。这是一个简单的例子:
> /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
我认为最后4个字段是您感兴趣的数据。有关其他各种选项的详细信息,请参阅联机帮助页。