使用iperf工具测试infiniband的速度

本文转自: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

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值