Fritzbox-Benutzer: Gemessen: Netzwerkdurchsatz diverser Raspis (Ergänzung: USB-NIC an Laptop mit USB 2 und 3)

Beitrag lesen

Die realistischen Datendurchsätze schwanken ziemlich stark und weisen erheblich von den teils "sportlich" anmutenden Herstellerangaben ab.

Umstände der Messung

  • Alle Raspis und die Gegenstelle ("IPERF-Server") hängen an einem guten Switch (nicht an der Fritzbox, die ist aber WLAN-AP), das Netzwerk hat zum Messzeitpunkt kaum parallele Last, auch die Prozessoren "ideln".

  • Das LAN kann 1 GBit, alle Kabel sind CAT 5e oder CAT 6, IPERF-Server ist ein AMD Ryzen 7 2700 Eight-Core Processor (mit 1 GBit-NIC) und hängt am LAN.

  • OS ist durchweg Linux.

  • Die Messungen wurden wiederholt und hatten besonders bei den unerwartet geringen Durchsätzen starke Abweichungen um bis zu 50% des gezeigten Wertes:

Raspberry Pi 2 Model B Rev 1.1 via LAN

$ lshw 2>&1 | grep 'product:' | head -n1; iperf -c 192.168.1.2 -d
    product: Raspberry Pi 2 Model B Rev 1.1
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size: 74.4 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.252 port 38760 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.252 port 5001 connected with 192.168.1.2 port 53178
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec   102 MBytes  85.5 Mbits/sec
[  4]  0.0-10.1 sec   110 MBytes  91.6 Mbits/sec

Raspberry Pi 3 Model B Rev 1.2 via LAN

$ lshw 2>&1 | grep 'product:' | head -n1; iperf -c 192.168.1.2 -d
    product: Raspberry Pi 3 Model B Rev 1.2
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size: 48.1 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.250 port 46102 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.250 port 5001 connected with 192.168.1.2 port 44982
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-11.2 sec   298 KBytes   218 Kbits/sec
[  4]  0.0-12.9 sec  4.88 MBytes  3.17 Mbits/sec

Pi 3 Model B Plus Rev 1.3 via WLAN (!)

$ lshw 2>&1 | grep 'product:' | head -n1; iperf -c 192.168.1.2 -d
    product: Raspberry Pi 3 Model B Plus Rev 1.3
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: -1.00 Byte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size: 96.2 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.253 port 43860 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.253 port 5001 connected with 192.168.1.2 port 35772
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.3 sec  6.62 MBytes  5.41 Mbits/sec
[  4]  0.0-10.3 sec   109 MBytes  89.3 Mbits/sec

Raspberry Pi 4 Model B Rev 1.1 via LAN

$ lshw 2>&1 | grep 'product:' | head -n1; iperf -c 192.168.1.2 -d
    product: Raspberry Pi 4 Model B Rev 1.1
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: -1.00 Byte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size: 65.6 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.254 port 40120 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.254 port 5001 connected with 192.168.1.2 port 40228
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec  16.6 MBytes  13.9 Mbits/sec
[  4]  0.0-10.1 sec   112 MBytes  93.3 Mbits/sec

Gegenprobe mit Laptop am LAN (Internes NIC)

$ lshw 2>&1 | grep Produkt | head -n1 ; iperf -c 192.168.1.2 -d
          Produkt: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size:  187 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.131 port 44322 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.131 port 5001 connected with 192.168.1.2 port 59688
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec   185 MBytes   155 Mbits/sec
[  4]  0.0-10.1 sec   191 MBytes   158 Mbits/sec

Das selbe Laptop am WLAN (behauptet mit 120 Mbit verbunden zu sein):

$ lshw 2>&1 | grep Produkt | head -n1 ; iperf -c 192.168.1.2 -d
          Produkt: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size:  187 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.30 port 35118 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.30 port 5001 connected with 192.168.1.2 port 53264
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.4 sec  58.0 MBytes  47.0 Mbits/sec
[  5]  0.0-10.7 sec  2.41 MBytes  1.89 Mbits/sec

Das selbe Laptop am LAN (1 Gb-NIC an USB 3):

$ lshw 2>&1 | grep Produkt | head -n1 ; iperf -c 192.168.1.2 -d
          Produkt: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size:  136 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.133 port 41052 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.133 port 5001 connected with 192.168.1.2 port 37732
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec   162 MBytes   136 Mbits/sec
[  4]  0.0-10.1 sec   410 MBytes   341 Mbits/sec

Das selbe Laptop am LAN (1 Gb-NIC an USB 2):

$ lshw 2>&1 | grep Produkt | head -n1 ; iperf -c 192.168.1.2 -d
          Produkt: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to 192.168.1.2, TCP port 5001
TCP window size:  136 KByte (default)
------------------------------------------------------------
[  5] local 192.168.1.133 port 41058 connected with 192.168.1.2 port 5001
[  4] local 192.168.1.133 port 5001 connected with 192.168.1.2 port 37734
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec   129 MBytes   108 Mbits/sec
[  4]  0.0-10.1 sec   203 MBytes   169 Mbits/sec

USB 2 schafft zwar 100 Mbit, aber ob das auch an einem Raspi so stattfindet?