Skip to content

Commit 817ffca

Browse files
committed
update script description
1 parent fa177af commit 817ffca

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

setup_musa/check/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# ib_stream_test.sh
2+
这个脚本主要是用来测试双机IB设备之间的打流,脚本实现的原理很简单:
3+
1. A机器固定一个接收端,B机器遍历所有IB设备进行打流,
4+
2. A机器进入下一个IB设备进行接收,重复上面的动作直到所有IB设备组合都测试完毕
5+
6+
7+
### 补充手动打流方法:
8+
1. 首先查看ib设备与网卡名对应,以及状态
9+
```shell
10+
ibdev2netdev
11+
```
12+
2. 以ib_write_bw命令为例测试打流,所有的网卡全部需要测测试,这里仅以其中一个为例
13+
```shell
14+
# server端,业务IP 10.2.38.10,例如测试mlx5_9
15+
ib_write_bw -d mlx5_9
16+
17+
# clinet端,业务IP 10.2.38.11
18+
ib_write_bw -d mlx5_9 --report_gbits 10.2.38.10

0 commit comments

Comments
 (0)