Skip to content
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#1832 - Tplink c2600 v1 Internet Connection with SQM / Layer Cake slow #8475

Closed
openwrt-bot opened this issue Sep 4, 2018 · 7 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

sele:

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.

@openwrt-bot
Copy link
Author

sele:

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

@openwrt-bot
Copy link
Author

moeller0:

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 [[http://example.com|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.

@openwrt-bot
Copy link
Author

sele:

##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

@openwrt-bot
Copy link
Author

sele:

Speedtest with Cace / Layer Cake

@openwrt-bot
Copy link
Author

sele:

Speedtest with fq_codel / simple.qos

@openwrt-bot
Copy link
Author

sele:

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

@openwrt-bot
Copy link
Author

moeller0:

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant