Instantly share code, notes, and snippets.

Embed
What would you like to do?
Raspberry Pi 3 Model B vs Raspberry Pi 3 Model B+ - network benchmark

Intro

  • Raspberry Pi Model B+: 192.168.202.28
  • Raspberry Pi Model B: 192.168.202.30

Raspberry Pi 3 Model B+

$ cat /sys/class/net/eth0/speed
1000

TCP

$ iperf -c 192.168.202.28 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.28, TCP port 5001
TCP window size:  196 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54854 connected with 192.168.202.28 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 56518
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  60.4 MBytes  50.5 Mbits/sec
[  5 ]  0.0-10.0 sec   325 MBytes   272 Mbits/sec
$ iperf -c 192.168.202.28 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.28, TCP port 5001
TCP window size:  136 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54856 connected with 192.168.202.28 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 56520
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  61.3 MBytes  51.3 Mbits/sec
[  5 ]  0.0-10.0 sec   323 MBytes   271 Mbits/sec
$ iperf -c 192.168.202.28 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.28, TCP port 5001
TCP window size:  153 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54860 connected with 192.168.202.28 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 56522
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  61.8 MBytes  51.7 Mbits/sec
[  5 ]  0.0-10.0 sec   323 MBytes   270 Mbits/sec

UDP

$ iperf -c 192.168.202.28 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.28, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 39389 connected with 192.168.202.28 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 41188
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   330 MBytes   277 Mbits/sec   0.225 ms    0/235472 (0%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.019 ms    0/  893 (0%)
$ iperf -c 192.168.202.28 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.28, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 34184 connected with 192.168.202.28 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 54987
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   330 MBytes   276 Mbits/sec   0.217 ms   12/235180 (0.0051%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.018 ms    0/  893 (0%)
$ iperf -c 192.168.202.28 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.28, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 53316 connected with 192.168.202.28 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.28 port 41298
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   322 MBytes   270 Mbits/sec   0.226 ms    0/229597 (0%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.022 ms    0/  893 (0%)

Raspberry Pi 3 Model B

$ cat /sys/class/net/eth0/speed
100

TCP

$ iperf -c 192.168.202.30 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.30, TCP port 5001
TCP window size:  187 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54606 connected with 192.168.202.30 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 41870
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec   110 MBytes  92.2 Mbits/sec
[  5 ]  0.0-10.0 sec  98.1 MBytes  82.2 Mbits/sec
$ iperf -c 192.168.202.30 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.30, TCP port 5001
TCP window size:  162 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54608 connected with 192.168.202.30 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 41872
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec   110 MBytes  92.4 Mbits/sec
[  5 ]  0.0-10.0 sec  97.8 MBytes  81.9 Mbits/sec
$ iperf -c 192.168.202.30 -d
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.202.30, TCP port 5001
TCP window size:  162 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 54612 connected with 192.168.202.30 port 5001
[  5 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 41874
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec   110 MBytes  92.3 Mbits/sec
[  5 ]  0.0-10.0 sec  97.8 MBytes  81.9 Mbits/sec

UDP

$ iperf -c 192.168.202.30 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.30, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 33655 connected with 192.168.202.30 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 46585
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   114 MBytes  95.7 Mbits/sec   0.630 ms    0/81476 (0%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.015 ms    0/  893 (0%)
$ iperf -c 192.168.202.30 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.30, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 40624 connected with 192.168.202.30 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 58079
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   114 MBytes  95.7 Mbits/sec   0.629 ms    0/81514 (0%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.023 ms    0/  893 (0%)
$ iperf -c 192.168.202.30 -d -u
------------------------------------------------------------
Client connecting to 192.168.202.30, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3 ] local 192.168.202.29 port 42523 connected with 192.168.202.30 port 5001
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  4 ] local 192.168.202.29 port 5001 connected with 192.168.202.30 port 39966
[ ID ] Interval       Transfer     Bandwidth
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[  3 ] Sent 893 datagrams
[  4 ]  0.0-10.0 sec   114 MBytes  95.7 Mbits/sec   0.641 ms    0/81459 (0%)
[  3 ] Server Report:
[  3 ]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.016 ms    0/  893 (0%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment