• 内网网速测试


    内网网速测试

    • 内网网速测试主要用于测试网络设备的性能.
    • 目前可以使用 iperf3 这个软件官方网站.
    • 该软件支持Linux和Windows,Mac OS等操作系统
    • Linux端可以使用如下命令安装
    sudo apt install iperf3
    
    • 服务端使用如下命令运行
    iperf3 -s
    
    joe@Joe:~$ iperf3 -s
    -----------------------------------------------------------
    Server listening on 5201
    -----------------------------------------------------------
    Accepted connection from 172.17.176.1, port 57088
    [  5] local 172.17.181.231 port 5201 connected to 172.17.176.1 port 57089
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-1.00   sec  1.29 GBytes  11.1 Gbits/sec
    [  5]   1.00-2.00   sec  1.39 GBytes  12.0 Gbits/sec
    [  5]   2.00-3.00   sec  1.44 GBytes  12.4 Gbits/sec
    [  5]   3.00-4.00   sec  1.29 GBytes  11.1 Gbits/sec
    [  5]   4.00-5.00   sec  1.22 GBytes  10.5 Gbits/sec
    [  5]   5.00-6.00   sec  1.12 GBytes  9.60 Gbits/sec
    [  5]   6.00-7.00   sec  1.20 GBytes  10.3 Gbits/sec
    [  5]   7.00-8.00   sec  1.24 GBytes  10.7 Gbits/sec
    [  5]   8.00-9.00   sec  1.32 GBytes  11.3 Gbits/sec
    [  5]   9.00-10.00  sec  1.35 GBytes  11.6 Gbits/sec
    [  5]  10.00-10.05  sec  45.4 MBytes  7.96 Gbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bitrate
    [  5]   0.00-10.05  sec  12.9 GBytes  11.0 Gbits/sec                  receiver
    
    • 客户端可以使用Linux或者Windows命令.
    iperf3 -c 172.17.181.231 -p 5201
    
    C:\Users\Joe>iperf3 -c 172.17.181.231 -p 5201
    Connecting to host 172.17.181.231, port 5201
    [  4] local 172.17.176.1 port 57089 connected to 172.17.181.231 port 5201
    [ ID] Interval           Transfer     Bandwidth
    [  4]   0.00-1.00   sec  1.35 GBytes  11.6 Gbits/sec
    [  4]   1.00-2.00   sec  1.39 GBytes  12.0 Gbits/sec
    [  4]   2.00-3.00   sec  1.43 GBytes  12.2 Gbits/sec
    [  4]   3.00-4.00   sec  1.31 GBytes  11.3 Gbits/sec
    [  4]   4.00-5.00   sec  1.22 GBytes  10.5 Gbits/sec
    [  4]   5.00-6.00   sec  1.12 GBytes  9.61 Gbits/sec
    [  4]   6.00-7.00   sec  1.18 GBytes  10.1 Gbits/sec
    [  4]   7.00-8.00   sec  1.26 GBytes  10.8 Gbits/sec
    [  4]   8.00-9.00   sec  1.29 GBytes  11.1 Gbits/sec
    [  4]   9.00-10.00  sec  1.35 GBytes  11.6 Gbits/sec
    - - - - - - - - - - - - - - - - - - - - - - - - -
    [ ID] Interval           Transfer     Bandwidth
    [  4]   0.00-10.00  sec  12.9 GBytes  11.1 Gbits/sec                  sender
    [  4]   0.00-10.00  sec  12.9 GBytes  11.1 Gbits/sec                  receiver
    
    iperf Done.
    
    • Windows端的需要自己下载二进制文件然后配置环境变量后再使用命令行工具运行上述命令.
  • 相关阅读:
    宝塔nginx配置
    宝塔apache配置
    公司代码规范
    发送短信倒计时
    js layui 分页脚本
    常用mysql
    win10子系统ubuntu下安装nodejs,并使用n管理版本
    Cocos Creator 热更新文件MD5计算和需要注意的问题
    android app 闪屏
    关于模板测试几个问题
  • 原文地址:https://www.cnblogs.com/dygood/p/16189259.html
Copyright © 2020-2023  润新知