Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Beginner Basics • Mikrotik hAP ax3 - slow download speed through wired connection

$
0
0
I had already posted about my issue on Reddit, but I am also trying my luck here, hoping someone knows whats up and can help.
I am using a hAP ax3 and I noticed that some types of connections are behaving irrationally. (Everything which isn't TLS it seems)
I have a 1gE fiber connection and in online speedtests I achieve those speeds: I just ran three tests while writing this post and I get

fast.com: [810 Mbps, 880 Mbps]
speedtest.net: [911 Mbps, 924 Mbps]
speed.cloudflare.com: [877 Mbps, 889 Mbps]

The same holds true for game updates/downloads through e.g. Steam. The issue I have is that on non-TLS connection (but still TCP), these speeds are not achievable.
If I test the performance with iperf or through SSH (scp), things look very differently. The upload performs somewhat normally as can be seen below
(iperf3 -c <host>):
Code:
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd[  5]   0.00-1.00   sec  95.1 MBytes   797 Mbits/sec    0   3.94 MBytes[  5]   1.00-2.00   sec  98.2 MBytes   824 Mbits/sec    0   3.94 MBytes[  5]   2.00-3.00   sec   102 MBytes   852 Mbits/sec    0   3.94 MBytes[  5]   3.00-4.00   sec  98.6 MBytes   827 Mbits/sec    0   4.14 MBytes[  5]   4.00-5.00   sec   111 MBytes   929 Mbits/sec    0   4.14 MBytes[  5]   5.00-6.00   sec   109 MBytes   918 Mbits/sec    0   4.14 MBytes[  5]   6.00-7.00   sec   110 MBytes   927 Mbits/sec    0   4.14 MBytes[  5]   7.00-8.00   sec   105 MBytes   883 Mbits/sec    0   4.14 MBytes[  5]   8.00-9.00   sec   112 MBytes   935 Mbits/sec    0   4.14 MBytes[  5]   9.00-10.00  sec   112 MBytes   934 Mbits/sec    0   4.14 MBytes- - - - - - - - - - - - - - - - - - - - - - - - -[ ID] Interval           Transfer     Bitrate         Retr[  5]   0.00-10.00  sec  1.03 GBytes   883 Mbits/sec    0             sender[  5]   0.00-10.01  sec  1.03 GBytes   880 Mbits/sec                  receiver

As you can see things totally change when I Download (iperf3 -c <host> -R)
Code:
[ ID] Interval           Transfer     Bitrate[  5]   0.00-1.00   sec  19.4 MBytes   162 Mbits/sec[  5]   1.00-2.00   sec  25.5 MBytes   214 Mbits/sec[  5]   2.00-3.00   sec  18.2 MBytes   153 Mbits/sec[  5]   3.00-4.00   sec  15.4 MBytes   129 Mbits/sec[  5]   4.00-5.00   sec  23.6 MBytes   198 Mbits/sec[  5]   5.00-6.00   sec  24.9 MBytes   209 Mbits/sec[  5]   6.00-7.00   sec  24.6 MBytes   207 Mbits/sec[  5]   7.00-8.00   sec  21.8 MBytes   182 Mbits/sec[  5]   8.00-9.00   sec  24.0 MBytes   201 Mbits/sec[  5]   9.00-10.00  sec  25.1 MBytes   211 Mbits/sec- - - - - - - - - - - - - - - - - - - - - - - - -[ ID] Interval           Transfer     Bitrate         Retr[  5]   0.00-10.01  sec   226 MBytes   189 Mbits/sec  465             sender[  5]   0.00-10.00  sec   222 MBytes   187 Mbits/sec                  receiver
The same happens when I use scp to transfer a file from that host to my machine. My ping to the machine is between 6 and 8ms
Code:
scp host:tmp/2g_random .2g_random              22%  455MB  37.2MB/s   00:42 ETA
If I upload via SCP, everything is fine (or at least good)
Code:
$ scp 2cg_random host:tmp/2cg_random                    41%  859MB 100.5MB/s   00:11 ETA
Of course one could say that the host does not support the bandwidth needed, but the host has a 10gbit fiber connection and when I download a test file through HTTPS speeds are nice:
Code:
wget https://host/2g_random2g_random                         11%[====>            ]   220M   108MB/s
I tried the latest stable OS + firmware and also the latest development version + firmware. It would be nice if anyone has an idea how to debug or fix this.

Statistics: Posted by trmns — Tue Mar 26, 2024 7:46 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles