乐享奈飞 乐享奈飞

乐享奈飞-乐享无限,共享自由。

目录
iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度
/  

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度

一、在openwrt里面安装iperf3(如果你用的是vlede 1.2.9版本可以忽略这个步骤,默认已经安装)

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

二、mac电脑和win电脑客户端安装方法

MAC电脑客户端安装

1.MAC电脑安装Homebrew,官网https://brew.sh/index_zh-cn.html

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

2.安装iperf3

brew install iperf3

WIN电脑客户端安装

1.iperf3官网下载win64位版本 https://iperf.fr/iperf-download.php

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

2.解压放在桌面上就行

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

三、在opnewrt里面启动服务端

1.ssh登录到你的opnewrt软路由

2.启动命令

iperf3 -s       #这个是临时启动命令

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iperf3 -s -D       #保持在后台

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享
输入完命令没有任何反馈,代表已经启动

四、启动客户端测速

MAC平台启动客户端测速

打开终端:

iperf3 -c 10.10.10.252    #这里的IP地址填你的openwrt路由器,单线程TCP协议
iperf3 -c 10.10.10.252 -b 1000m -t 60 -i 1 -u -P 2    #多线程UDP测速

-i 每多少秒输出一次 -i 1 代表每秒输出一次

-t 一共输出多少秒 -t 60 持续输出60秒

-u UDP协议测试,如果删除默认就是TCP协议测试

-b 预估宽带多少 千兆:-b 1000m 万兆:-b 10G

-p 线程数 -p 2 2线程输出 (一般2-4线程)

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

通过有线测试出来的速度平均在 956Mbits/sec 这个就是这台软路由的极限速度千兆

WIN平台启动客户端测速

打开CMD

cd C:\Users\vee\Desktop\iperf-3.1.3-win64    #cd后面的路径为你的

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

输入命令:

iperf3 -c 10.10.10.252    #这里的IP地址填你的openwrt路由器
iperf3 -c 10.10.10.252 -b 1000m -t 60 -i 1 -u -P 2

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

五、同时也可以测试你的无线路由器或者AP的无线极限性能

进入iperf官网下载iphone或安卓的客户端

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享
这两个工具都可以 推荐第一个简单,我演示第二个的用法

这里我以我的iphone为例测试我的无线路由器的性能

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度 – Vedio Talk - VLOG、科技、生活、乐分享

以上跑出500M左右的速度就是我无线路由器的极限内网传输速度。还有很多进阶的测试测试参数可以看iperf3官网


标题:iPerf | openwrt软路由安装iperf3测试内网软路由的性能极限速度
作者:Dragon
地址:https://so.98hg.top/articles/2022/10/05/1664971831329.html