RaspberryPi
iperf
TinkerBoard

[メモ] ラズパイ3B+ のネットワークパフォーマンス計測

IMG_7544_640x480.jpg

概要

iperf3を使用して、Raspberry Pi 3B+ のネットワークパフォーマンスを計測。

環境

  • Raspbian: 2018-03-13-raspbian-stretch.img

    • Raspberry Pi 3+
    • Raspberry Pi 3
  • TinkerOS_debian: 20171115-tinker-board-linaro-stretch-alip-v2.0.4.img

    • ASUS TinkerBoard
  • Ubuntu 16.04(64bit) : こいつと通信して速度を測った。

    • Virtualbox v5.2.8 (Host: Windows10 64bit)

結果概要

Ethernet(client) Ethernet(Server) Wifi(Client) Wifi(Server)
RaspberryPi 3B+ 323 205 76.5 98.6
RaspberryPi 3B 94.2 93.8 33.0 41.3
TinkerBoard 855 931 48.1 44.9
  • 単位 Mbits/sec
  • 相手は、Ubuntu。

計測

iperf3 (tag:3.5) を使用して、計測

準備: iperf3のビルド

iperf3ビルド&インストール
sudo apt-get update
sudo apt-get install -y build-essential git
git clone https://github.com/esnet/iperf
cd iperf
git checkout 3.5
./configure
make -j4
sudo make install
sudo ldconfig

計測方法

  • サーバとなる方で、iperf3 -sを実行し、クライアントとなる方で iperf3 -c <相手のIPアドレス> を実行。

結果(詳細)

Raspberry Pi 3B+

RPi3B+(Ether)
pi@raspberrypi:~ $ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.74 port 40766 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  38.0 MBytes   319 Mbits/sec    0    256 KBytes       
[  5]   1.00-2.00   sec  38.8 MBytes   326 Mbits/sec    0    256 KBytes       
[  5]   2.00-3.00   sec  38.6 MBytes   324 Mbits/sec    0    256 KBytes       
[  5]   3.00-4.00   sec  38.2 MBytes   320 Mbits/sec    0    266 KBytes       
[  5]   4.00-5.00   sec  38.8 MBytes   326 Mbits/sec    0    266 KBytes       
[  5]   5.00-6.00   sec  38.6 MBytes   324 Mbits/sec    0    266 KBytes       
[  5]   6.00-7.00   sec  38.5 MBytes   323 Mbits/sec    0    266 KBytes       
[  5]   7.00-8.00   sec  38.5 MBytes   323 Mbits/sec    0    266 KBytes       
[  5]   8.00-9.00   sec  38.5 MBytes   323 Mbits/sec    0    266 KBytes       
[  5]   9.00-10.00  sec  38.3 MBytes   321 Mbits/sec    0    266 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   385 MBytes   323 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   384 MBytes   322 Mbits/sec                  receiver

iperf Done.
RPi3B+(Ether)
pi@raspberrypi:~ $ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 51206
[  5] local 192.168.22.74 port 5201 connected to 192.168.22.75 port 51208
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  22.1 MBytes   185 Mbits/sec                  
[  5]   1.00-2.00   sec  24.8 MBytes   208 Mbits/sec                  
[  5]   2.00-3.00   sec  24.2 MBytes   203 Mbits/sec                  
[  5]   3.00-4.00   sec  24.0 MBytes   201 Mbits/sec                  
[  5]   4.00-5.00   sec  24.4 MBytes   204 Mbits/sec                  
[  5]   5.00-6.00   sec  24.7 MBytes   207 Mbits/sec                  
[  5]   6.00-7.00   sec  25.0 MBytes   209 Mbits/sec                  
[  5]   7.00-8.00   sec  25.2 MBytes   212 Mbits/sec                  
[  5]   8.00-9.00   sec  25.3 MBytes   212 Mbits/sec                  
[  5]   9.00-10.00  sec  25.0 MBytes   210 Mbits/sec                  
[  5]  10.00-10.03  sec   648 KBytes   204 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.03  sec   245 MBytes   205 Mbits/sec                  receiver
RPi3B+(Wifi)
pi@raspberrypi:~ $ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.77 port 58334 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  9.25 MBytes  77.6 Mbits/sec    0   99.0 KBytes       
[  5]   1.00-2.00   sec  8.99 MBytes  75.4 Mbits/sec    0    117 KBytes       
[  5]   2.00-3.00   sec  9.21 MBytes  77.3 Mbits/sec    0    123 KBytes       
[  5]   3.00-4.00   sec  8.98 MBytes  75.3 Mbits/sec    0    123 KBytes       
[  5]   4.00-5.00   sec  8.84 MBytes  74.2 Mbits/sec    0    123 KBytes       
[  5]   5.00-6.00   sec  9.09 MBytes  76.2 Mbits/sec    0    130 KBytes       
[  5]   6.00-7.00   sec  9.26 MBytes  77.7 Mbits/sec    0    187 KBytes       
[  5]   7.00-8.00   sec  9.14 MBytes  76.7 Mbits/sec    0    187 KBytes       
[  5]   8.00-9.00   sec  9.15 MBytes  76.7 Mbits/sec    0    187 KBytes       
[  5]   9.00-10.00  sec  9.26 MBytes  77.7 Mbits/sec    0    187 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  91.2 MBytes  76.5 Mbits/sec    0             sender
[  5]   0.00-10.01  sec  90.9 MBytes  76.1 Mbits/sec                  receiver

iperf Done.
RPi3B+(Wifi)
pi@raspberrypi:~ $ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 45880
[  5] local 192.168.22.77 port 5201 connected to 192.168.22.75 port 45882
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  11.1 MBytes  93.5 Mbits/sec                  
[  5]   1.00-2.00   sec  11.4 MBytes  95.5 Mbits/sec                  
[  5]   2.00-3.00   sec  11.4 MBytes  95.3 Mbits/sec                  
[  5]   3.00-4.00   sec  12.4 MBytes   104 Mbits/sec                  
[  5]   4.00-5.00   sec  12.4 MBytes   104 Mbits/sec                  
[  5]   5.00-6.00   sec  11.0 MBytes  92.1 Mbits/sec                  
[  5]   6.00-7.00   sec  11.0 MBytes  92.0 Mbits/sec                  
[  5]   7.00-8.00   sec  12.0 MBytes   100 Mbits/sec                  
[  5]   8.00-9.00   sec  12.4 MBytes   104 Mbits/sec                  
[  5]   9.00-10.00  sec  12.4 MBytes   104 Mbits/sec                  
[  5]  10.00-10.07  sec   921 KBytes   105 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.07  sec   118 MBytes  98.6 Mbits/sec                  receiver

Raspberry Pi 3B

RPi3B(Ether)
pi@raspberrypi:~ $ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.67 port 43114 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  11.3 MBytes  94.8 Mbits/sec    0   50.9 KBytes       
[  5]   1.00-2.00   sec  11.2 MBytes  94.0 Mbits/sec    0   50.9 KBytes       
[  5]   2.00-3.00   sec  11.2 MBytes  94.2 Mbits/sec    0   52.3 KBytes       
[  5]   3.00-4.00   sec  11.2 MBytes  94.2 Mbits/sec    0   55.1 KBytes       
[  5]   4.00-5.00   sec  11.2 MBytes  94.1 Mbits/sec    0   55.1 KBytes       
[  5]   5.00-6.00   sec  11.3 MBytes  94.4 Mbits/sec    0   55.1 KBytes       
[  5]   6.00-7.00   sec  11.2 MBytes  94.2 Mbits/sec    0   55.1 KBytes       
[  5]   7.00-8.00   sec  11.2 MBytes  94.1 Mbits/sec    0   55.1 KBytes       
[  5]   8.00-9.00   sec  11.2 MBytes  94.0 Mbits/sec    0   55.1 KBytes       
[  5]   9.00-10.00  sec  11.2 MBytes  94.3 Mbits/sec    0   55.1 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   112 MBytes  94.2 Mbits/sec    0             sender
[  5]   0.00-10.01  sec   112 MBytes  94.1 Mbits/sec                  receiver

iperf Done.
RPi3B(Ether)
pi@raspberrypi:~ $ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 51176
[  5] local 192.168.22.67 port 5201 connected to 192.168.22.75 port 51178
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  10.8 MBytes  90.8 Mbits/sec                  
[  5]   1.00-2.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   2.00-3.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   3.00-4.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   4.00-5.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   5.00-6.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   6.00-7.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   7.00-8.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   8.00-9.00   sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]   9.00-10.00  sec  11.2 MBytes  94.1 Mbits/sec                  
[  5]  10.00-10.04  sec   489 KBytes  94.1 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.04  sec   112 MBytes  93.8 Mbits/sec                  receiver
RPi3B(Wifi)
pi@raspberrypi:~ $ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.70 port 35720 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  4.30 MBytes  36.0 Mbits/sec    0    147 KBytes       
[  5]   1.00-2.00   sec  4.01 MBytes  33.7 Mbits/sec    0    147 KBytes       
[  5]   2.00-3.00   sec  3.31 MBytes  27.8 Mbits/sec    0    147 KBytes       
[  5]   3.00-4.00   sec  3.78 MBytes  31.7 Mbits/sec    0    147 KBytes       
[  5]   4.00-5.00   sec  4.00 MBytes  33.5 Mbits/sec    0    147 KBytes       
[  5]   5.00-6.00   sec  4.14 MBytes  34.7 Mbits/sec    0    147 KBytes       
[  5]   6.00-7.00   sec  4.18 MBytes  35.1 Mbits/sec    0    147 KBytes       
[  5]   7.00-8.00   sec  3.67 MBytes  30.8 Mbits/sec    0    147 KBytes       
[  5]   8.00-9.00   sec  3.97 MBytes  33.3 Mbits/sec    0    147 KBytes       
[  5]   9.00-10.00  sec  4.00 MBytes  33.5 Mbits/sec    0    147 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  39.3 MBytes  33.0 Mbits/sec    0             sender
[  5]   0.00-10.01  sec  39.1 MBytes  32.8 Mbits/sec                  receiver

iperf Done.
RPi3B(Wifi)
pi@raspberrypi:~ $ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 45618
[  5] local 192.168.22.70 port 5201 connected to 192.168.22.75 port 45620
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  4.19 MBytes  35.2 Mbits/sec                  
[  5]   1.00-2.00   sec  4.79 MBytes  40.2 Mbits/sec                  
[  5]   2.00-3.00   sec  5.01 MBytes  42.0 Mbits/sec                  
[  5]   3.00-4.00   sec  4.61 MBytes  38.6 Mbits/sec                  
[  5]   4.00-5.00   sec  4.78 MBytes  40.1 Mbits/sec                  
[  5]   5.00-6.00   sec  4.68 MBytes  39.3 Mbits/sec                  
[  5]   6.00-7.00   sec  5.08 MBytes  42.6 Mbits/sec                  
[  5]   7.00-8.00   sec  5.48 MBytes  46.0 Mbits/sec                  
[  5]   8.00-9.00   sec  5.00 MBytes  41.9 Mbits/sec                  
[  5]   9.00-10.00  sec  5.55 MBytes  46.5 Mbits/sec                  
[  5]  10.00-10.20  sec  1.02 MBytes  43.0 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.20  sec  50.2 MBytes  41.3 Mbits/sec                  receiver

TinkerBoard

TinkerBoard(Ether)
linaro@tinkerboard:~$ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.68 port 40498 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  92.6 MBytes   777 Mbits/sec   33    298 KBytes       
[  5]   1.00-2.00   sec   101 MBytes   844 Mbits/sec    5    359 KBytes       
[  5]   2.00-3.00   sec   104 MBytes   871 Mbits/sec   66    314 KBytes       
[  5]   3.00-4.00   sec   105 MBytes   883 Mbits/sec    6    339 KBytes       
[  5]   4.00-5.00   sec   104 MBytes   875 Mbits/sec   21    286 KBytes       
[  5]   5.00-6.00   sec   104 MBytes   869 Mbits/sec   16    346 KBytes       
[  5]   6.00-7.00   sec   105 MBytes   878 Mbits/sec   24    348 KBytes       
[  5]   7.00-8.00   sec   103 MBytes   865 Mbits/sec   56    273 KBytes       
[  5]   8.00-9.00   sec   102 MBytes   857 Mbits/sec   12    346 KBytes       
[  5]   9.00-10.00  sec  98.9 MBytes   830 Mbits/sec   62    256 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1019 MBytes   855 Mbits/sec  301             sender
[  5]   0.00-10.03  sec  1018 MBytes   852 Mbits/sec                  receiver

iperf Done.
TinkerBoard(Ether)
linaro@tinkerboard:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 46506
[  5] local 192.168.22.68 port 5201 connected to 192.168.22.75 port 46508
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec   107 MBytes   898 Mbits/sec                  
[  5]   1.00-2.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   2.00-3.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   3.00-4.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   4.00-5.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   5.00-6.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   6.00-7.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   7.00-8.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   8.00-9.00   sec   111 MBytes   934 Mbits/sec                  
[  5]   9.00-10.00  sec   111 MBytes   934 Mbits/sec                  
[  5]  10.00-10.02  sec  2.31 MBytes   928 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.02  sec  1.09 GBytes   931 Mbits/sec                  receiver
TinkerBoard(Wifi)
linaro@tinkerboard:~$ iperf3 -c 192.168.22.75
Connecting to host 192.168.22.75, port 5201
[  5] local 192.168.22.78 port 39504 connected to 192.168.22.75 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  5.86 MBytes  49.2 Mbits/sec    0    296 KBytes       
[  5]   1.00-2.00   sec  6.16 MBytes  51.6 Mbits/sec    0    479 KBytes       
[  5]   2.00-3.00   sec  5.88 MBytes  49.3 Mbits/sec    0    634 KBytes       
[  5]   3.00-4.00   sec  5.95 MBytes  49.9 Mbits/sec    0    734 KBytes       
[  5]   4.00-5.00   sec  5.47 MBytes  45.9 Mbits/sec    0    734 KBytes       
[  5]   5.00-6.00   sec  5.65 MBytes  47.4 Mbits/sec    0    734 KBytes       
[  5]   6.00-7.00   sec  5.21 MBytes  43.7 Mbits/sec    0    772 KBytes       
[  5]   7.00-8.00   sec  5.69 MBytes  47.7 Mbits/sec    0    772 KBytes       
[  5]   8.00-9.00   sec  5.82 MBytes  48.8 Mbits/sec    0    812 KBytes       
[  5]   9.00-10.00  sec  5.61 MBytes  47.1 Mbits/sec    0    812 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  57.3 MBytes  48.1 Mbits/sec    0             sender
[  5]   0.00-10.04  sec  56.3 MBytes  47.1 Mbits/sec                  receiver

iperf Done.
TinkerBoard(Wifi)
linaro@tinkerboard:~$ iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.22.75, port 45582
[  5] local 192.168.22.70 port 5201 connected to 192.168.22.75 port 45584
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  5.18 MBytes  43.4 Mbits/sec                  
[  5]   1.00-2.00   sec  5.41 MBytes  45.4 Mbits/sec                  
[  5]   2.00-3.00   sec  5.38 MBytes  45.2 Mbits/sec                  
[  5]   3.00-4.00   sec  5.38 MBytes  45.2 Mbits/sec                  
[  5]   4.00-5.00   sec  5.48 MBytes  46.0 Mbits/sec                  
[  5]   5.00-6.00   sec  5.21 MBytes  43.7 Mbits/sec                  
[  5]   6.00-7.00   sec  5.42 MBytes  45.5 Mbits/sec                  
[  5]   7.00-8.00   sec  5.25 MBytes  44.0 Mbits/sec                  
[  5]   8.00-9.00   sec  5.27 MBytes  44.2 Mbits/sec                  
[  5]   9.00-10.00  sec  5.40 MBytes  45.3 Mbits/sec                  
[  5]  10.00-10.30  sec  1.69 MBytes  46.7 Mbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.30  sec  55.1 MBytes  44.9 Mbits/sec                  receiver

その他

  • 箱が小さくなってる。

    IMG_7539_800x480.jpg
    1B+はないです.

  • 3チップ. 新しい..
    IMG_7544_640x480.jpg