Slow download speed over Ethernet (wpj344, QCA8334)
Username: Enrique Giraldo
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=891
Version: Reboot (SNAPSHOT, r4512+1-f3ae0f80), 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 967b6be1
Author: Vittorio Gambaletta openwrt@vittgam.net
Date: Sun Mar 26 10:08:20 2017 +0200
ar8327: Add workarounds for AR8337 switch.
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