zoukankan      html  css  js  c++  java
  • Wifi Troughput Test using iperf

    learning wifi throughput test using iperf

    Purpose

           Learning how to do wifi throughput test using iperf

           We can do base on tcp/udp protocol

     

    Eevironment

           Ubuntu 16.04 or X86 PC

     

    Procdeure

             Udp example:

    UDP TEST

    1) board as service

    root@OpenWrt:/# iperf -u -s

    ------------------------------------------------------------

    Server listening on UDP port 5001

    Receiving 1470 byte datagrams

    UDP buffer size:  160 KByte (default)

    ------------------------------------------------------------

    [  3] local 192.168.1.115 port 5001 connected with 192.168.1.10 port 54557

    [ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams

    [  3]  0.0-10.0 sec   103 MBytes  86.2 Mbits/sec   1.163 ms   32/73357 (0.044%)

    [  3]  0.0-10.0 sec  20 datagrams received out-of-order

    2) PC as client

    F:iperf>iperf.exe -u -c 192.168.1.115 -b 100M -t  10

    ------------------------------------------------------------

    Client connecting to 192.168.1.115, UDP port 5001

    Sending 1470 byte datagrams

    UDP buffer size: 64.0 KByte (default)

    ------------------------------------------------------------

    [  3] local 192.168.1.10 port 54557 connected with 192.168.1.115 port 5001

    [ ID] Interval       Transfer     Bandwidth

    [  3]  0.0-10.0 sec   103 MBytes  86.1 Mbits/sec

    [  3] Sent 73358 datagrams

    [  3] Server Report:

    [  3]  0.0-10.0 sec   103 MBytes  86.2 Mbits/sec   1.163 ms   32/73357 (0.044%)

    [  3]  0.0-10.0 sec  20 datagrams received out-of-order

          Tcp example:

    TCP TEST 

    1) board as service

    root@OpenWrt:/# iperf  -s

    ------------------------------------------------------------

    Server listening on TCP port 5001

    TCP window size: 85.3 KByte (default)

    ------------------------------------------------------------

    [  4] local 192.168.1.115 port 5001 connected with 192.168.1.10 port 50736

    [ ID] Interval       Transfer     Bandwidth

    [  4]  0.0-10.0 sec  90.6 MBytes  75.7 Mbits/sec

    2) PC as client

    F:iperf>iperf.exe -c 192.168.1.115 -t  10

    ------------------------------------------------------------

    Client connecting to 192.168.1.115, TCP port 5001

    TCP window size: 64.0 KByte (default)

    ------------------------------------------------------------

    [  3] local 192.168.1.10 port 50736 connected with 192.168.1.115 port 5001

    [ ID] Interval       Transfer     Bandwidth

    [  3]  0.0-10.0 sec  90.6 MBytes  75.8 Mbits/sec

  • 相关阅读:
    IIS10中使用OpenSSL来创建CA并且签发SSL证书
    vim简单题练习-------出自《鸟哥的linux私房菜》第309页码题目
    Linux删除命令rm
    CentOS下Vim加密解密文本
    Linux中bash shell环境变量
    Linux文件系统损坏导致无法正常启动与fsck修复工具
    rm -rf /*时遇到的趣事
    Linux中tree无法正常显示中文的解决方法
    执行shell脚本的四种方式
    私有网络(VPC)概述
  • 原文地址:https://www.cnblogs.com/lianghong881018/p/10245878.html
Copyright © 2011-2022 走看看