您的位置:首页 > 其它

使用iperf工具测试infiniband的速度

2016-09-13 20:44 1011 查看
本文转自:http://www.linuxdriven.us/blogs/2012/04/09/testing-infiniband-speeds-using-iperf/

It is possible to trick an application that use regular tcp sockets into using the infiniband transport layer instead without recompiling the application. 

All infiniband stacks  have a standardized way to do this called the Socket Direct Protocol (SDP).

ip over inifiniband

[root@node02 ~]$ iperf -fM -c node01
------------------------------------------------------------
Client connecting to node01, TCP port 5001
TCP window size: 0.03 MByte (default)
------------------------------------------------------------
[  3] local 192.168.2.102 port 56989 connected with 192.168.2.101 port 5001
[  3]  0.0-10.0 sec  2817 MBytes    282 MBytes/sec


SDP

[root@node02 ~]$ LD_PRELOAD=libsdp.so iperf -fM -c node01
------------------------------------------------------------
Client connecting to node01, TCP port 5001
TCP window size: 0.13 MByte (default)
------------------------------------------------------------
[  4] local 192.168.2.102 port 48756 connected with 192.168.2.101 port 5001
[  4]  0.0-10.0 sec  7282 MBytes    728 MBytes/sec
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: