The current driver will print all asynchronous events. Some of the
print levels are set improperly, e.g. SRQ limit reach and SRQ last
wqe reach, which may also occur during normal operation of the software.
Currently, the information of these event is printed as a warning,
which causes a large amount of printing even during normal use of the
application. As a result, the service performance deteriorates.
This patch fixes the printing storms by modifying the print level.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
[root@localhost ~]# uname -a
Linux localhost 5.10.0+ #1 SMP Thu Oct 12 10:52:54 CST 2023 aarch64 aarch64 aarch64 GNU/Linux
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# rdma link
link hns_0/1 state ACTIVE physical_state LINK_UP netdev eno1
link hns_1/1 state ACTIVE physical_state LINK_UP netdev eno2
link hns_2/1 state DOWN physical_state DISABLED netdev eno3
[root@localhost ~]# ifconfig eno1 192.168.1.20
[root@localhost ~]#
[root@localhost ~]# ib_send_bw -d hns_0 &
[1] 10555
[root@localhost ~]#
************************************
* Waiting for client to connect... *
************************************
ib_send_bw -d hns_0 192.168.1.20&
[2] 10556
[root@localhost ~]# ---------------------------------------------------------------------------------------
Send BW Test
---------------------------------------------------------------------------------------
Dual-port : OFF Device : hns_0
Send BW Test
Number of qps : 1 Transport type : IB
Dual-port : OFF Device : hns_0
Connection type : RC Using SRQ : OFF
Number of qps : 1 Transport type : IB
PCIe relax order: ON
Connection type : RC Using SRQ : OFF
PCIe relax order: ON
ibv_wr* API : ON
ibv_wr* API : ON
RX depth : 512
TX depth : 128
CQ Moderation : 1
CQ Moderation : 1
Mtu : 1024[B]
Mtu : 1024[B]
Link type : Ethernet
Link type : Ethernet
GID index : 3
GID index : 3
Max inline data : 0[B]
Max inline data : 0[B]
rdma_cm QPs : OFF
rdma_cm QPs : OFF
Data ex. method : Ethernet
Data ex. method : Ethernet
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
local address: LID 0000 QPN 0x0002 PSN 0xd5643c
local address: LID 0000 QPN 0x0004 PSN 0x3ca3c0
GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
remote address: LID 0000 QPN 0x0004 PSN 0x3ca3c0
remote address: LID 0000 QPN 0x0002 PSN 0xd5643c
GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
GID: 00:00:00:00:00:00:00:00:00:00:255:255:192:168:01:20
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
#bytes #iterations BW peak[MB/sec] BW average[MB/sec] MsgRate[Mpps]
#bytes #iterations BW peak[MB/sec] BW average[MB/sec] MsgRate[Mpps]
65536 1000 0.00 22706.18 0.363299
---------------------------------------------------------------------------------------
65536 1000 22645.02 22630.58 0.362089
---------------------------------------------------------------------------------------
[1]- Done ib_send_bw -d hns_0
[2]+ Done ib_send_bw -d hns_0 192.168.1.20
[root@localhost ~]#
[root@localhost ~]#
登录 后才可以发表评论