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

  • 相关阅读:
    lintcode:Flip Bits 将整数A转换为B
    lintcode:strStr 字符串查找
    lintcode:Subtree 子树
    lintcode 容易题:Partition Array by Odd and Even 奇偶分割数组
    lintcode:在二叉查找树中插入节点
    lintcode:在O(1)时间复杂度删除链表节点
    lintcode:哈希函数
    lintcode:合并排序数组 II
    lintcode:合并排序数组
    lintcode:数飞机
  • 原文地址:https://www.cnblogs.com/lianghong881018/p/10245878.html
Copyright © 2011-2022 走看看