Langsamer Traffic auf den eigenen Server über´s Internet

Begonnen von Damian, 13 August 2024, 21:23:00

Vorheriges Thema - Nächstes Thema

Damian

Ich habe bei mir diverse Server unter Proxmox laufen. Neben FHEM läuft dort auch Nextcloud. Das Problem ist nun, dass der Traffic dorthin aus dem Internet viel langsamer ist, als meine DSL-Leitung liefert. Lt. Speedtest liegt Download bei ca. 80 Mbit und Upload bei ca. 27 Mbit.

Ich habe jetzt mal direkt auf dem Proxmox-Server einen iperf3 -s laufen, gegen den man den Traffic von außen messen kann (den Port 5201 für iperf3 habe ich kurzfristig für Tests geöffnet)

Meine dynamische IP  lautet heute 188.126.184.48

Wenn ich nun im gleichen Netz dagegen teste, bekomme ich meine volle Bandbreite meines LANs:

C:\iperf3>iperf3 -c 188.126.184.48 -V
iperf 3.17.1
CYGWIN_NT-10.0-22631 Trigkey 3.5.3-1.x86_64 2024-04-03 17:25 UTC x86_64
Control connection MSS 1452
Time: Tue, 13 Aug 2024 18:56:43 GMT
Connecting to host 188.126.184.48, port 5201
      Cookie: hnze23njysrsicfiooefehujepdywurrcd64
      TCP MSS: 1452 (default)
[  5] local 192.168.178.134 port 49440 connected to 188.126.184.48 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.01   sec   114 MBytes   947 Mbits/sec
[  5]   1.01-2.00   sec   112 MBytes   946 Mbits/sec
[  5]   2.00-3.01   sec   114 MBytes   946 Mbits/sec
[  5]   3.01-4.01   sec   112 MBytes   946 Mbits/sec
[  5]   4.01-5.01   sec   113 MBytes   945 Mbits/sec
[  5]   5.01-6.01   sec   112 MBytes   946 Mbits/sec
[  5]   6.01-7.01   sec   113 MBytes   946 Mbits/sec
[  5]   7.01-8.01   sec   112 MBytes   945 Mbits/sec
[  5]   8.01-9.01   sec   114 MBytes   946 Mbits/sec
[  5]   9.01-10.01  sec   112 MBytes   946 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.01  sec  1.10 GBytes   946 Mbits/sec                  sender
[  5]   0.00-10.01  sec  1.10 GBytes   945 Mbits/sec                  receiver
CPU Utilization: local/sender 0.0% (0.0%u/0.0%s), remote/receiver 4.7% (0.3%u/4.4%s)
rcv_tcp_congestion cubic
Über eine mobile Leitung (Speedtest Download ca. 60 Mbit Upload 30 Mbit)

localhost:~$ iperf3 -c 188.126.184.48  -V
iperf 3.9
Linux localhost 4.19.113-27223811 #1 SMP PREEMPT Mon Jun 24 18:31:31 KST 2024 aarch64
Control connection MSS 1440
Time: Tue, 13 Aug 2024 19:10:30 GMT
Connecting to host 188.126.184.48, port 5201
      Cookie: jflmwcahaaddhrrtujdthiiui3ryu5wbkuhj
      TCP MSS: 1440 (default)
[  5] local 100.74.81.179 port 45078 connected to 188.126.184.48 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  1.29 MBytes  10.8 Mbits/sec   27   9.84 KBytes
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec    7   1.41 KBytes
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec    3   4.22 KBytes
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec    6   1.41 KBytes
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec    2   9.84 KBytes
[  5]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec    8   4.22 KBytes
[  5]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec    5   1.41 KBytes
[  5]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec    6   5.62 KBytes
[  5]   8.00-9.00   sec   380 KBytes  3.11 Mbits/sec    7   1.41 KBytes
[  5]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec    3   5.62 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1.66 MBytes  1.39 Mbits/sec   74             sender
[  5]   0.00-10.06  sec   747 KBytes   608 Kbits/sec                  receiver
CPU Utilization: local/sender 0.6% (0.1%u/0.5%s), remote/receiver 0.1% (0.0%u/0.1%s)
snd_tcp_congestion bic

Mit 1,39 Mbit und 0,608 Mbit bin ich weit davon entfernt meine DSL-Bandbreite zu erreichen.

Hat jemand eine Idee wo das Problem liegt? Meine Vermutung ist, dass es am Provider liegt.

Ich habe den iperf3 server z. Zt. bei mir laufen. Man kann es also heute mit iperf3 -c 188.126.184.48  -V antesten.
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

betateilchen

Hier mal die Ergebnisse von zwei Testläufen.

Der erste Test ist aus meinem lokalen Netzwerk heraus gelaufen,
der zweite Test von einer Amazon Lightsail Instanz aus Irland.

iperf 3.12
Linux proxmox-cubie 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64
Control connection MSS 1440
Time: Tue, 13 Aug 2024 19:27:37 GMT
Connecting to host 188.126.184.48, port 5201
      Cookie: o56ozory4u6reicxegtn2cihxc46votfldt5
      TCP MSS: 1440 (default)
[  5] local 192.168.123.241 port 51786 connected to 188.126.184.48 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  3.38 MBytes  28.3 Mbits/sec    2   88.6 KBytes       
[  5]   1.00-2.00   sec  3.21 MBytes  27.0 Mbits/sec    1   78.8 KBytes       
[  5]   2.00-3.00   sec  2.22 MBytes  18.7 Mbits/sec    1   73.1 KBytes       
[  5]   3.00-4.00   sec  2.47 MBytes  20.7 Mbits/sec    0   95.6 KBytes       
[  5]   4.00-5.00   sec  3.09 MBytes  25.9 Mbits/sec    0    118 KBytes       
[  5]   5.00-6.00   sec  3.52 MBytes  29.5 Mbits/sec    1    103 KBytes       
[  5]   6.00-7.00   sec  2.53 MBytes  21.3 Mbits/sec    1   90.0 KBytes       
[  5]   7.00-8.00   sec  3.09 MBytes  25.9 Mbits/sec    0    112 KBytes       
[  5]   8.00-9.00   sec  3.71 MBytes  31.1 Mbits/sec    0    135 KBytes       
[  5]   9.00-10.00  sec  3.71 MBytes  31.1 Mbits/sec    0    156 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  30.9 MBytes  26.0 Mbits/sec    6             sender
[  5]   0.00-10.03  sec  30.5 MBytes  25.5 Mbits/sec                  receiver
CPU Utilization: local/sender 0.5% (0.2%u/0.3%s), remote/receiver 3.4% (0.3%u/3.1%s)
snd_tcp_congestion cubic
rcv_tcp_congestion cubic

iperf Done.

iperf 3.12
Linux ip-172-26-1-63 6.1.0-22-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.94-1 (2024-06-21) x86_64
Control connection MSS 1440
Time: Tue, 13 Aug 2024 19:34:10 GMT
Connecting to host 188.126.184.48, port 5201
      Cookie: ykdq7cwg66a4pp53uh7fxeba2udj7ofexo4s
      TCP MSS: 1440 (default)
[  5] local 172.26.1.63 port 43722 connected to 188.126.184.48 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  8.49 MBytes  71.2 Mbits/sec   37    461 KBytes       
[  5]   1.00-2.00   sec  9.39 MBytes  78.8 Mbits/sec    0    518 KBytes       
[  5]   2.00-3.00   sec  8.71 MBytes  73.1 Mbits/sec   26    397 KBytes       
[  5]   3.00-4.00   sec  9.27 MBytes  77.8 Mbits/sec    0    426 KBytes       
[  5]   4.00-5.00   sec  8.71 MBytes  73.1 Mbits/sec    0    443 KBytes       
[  5]   5.00-6.00   sec  8.71 MBytes  73.1 Mbits/sec    0    451 KBytes       
[  5]   6.00-7.00   sec  9.33 MBytes  78.3 Mbits/sec    0    453 KBytes       
[  5]   7.00-8.00   sec  8.65 MBytes  72.6 Mbits/sec    0    460 KBytes       
[  5]   8.00-9.00   sec  9.33 MBytes  78.3 Mbits/sec    0    474 KBytes       
[  5]   9.00-10.00  sec  8.65 MBytes  72.6 Mbits/sec    0    489 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  89.3 MBytes  74.9 Mbits/sec   63             sender
[  5]   0.00-10.05  sec  88.5 MBytes  73.9 Mbits/sec                  receiver
CPU Utilization: local/sender 0.8% (0.1%u/0.6%s), remote/receiver 3.5% (0.4%u/3.1%s)
snd_tcp_congestion cubic
rcv_tcp_congestion cubic

iperf Done.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

Damian

Ok. Danke für den Test. Also wird meine Bandbreite doch erreicht, je nachdem von wo man testet.
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF

xenos1984

Ich habe auch mal gemessen - Standort Estland, Internetverbindung 100 MBit / 100 MBit:

iperf 3.9
Linux prometheus 5.15.0-117-generic #127-Ubuntu SMP Fri Jul 5 20:13:28 UTC 2024 x86_64
Control connection MSS 1440
Time: Tue, 13 Aug 2024 20:30:12 GMT
Connecting to host 188.126.184.48, port 5201
      Cookie: jeljy3mg73bqzaewwnpvpdybb7p7t4pb6pzp
      TCP MSS: 1440 (default)
[  5] local 192.168.1.129 port 45796 connected to 188.126.184.48 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 10 second test, tos 0
[ ID] Interval          Transfer    Bitrate        Retr  Cwnd
[  5]  0.00-1.00  sec  9.40 MBytes  78.9 Mbits/sec    2    319 KBytes
[  5]  1.00-2.00  sec  6.17 MBytes  51.7 Mbits/sec    1    248 KBytes
[  5]  2.00-3.00  sec  3.72 MBytes  31.2 Mbits/sec    2    135 KBytes
[  5]  3.00-4.00  sec  3.71 MBytes  31.1 Mbits/sec    1    107 KBytes
[  5]  4.00-5.00  sec  1.22 MBytes  10.2 Mbits/sec    3  45.0 KBytes
[  5]  5.00-6.00  sec  1.24 MBytes  10.4 Mbits/sec    0  57.7 KBytes
[  5]  6.00-7.00  sec  0.00 Bytes  0.00 bits/sec    0  71.7 KBytes
[  5]  7.00-8.00  sec  2.47 MBytes  20.8 Mbits/sec    0  85.8 KBytes
[  5]  8.00-9.00  sec  1.24 MBytes  10.4 Mbits/sec    1  73.1 KBytes
[  5]  9.00-10.00  sec  1.25 MBytes  10.5 Mbits/sec    1  61.9 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval          Transfer    Bitrate        Retr
[  5]  0.00-10.00  sec  30.4 MBytes  25.5 Mbits/sec  11            sender
[  5]  0.00-10.12  sec  27.5 MBytes  22.8 Mbits/sec                  receiver
CPU Utilization: local/sender 1.2% (0.3%u/1.0%s), remote/receiver 2.0% (0.2%u/1.8%s)
snd_tcp_congestion cubic
rcv_tcp_congestion cubic

iperf Done.

Damian

Danke. Auch hier immerhin noch 25 Mbit. Offenbar wird der maximale Traffic zu mir nach Hause nur direkt von einem großen Hoster erreicht, nicht aber wenn man es von seinem zuhause testet.
Programmierte FHEM-Module: DOIF-FHEM, DOIF-Perl, DOIF-uiTable, THRESHOLD, FHEM-Befehl: IF