iperf带宽测试

Iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可以根据需要调整,可以报告带宽、延迟抖动和数据包丢失。

下载地址:https://iperf.fr/iperf-download.php

下载最新的3即可

以windows为例

服务端

cd C:\iperf-3.1.3-win64
iperf3 -s

默认监听5201

客户端

cd C:\iperf-3.1.3-win64
iperf3 -c 10.24.90.243

返回结果,千兆的

C:\Users\isesol\Desktop\iperf-3.1.3-win64>iperf3 -c 10.24.90.243
Connecting to host 10.24.90.243, port 5201
[  4] local 10.24.220.101 port 64646 connected to 10.24.90.243 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec   113 MBytes   935 Mbits/sec
[  4]   1.01-2.01   sec   112 MBytes   945 Mbits/sec
[  4]   2.01-3.01   sec  86.5 MBytes   727 Mbits/sec
[  4]   3.01-4.01   sec   112 MBytes   938 Mbits/sec
[  4]   4.01-5.01   sec   112 MBytes   945 Mbits/sec
[  4]   5.01-6.01   sec   112 MBytes   944 Mbits/sec
[  4]   6.01-7.00   sec   111 MBytes   934 Mbits/sec
[  4]   7.00-8.00   sec   112 MBytes   945 Mbits/sec
[  4]   8.00-9.00   sec   113 MBytes   946 Mbits/sec
[  4]   9.00-10.02  sec   114 MBytes   945 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.02  sec  1.07 GBytes   921 Mbits/sec                  sender
[  4]   0.00-10.02  sec  1.07 GBytes   921 Mbits/sec                  receiver

iperf Done.

百兆的

C:\Users\isesol\Desktop\iperf-3.1.3-win64>iperf3 -c 10.24.90.243
Connecting to host 10.24.90.243, port 5201
[  4] local 10.24.220.101 port 64755 connected to 10.24.90.243 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.01   sec  11.6 MBytes  96.2 Mbits/sec
[  4]   1.01-2.01   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   2.01-3.01   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   3.01-4.01   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   4.01-5.01   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   5.01-6.01   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   6.01-7.00   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   7.00-8.00   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   8.00-9.00   sec  11.2 MBytes  94.5 Mbits/sec
[  4]   9.00-10.02  sec  11.5 MBytes  95.1 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.02  sec   113 MBytes  94.8 Mbits/sec                  sender
[  4]   0.00-10.02  sec   113 MBytes  94.7 Mbits/sec                  receiver

iperf Done.

测了一阵发现,ESXI两个网卡竟然一个100M,一个1000M,排除了交换机限速的原因,对调一下网线,居然换过来了,有时间再把网线给替换了吧。

centos6安装

rpm -ivh https://iperf.fr/download/fedora/iperf-2.0.4-1.el6.rf.x86_64.rpm

centos7安装

rpm -ivh https://iperf.fr/download/fedora/iperf3-3.1.3-1.fc24.x86_64.rpm

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值