You are not logged in.
Hi,
I have two computers connected with ethernet on the same router.
One acts as a server and the other is my desktop. I have an 200 mbps internet connection.
There is a strange problem where the server downloads over the internet are painfully slow compared to my desktop.
Here is a speedtest-cli comparison.
On the server
✓ Test Server: [63250] 87.12km Vilvoorde (Belgium) by Proximus
✓ Latency: 13.163197ms Jitter: 1.747705ms Min: 11.242083ms Max: 17.183056ms
✓ Packet Loss Analyzer: Running in background (<= 30 Secs)
✓ Download: 35.08 Mbps (Used: 48.50MB) (Latency: 13ms Jitter: 3ms Min: 6ms Max: 18ms)
✓ Upload: 11.72 Mbps (Used: 24.37MB) (Latency: 1045ms Jitter: 917ms Min: 354ms Max: 2861ms)
✓ Packet Loss: 0.00% (Sent: 373/Dup: 0/Max: 372)
On the desktop
✓ Test Server: [63250] 87.12km Vilvoorde by Proximus
✓ Latency: 11.998535ms Jitter: 520.281µs Min: 11.253888ms Max: 12.908443ms
✓ Packet Loss Analyzer: Running in background (<= 30 Secs)
✓ Download: 197.24 Mbps (Used: 248.74MB) (Latency: 47ms Jitter: 72ms Min: 11ms Max: 263ms)
✓ Upload: 7.21 Mbps (Used: 22.30MB) (Latency: 980ms Jitter: 800ms Min: 415ms Max: 2537ms)
✓ Packet Loss: N/A
You can see that the speed are way better on the desktop than the server.
If I do an iperf between the two by alternating the client and server, I get about 950 mbps.
I really don't know how to debug this problem, at first I thought it was a problem with my network controller but why would the speed be good on the local network ?
Here is the output of inxi if this can be of any help :
System:
Host: home Kernel: 6.9.2-arch1-1 arch: x86_64 bits: 64
Console: pty pts/5 Distro: Arch Linux
Machine:
Type: Laptop System: Micro-Star product: GS65 Stealth Thin 8RF v: REV:1.0
serial: <superuser required>
Mobo: Micro-Star model: MS-16Q2 v: REV:1.0 serial: <superuser required>
UEFI: American Megatrends v: E16Q2IMS.112 date: 05/21/2019
CPU:
Info: 6-core model: Intel Core i7-8750H bits: 64 type: MT MCP cache: L2: 1.5 MiB
Speed (MHz): avg: 1053 min/max: 800/4100 cores: 1: 800 2: 1276 3: 1247 4: 800 5: 1244 6: 1270
7: 800 8: 800 9: 800 10: 1200 11: 1200 12: 1200
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] driver: nvidia v: 550.78
Display: server: X.org v: 1.21.1.13 driver: N/A tty: 138x31
API: OpenGL Message: GL data unavailable in console, glxinfo missing.
Audio:
Device-1: Intel Cannon Lake PCH cAVS driver: snd_hda_intel
Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel
API: ALSA v: k6.9.2-arch1-1 status: kernel-api
Network:
Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi
IF: wlo1 state: down mac: 34:e1:2d:cd:b0:27
Device-2: Qualcomm Atheros Killer E2500 Gigabit Ethernet driver: alx
IF: enp61s0 state: up speed: 1000 Mbps duplex: full mac: 30:9c:23:fd:de:44
IF-ID-1: br-592680ef9f65 state: up speed: 10000 Mbps duplex: unknown mac: 02:42:d0:a6:f4:b3
IF-ID-2: br-db2da21b1c38 state: up speed: 10000 Mbps duplex: unknown mac: 02:42:84:7e:ee:9e
IF-ID-3: docker0 state: down mac: 02:42:51:69:60:cd
IF-ID-4: veth0039107 state: up speed: 10000 Mbps duplex: full mac: 0a:4a:dd:d0:9e:74
IF-ID-5: veth0daf629 state: up speed: 10000 Mbps duplex: full mac: 7a:93:e6:9e:db:ce
IF-ID-6: veth2194588 state: up speed: 10000 Mbps duplex: full mac: 1a:34:61:d3:54:20
IF-ID-7: veth2b1b414 state: up speed: 10000 Mbps duplex: full mac: 36:93:e7:ff:fa:23
IF-ID-8: veth33b8033 state: up speed: 10000 Mbps duplex: full mac: a2:07:2c:c2:79:77
IF-ID-9: veth36bf55a state: up speed: 10000 Mbps duplex: full mac: f6:50:ef:84:b0:63
IF-ID-10: veth4352417 state: up speed: 10000 Mbps duplex: full mac: c2:6b:9d:d7:96:01
IF-ID-11: veth6b6c2d6 state: up speed: 10000 Mbps duplex: full mac: 5a:e6:c6:f0:c8:7a
IF-ID-12: veth83f0a3c state: up speed: 10000 Mbps duplex: full mac: 46:58:01:cf:d5:e0
IF-ID-13: veth90ef35e state: up speed: 10000 Mbps duplex: full mac: 06:87:f4:3c:8b:b9
IF-ID-14: veth924e1ee state: up speed: 10000 Mbps duplex: full mac: 3a:32:b4:d7:3e:f4
IF-ID-15: veth9bc70ae state: up speed: 10000 Mbps duplex: full mac: 36:b8:9b:11:40:62
IF-ID-16: vetha342928 state: up speed: 10000 Mbps duplex: full mac: 66:66:5e:25:7b:a3
IF-ID-17: vetha4967e3 state: up speed: 10000 Mbps duplex: full mac: 02:df:1d:b1:db:8d
IF-ID-18: vethab7d97d state: up speed: 10000 Mbps duplex: full mac: 46:01:86:f7:5c:bb
IF-ID-19: vethb16b03f state: up speed: 10000 Mbps duplex: full mac: ce:e1:e9:51:fe:1e
IF-ID-20: vethca59624 state: up speed: 10000 Mbps duplex: full mac: a6:84:64:4f:32:7f
IF-ID-21: vethdcf0aa2 state: up speed: 10000 Mbps duplex: full mac: b6:f1:05:b4:f0:c3
IF-ID-22: vethff07433 state: up speed: 10000 Mbps duplex: full mac: 7a:cf:cb:f5:48:20
Bluetooth:
Device-1: N/A driver: btusb type: USB
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: not found rfk-block: hardware: no
software: no address: see --recommends
Drives:
Local Storage: total: 4.78 TiB used: 88.08 GiB (1.8%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB
ID-2: /dev/nvme1n1 vendor: Western Digital model: PC SN720 SDAPNTW-256G size: 238.47 GiB
ID-3: /dev/sdb vendor: Seagate model: ST4000DM 004-2CV104 size: 3.64 TiB type: USB
Partition:
ID-1: / size: 915.32 GiB used: 87.99 GiB (9.6%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot size: 510 MiB used: 93.3 MiB (18.3%) fs: vfat dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: zram size: 4 GiB used: 890.8 MiB (21.7%) dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.0 C pch: 51.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.46 GiB used: 5.31 GiB (34.3%)
Processes: 463 Uptime: 36d 1h 23m Init: systemd Shell: Bash inxi: 3.3.35
Last edited by sajuuk (2024-07-03 19:25:15)
Offline
System: Host: home Kernel: 6.9.2-arch1-1 arch: x86_64 bits: 64 Console: pty pts/5 Distro: Arch Linux Machine: Type: Laptop System: Micro-Star product: GS65 Stealth Thin 8RF v: REV:1.0 serial: <superuser
am I missing something here?
are you using that laptop as the server?
wild guess in the blue: could be either some stupid power savings nonesense - or maybe those metric ton of virtual connections (just because you CAN put something into a container doesn't mean you SHOULD - sometimes just run it on the host)
Offline
Yes I'm using laptop as a my local homelab server, most cost effective solution I have right now.
I've made the test with the docker stack stopped and have the same results so it doesn't seems to be the virtual interfaces interfering.
Could be a power saving feature I looked into it a while back but didn't find anything I'll search more but still strange that it would only throttle on the internet and not the local network.
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
If I do an iperf between the two by alternating the client and server, I get about 950 mbps.
MTU? DNS? IPv4 ./. IPv6?
Did you iperf UDP or TCP?
The "serverbook" actually has better upload in the posted test results?
Online
MTUS seems to be 1500
2: enp61s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
DNS is set to 1.1.1.1 on the server and the desktop uses a pihole running on the server as dns.
I have an external IPv6 and IPv4, not sure what I should check on it ?
Iperf results were with TCP, with UDP I have strange results, here are the outputs when iperf server is on serverbook and the client on the desktop.
desktop :
PS E:\Downloads\iperf3.1.1_32> ./iperf3 -c 192.168.0.2 -u -b 1G
Connecting to host 192.168.0.2, port 5201
[ 4] local 192.168.0.15 port 61739 connected to 192.168.0.2 port 5201
[ ID] Interval Transfer Bandwidth Total Datagrams
[ 4] 0.00-1.00 sec 91.9 MBytes 771 Mbits/sec 11765
[ 4] 1.00-2.00 sec 103 MBytes 866 Mbits/sec 13216
[ 4] 2.00-3.00 sec 103 MBytes 865 Mbits/sec 13196
[ 4] 3.00-4.00 sec 103 MBytes 864 Mbits/sec 13184
[ 4] 4.00-5.00 sec 103 MBytes 862 Mbits/sec 13160
[ 4] 5.00-6.00 sec 104 MBytes 869 Mbits/sec 13268
[ 4] 6.00-7.00 sec 104 MBytes 870 Mbits/sec 13266
[ 4] 7.00-8.00 sec 101 MBytes 851 Mbits/sec 12987
[ 4] 8.00-9.00 sec 103 MBytes 863 Mbits/sec 13173
[ 4] 9.00-10.00 sec 103 MBytes 866 Mbits/sec 13214
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 4] 0.00-10.00 sec 1019 MBytes 855 Mbits/sec 0.082 ms 12/1671 (0.72%)
[ 4] Sent 1671 datagrams
serverbook :
iperf3 -s
-----------------------------------------------------------
Server listening on 5201 (test #1)
-----------------------------------------------------------
Accepted connection from 192.168.0.15, port 59800
[ 5] local 192.168.0.2 port 5201 connected to 192.168.0.15 port 61739
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 13.0 MBytes 109 Mbits/sec 0.082 ms 12/1671 (0.72%)
[ 5] 1.00-2.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 2.00-3.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 3.00-4.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 4.00-5.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 5.00-6.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 6.00-7.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 7.00-8.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 8.00-9.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
[ 5] 9.00-10.00 sec 0.00 Bytes 0.00 bits/sec 0.082 ms 0/0 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.01 sec 13.0 MBytes 10.9 Mbits/sec 0.082 ms 12/1671 (0.72%) receiver
So it seems like most of the packet were discarded ?
If I switch the iperf server/client
desktop
E:\Downloads\iperf3.1.1_32> ./iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.0.2, port 42534
[ 5] local 192.168.0.15 port 5201 connected to 192.168.0.2 port 36363
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-1.00 sec 58.0 MBytes 486 Mbits/sec 0.043 ms 35982/77964 (46%)
[ 5] 1.00-2.00 sec 58.2 MBytes 489 Mbits/sec 0.029 ms 39199/81380 (48%)
[ 5] 2.00-3.00 sec 58.7 MBytes 493 Mbits/sec 0.038 ms 38832/81366 (48%)
[ 5] 3.00-4.00 sec 61.3 MBytes 514 Mbits/sec 0.026 ms 37011/81388 (45%)
[ 5] 4.00-5.00 sec 60.5 MBytes 507 Mbits/sec 0.055 ms 37561/81371 (46%)
[ 5] 5.00-6.00 sec 63.4 MBytes 532 Mbits/sec 0.039 ms 35444/81375 (44%)
[ 5] 6.00-7.00 sec 61.9 MBytes 520 Mbits/sec 0.031 ms 36533/81392 (45%)
[ 5] 7.00-8.00 sec 59.8 MBytes 502 Mbits/sec 0.028 ms 38030/81358 (47%)
[ 5] 8.00-9.00 sec 59.0 MBytes 495 Mbits/sec 0.031 ms 38638/81384 (47%)
[ 5] 9.00-10.00 sec 59.0 MBytes 495 Mbits/sec 0.040 ms 38674/81377 (48%)
[ 5] 10.00-10.04 sec 2.38 MBytes 490 Mbits/sec 0.041 ms 1589/3309 (48%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
[ 5] 0.00-10.04 sec 0.00 Bytes 0.00 bits/sec 0.041 ms 377493/813664 (46%)
serverbook
iperf3 -c 192.168.0.15 -u -b 1G
Connecting to host 192.168.0.15, port 5201
[ 5] local 192.168.0.2 port 36363 connected to 192.168.0.15 port 5201
[ ID] Interval Transfer Bitrate Total Datagrams
[ 5] 0.00-1.00 sec 112 MBytes 943 Mbits/sec 81395
[ 5] 1.00-2.00 sec 112 MBytes 943 Mbits/sec 81374
[ 5] 2.00-3.00 sec 112 MBytes 943 Mbits/sec 81365
[ 5] 3.00-4.00 sec 112 MBytes 943 Mbits/sec 81364
[ 5] 4.00-5.00 sec 112 MBytes 943 Mbits/sec 81403
[ 5] 5.00-6.00 sec 112 MBytes 943 Mbits/sec 81381
[ 5] 6.00-7.00 sec 112 MBytes 943 Mbits/sec 81364
[ 5] 7.00-8.00 sec 112 MBytes 943 Mbits/sec 81398
[ 5] 8.00-9.00 sec 112 MBytes 942 Mbits/sec 81347
[ 5] 9.00-10.00 sec 112 MBytes 943 Mbits/sec 81398
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Jitter Lost/Total Datagrams
[ 5] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec 0.000 ms 0/813789 (0%) sender
[ 5] 0.00-10.00 sec 602 MBytes 505 Mbits/sec 0.041 ms 0/813664 (0%) receiver
Half the packet were discarded.
ip -s link
show a lot of dropped packets
2: enp61s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 30:9c:23:fd:de:44 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped missed mcast
6029626279 5617438 18251 84195 0 2163
TX: bytes packets errors dropped carrier collsns
3980361555 4598957 0 0 0 0
Last edited by sajuuk (2024-07-03 19:52:36)
Offline
a pihole running on the server
what if you don't?
Have you tried the serverbook in more of a notebook configuration?
Online
I did try before by shutting down my docker stack but it didn't seemed to change anything.
What do you mean by notebook configuration?
Offline
What do you mean by notebook configuration?
Disabling all the server functionality of DNS, maybe routing etcetc.
Wrt the IPv4 ./. IPv6 situation, you're resolving the same WAN IPs on either system when testing?
wget -nv --show-progress -O /dev/null "http://speedtest.frankfurt.linode.com/1GB-frankfurt.bin" #139.162.130.8
behaves differently on the systems?
Online
I tried again shutting down my docker stack (there is nothing else on this pc) and the problème still persists.
I had two different WAN IPv6, I forced my router to use only IPv4, I checked that I had the same IP and the problems is still there.
I ran the wget command, on my desktop it maxes out my connection 23 MBytes per second ,on my laptop/server only about 1 MBytes per second.
I checked if I had any QOS feature enabled ok my fritzbox but everything seems to be disabled.
Last edited by sajuuk (2024-07-05 17:35:57)
Offline
Does it change if you connect the serverbook via wifi (just to throw the AVM config off)?
Do you get full speed on eg. grml.org? (Did you maybe implement a network quota on the serverbook?)
Online