OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version openwrt-18.06
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by selver kadic - 04.09.2018

FS#1832 - Tplink c2600 v1 Internet Connection with SQM / Layer Cake slow

I flashed OpenWrt 18.06.1 on my Tplink Archer c2600 v1.0
When i use SQM the Internet connection is slow ( 50% Slower than without SQM )
Without SQM the Internet Speed is normal again.
The SQM settings are the same that i use on my Tplink Archer C7 and on the C7 everything works
great.


selver kadic commented on 16.09.2018 00:49

It appears on Cake / Layer Cake. Pice of Cake works better, but still with performance problems.

moeller0 commented on 17.09.2018 08:59

How does fq_codel/simple.qos and fq_codel/simplest.qos work for you.
Also could you please post the output of:
cat /etc/config/sqm
tc -s qdisc
tc -d qdisc

Also please post links to dslreports spedtests (ideally following the howto at External Linkhttps://forum.openwrt.org/t/sqm-qos-recommended-settings-for-the-dslreports-speedtest-bufferbloat-testing/2803) with and without SQM (if you have the time it would be nice to see cake/layer_cake, fq_codel/simple.qos).
And finally you could try to look at the output of "top -d 1" on your router while running the sppedtest, if %idle falls bellow 5% for single core and below 55% for dual core this might indicate you running out of CPU cycles.

selver kadic commented on 20.09.2018 13:37

##cat /etc/config/sqm

config queue 'eth1'

option qdisc_advanced '0'
option enabled '1'
option interface 'pppoe-wan'
option upload '40000'
option debug_logging '0'
option verbosity '5'
option qdisc 'cake'
option linklayer 'ethernet'
option overhead '36'
option script 'layer_cake.qos'
option download '94000'

### tc -s qdisc

qdisc noqueue 0: dev lo root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc mq 0: dev eth0 root
Sent 108223648 bytes 201569 pkt (dropped 0, overlimits 0 requeues 3959)
backlog 0b 0p requeues 3959
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
Sent 108223648 bytes 201569 pkt (dropped 0, overlimits 0 requeues 3959)
backlog 0b 0p requeues 3959

maxpacket 1514 drop_overlimit 0 new_flow_count 2744 ecn_mark 0
new_flows_len 0 old_flows_len 0

qdisc mq 0: dev eth1 root
Sent 129021872 bytes 129379 pkt (dropped 0, overlimits 0 requeues 7753)
backlog 0b 0p requeues 7753
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
Sent 129021872 bytes 129379 pkt (dropped 0, overlimits 0 requeues 7753)
backlog 0b 0p requeues 7753

maxpacket 1514 drop_overlimit 0 new_flow_count 11744 ecn_mark 0
new_flows_len 0 old_flows_len 0

qdisc noqueue 0: dev br-lan root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth1.1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev eth0.2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8008: dev pppoe-wan root refcnt 2 bandwidth 40Mbit diffserv3 triple-isolate nonat nowash no-ack-filter split-gso rtt 100.0ms noatm overhead 36
Sent 103410198 bytes 159936 pkt (dropped 314, overlimits 74905 requeues 0)
backlog 0b 0p requeues 0
memory used: 311168b of 4Mb
capacity estimate: 40Mbit
min/max network layer size: 28 / 1492
min/max overhead-adjusted size: 64 / 1528
average network hdr offset: 0

                 Bulk  Best Effort        Voice
thresh       2500Kbit       40Mbit       10Mbit
target          7.3ms        5.0ms        5.0ms
interval      102.3ms      100.0ms      100.0ms
pk_delay          0us        7.5ms         31us
av_delay          0us        4.0ms         10us
sp_delay          0us         11us          5us
backlog            0b           0b           0b
pkts                0       159733          517
bytes               0    103797561        81125
way_inds            0          211            0
way_miss            0         4523          339
way_cols            0            0            0
drops               0          314            0
marks               0            0            0
ack_drop            0            0            0
sp_flows            0            1            0
bk_flows            0            1            0
un_flows            0            0            0
max_len             0        11936          576
quantum           300         1220          305

qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 —————-
Sent 221754539 bytes 207433 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev wlan0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8009: dev ifb4pppoe-wan root refcnt 2 bandwidth 94Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100.0ms noatm overhead 36
Sent 221510921 bytes 207269 pkt (dropped 164, overlimits 62146 requeues 0)
backlog 0b 0p requeues 0
memory used: 444Kb of 4700000b
capacity estimate: 94Mbit
min/max network layer size: 28 / 1492
min/max overhead-adjusted size: 64 / 1528
average network hdr offset: 0

                Tin 0
thresh         94Mbit
target          5.0ms
interval      100.0ms
pk_delay        136us
av_delay          8us
sp_delay          6us
backlog            0b
pkts           207433
bytes       221754539
way_inds           94
way_miss         4776
way_cols            0
drops             164
marks               0
ack_drop            0
sp_flows            0
bk_flows            1
un_flows            0
max_len          1492
quantum          1514

### tc -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc mq 0: dev eth1 root
qdisc fq_codel 0: dev eth1 parent :1 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev eth1.1 root refcnt 2
qdisc noqueue 0: dev eth0.2 root refcnt 2
qdisc noqueue 0: dev wlan1 root refcnt 2
qdisc htb 1: dev pppoe-wan root refcnt 2 r2q 10 default 18 direct_packets_stat 0 ver 3.17 direct_qlen 3
linklayer ethernet overhead 36
qdisc fq_codel 120: dev pppoe-wan parent 1:12 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 130: dev pppoe-wan parent 1:13 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc fq_codel 110: dev pppoe-wan parent 1:11 limit 1001p flows 1024 quantum 300 target 5.0ms interval 100.0ms memory_limit 4Mb ecn
qdisc ingress ffff: dev pppoe-wan parent ffff:fff1 —————-
qdisc noqueue 0: dev wlan0 root refcnt 2
qdisc htb 1: dev ifb4pppoe-wan root refcnt 2 r2q 10 default 16 direct_packets_stat 0 ver 3.17 direct_qlen 32
linklayer ethernet overhead 36
qdisc fq_codel 110: dev ifb4pppoe-wan parent 1:10 limit 1001p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 4Mb ecn

selver kadic commented on 20.09.2018 13:40

Speedtest with Cace / Layer Cake

selver kadic commented on 20.09.2018 13:42

Speedtest with fq_codel / simple.qos

   fqcodel.png (139.8 KiB)
selver kadic commented on 20.09.2018 13:44

But the results are strange, it seems that the Cake / Layer Cake setup workst for some reason better now.

moeller0 commented on 20.09.2018 14:29

So with your shaper settings the expected maximum speedtest results for down- and upstream are:
94000 * (1500-8-20-20)/(1528) = 87.95 Mbps
40000 * (1500-8-20-20)/(1528) = 38.01 Mbps

I believe you are not doing that badly currently. If you could press the "Results + Share" button after a test has finished you could copy a link to the detailed results page, but from the overview graphs I fail to see the exact problem.

Now the next question is going to be CPU usage during these tests...

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing