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

 

posted @ 2019-01-09 17:42  嵌入式实操  阅读(308)  评论(0编辑  收藏  举报