New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#891 - Slow download speed over Ethernet (wpj344, QCA8334) #7108
Comments
pepe2k: I have seen similar problems on a different board with QCA9557+QCA8334 on RGMII interface but I was able to solve it with correct pll_1000 values on SoC side and {tx,rx}clk_delay{sel,en} on switch side (but that maybe just bypassed the real issue). I suppose that the problem could be also related with the fact that QCA8334 has the same id as QCA8337 and that workaround should be applied only for QCA8337. |
HenryGiraldo: Is there a better solution than reversing the commit? How can I differentiate ids? |
zygmund2000: I have WR1043 V2 and I have same problem, speed between local computers is very slow 400-600KB/s, speed from WAN is higher. |
nbd: I think this is probably not related to QCA8334 vs QCA8337. I believe the issue is the fact that the rx delay setting needs to be in sync between the switch core and the SoC ethernet MAC. Which means we need to update all boards that use QCA8337 or similar. |
pepe2k: Hi Enrique, zygmund2000, Could you please try the attached patch and see if it solves the issue for you? Cheers, |
HenryGiraldo: Hi Piotr, It doesn't solve the problem. Server listening on 5201Accepted connection from 192.168.70.200, port 47702 [ ID] Interval Transfer Bitrate |
yogo1212: we can confirm this. older versions of the board (~ s/n 1041xxxxx) don't seem to be affected. |
yogo1212: @felix Fietkau do you have some more details? is there something we can test? |
nicolasbadia: Same issue here with a Netgear R7800 and a Linksys WRT1900ACS v2. |
eripek: Same observation here: The TP-Links are all running LEDE 17.01.4 in a VLAN only setup. They are all connected with their blue WAN-Port, which is configured as a trunk port, to a Gigabit Ethernet Switch (various manufacturers) Running iperf -c against a machine running Linux - 125-200 Mbit/s. |
func0der: I am having a similiar issue with the Archer C2600 which also has the QCA8337 switch build in. I have no problem getting high speeds over the LAN ports, but if the packages have to travel from the LAN to the WAN port, they come almost to a hold. I had a wild flashing series just a couple of days ago and it seemed to work for a couple of days after I flashed from 17.10 to 18.06-rc1 and I enabled HW NAT. The problem first occurred with 17.10, I think. I had it running for a long time with no problems. Again, I think, that I was just lucky there, because the problems occurred at initial setup and then disappeared. I thought that a memory is running full somewhere, because it takes some time for the problem to show up. Also I would suspect those memories to get wiped on upgrades. Any ideas? I can provided logs and stuff, if I know which one you need. |
func0der: Guys? Please tell me, what you need from me. I want this issue gone. |
sandman7920: I have same problem with TL-WR1043N v5. I have notice that when i set small value for "tcp window size", issue does not exists. My setup is: 12KB window size iperf3 -c server -R -w12k [ ID] Interval Transfer Bitrate Retr iperf Done. Default window size iperf3 -c server -R [ ID] Interval Transfer Bitrate Retr iperf Done. |
eugeneai: Hi! I have similar issue on NETGEAR WNDR3800. Then returned to 15.05.1. It seems 15.05.1 works well. My switch is "rtl8366s" (RTL8366S). 17 and 18 notify, that it is not fully supported. Best regards, |
zieren: I have this problem as well with 18.06.1 on a TP-Link TL-WR1043N V5. This is a popular router and is even advertised for use with OpenWRT; any chance this bug could get some love? |
jul059: I think I have the same problem. Device: TL-WR1043ND v.3 Connected on wireless device at 144 Mbit/s Accepted connection from 192.168.1.165, port 53902 [ ID] Interval Transfer Bitrate
|
neryba: try add AR934X_ETH_CFG_RXD_DELAY to mach-wpj344.c |
j-jeurissen: I'm new to openwrt, but I have the same issue. My lan is really slow 45Mbit/sec compared to my wifi 200Mbit/sec using a cat 5e patch cable on 1Gbit ports. |
neryba: yes, you need to build own image. [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c;h=ffb9ef6dfa9f4dc12c2f873e9353e1ed543a97e3;hb=refs/heads/master#l157|file on git]] |
HenryGiraldo:
Version: Reboot (SNAPSHOT, r4512+1-f3ae0f8), master/trunk
Device: wpj344 (Switch QCA8334)
Problem: Slow download speed over Ethernet, upload works fine.
Steps to reproduce: Use iperf tool to perform network throughput test.
root@LEDE:~# iperf3 -s
Server listening on 5201
Accepted connection from 192.168.1.200, port 51144
[ 5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 51146
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 294 KBytes 2.41 Mbits/sec
[ 5] 1.00-2.00 sec 390 KBytes 3.20 Mbits/sec
[ 5] 2.00-3.00 sec 192 KBytes 1.58 Mbits/sec
[ 5] 3.00-4.00 sec 291 KBytes 2.39 Mbits/sec
[ 5] 4.00-5.00 sec 99.0 KBytes 810 Kbits/sec
[ 5] 5.00-6.00 sec 79.2 KBytes 649 Kbits/sec
[ 5] 6.00-7.00 sec 281 KBytes 2.31 Mbits/sec
[ 5] 7.00-8.00 sec 165 KBytes 1.36 Mbits/sec
[ 5] 8.00-9.00 sec 262 KBytes 2.14 Mbits/sec
[ 5] 9.00-10.00 sec 117 KBytes 961 Kbits/sec
[ 5] 10.00-10.01 sec 0.00 Bytes 0.00 bits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.01 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.01 sec 2.12 MBytes 1.78 Mbits/sec receiver
Using exactly the same node and the same setup and reverting:
commit 967b6be118e3217e8d6a28df9c615d3255e7b1ae
Author: Vittorio Gambaletta openwrt@vittgam.net
Date: Sun Mar 26 10:08:20 2017 +0200
The new results are:
root@LEDE:~# iperf3 -s
Server listening on 5201
Accepted connection from 192.168.1.200, port 50800
[ 5] local 192.168.1.1 port 5201 connected to 192.168.1.200 port 50802
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-1.00 sec 27.5 MBytes 230 Mbits/sec
[ 5] 1.00-2.01 sec 24.1 MBytes 201 Mbits/sec
[ 5] 2.01-3.00 sec 23.5 MBytes 198 Mbits/sec
[ 5] 3.00-4.01 sec 24.1 MBytes 201 Mbits/sec
[ 5] 4.01-5.00 sec 27.4 MBytes 231 Mbits/sec
[ 5] 5.00-6.00 sec 25.1 MBytes 210 Mbits/sec
[ 5] 6.00-7.00 sec 28.3 MBytes 238 Mbits/sec
[ 5] 7.00-8.00 sec 30.2 MBytes 253 Mbits/sec
[ 5] 8.00-9.00 sec 21.6 MBytes 181 Mbits/sec
[ 5] 9.00-10.00 sec 28.6 MBytes 241 Mbits/sec
[ 5] 10.00-10.01 sec 181 KBytes 128 Mbits/sec
[ ID] Interval Transfer Bandwidth
[ 5] 0.00-10.01 sec 0.00 Bytes 0.00 bits/sec sender
[ 5] 0.00-10.01 sec 261 MBytes 218 Mbits/sec receiver
The text was updated successfully, but these errors were encountered: