Good day. Question.Does the sqm drops the speed via wifi? It drops from 30mbps to 16 mbps. I have to restart. Is this normal? Thanks in advance
BusyBox v1.36.1 (2024-08-29 19:07:48 UTC) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 23.05.4, r24012-d8dd03c46f
---------------------------------------------
--------------------------------------------------
ubus call system board
{
"kernel": "5.15.162",
"hostname": "OpenWrt",
"system": "ARMv7 Processor rev 5 (v7l)",
"model": "Linksys EA8300 (Dallas)",
"board_name": "linksys,ea8300",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.4",
"revision": "r24012-d8dd03c46f",
"target": "ipq40xx/generic",
"description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
}
}
t /etc/config/network
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd4e:53be:eb32::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config device
option name 'lan1'
option macaddr 'e8:9f:80:a3:e7:e4'
config device
option name 'lan2'
option macaddr 'e8:9f:80:a3:e7:e4'
config device
option name 'lan3'
option macaddr 'e8:9f:80:a3:e7:e4'
config device
option name 'lan4'
option macaddr 'e8:9f:80:a3:e7:e4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
option delegate '0'
config device
option name 'wan'
option macaddr 'e8:9f:80:a3:e7:e3'
config interface 'wan'
option device 'wan'
option proto 'dhcp'
option delegate '0'
option peerdns '0'
list dns '1.1.1.1'
list dns '1.0.0.1'
Please post the output of:
tc -s qdisc
tc -d qdisc
so we can see how sqm configured its qdiscs.
1 Like
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 2409127690 bytes 4069710 pkt (dropped 0, overlimits 0 requeues 58)
backlog 0b 0p requeues 58
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 515038438 bytes 1229644 pkt (dropped 0, overlimits 0 requeues 16)
backlog 0b 0p requeues 16
maxpacket 1274 drop_overlimit 0 new_flow_count 12 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 453620748 bytes 781982 pkt (dropped 0, overlimits 0 requeues 12)
backlog 0b 0p requeues 12
maxpacket 12112 drop_overlimit 0 new_flow_count 12 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 668708760 bytes 1011797 pkt (dropped 0, overlimits 0 requeues 20)
backlog 0b 0p requeues 20
maxpacket 23456 drop_overlimit 0 new_flow_count 21 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
Sent 771759744 bytes 1046287 pkt (dropped 0, overlimits 0 requeues 10)
backlog 0b 0p requeues 10
maxpacket 13794 drop_overlimit 0 new_flow_count 15 ecn_mark 0
new_flows_len 0 old_flows_len 0
qdisc noqueue 0: dev lan1 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan2 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan3 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev lan4 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8011: dev wan root refcnt 2 bandwidth 116Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0
Sent 156430002 bytes 470937 pkt (dropped 210, overlimits 47859 requeues 0)
backlog 0b 0p requeues 0
memory used: 2193224b of 5800000b
capacity estimate: 116Mbit
min/max network layer size: 42 / 1514
min/max overhead-adjusted size: 42 / 1514
average network hdr offset: 14
Tin 0
thresh 116Mbit
target 5ms
interval 100ms
pk_delay 41us
av_delay 12us
sp_delay 8us
backlog 0b
pkts 471147
bytes 156747942
way_inds 5561
way_miss 5254
way_cols 0
drops 210
marks 0
ack_drop 0
sp_flows 3
bk_flows 1
un_flows 0
max_len 68130
quantum 1514
qdisc ingress ffff: dev wan parent ffff:fff1 ----------------
Sent 929874423 bytes 885180 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 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 phy1-ap0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc noqueue 0: dev phy0-ap0 root refcnt 2
Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
backlog 0b 0p requeues 0
qdisc cake 8012: dev ifb4wan root refcnt 2 bandwidth 41Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms raw overhead 0
Sent 941103067 bytes 874854 pkt (dropped 10326, overlimits 996263 requeues 0)
backlog 0b 0p requeues 0
memory used: 4090072b of 4Mb
capacity estimate: 41Mbit
min/max network layer size: 60 / 1514
min/max overhead-adjusted size: 60 / 1514
average network hdr offset: 14
Tin 0
thresh 41Mbit
target 5ms
interval 100ms
pk_delay 770us
av_delay 252us
sp_delay 14us
backlog 0b
pkts 885180
bytes 955767391
way_inds 3646
way_miss 5107
way_cols 0
drops 10326
marks 2
ack_drop 0
sp_flows 0
bk_flows 1
un_flows 0
max_len 66770
quantum 1251
c -d qdisc
qdisc noqueue 0: dev lo root refcnt 2
qdisc mq 0: dev eth0 root
qdisc fq_codel 0: dev eth0 parent :4 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :3 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :2 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc fq_codel 0: dev eth0 parent :1 limit 10240p flows 1024 quantum 1514 target 5ms interval 100ms memory_limit 4Mb ecn drop_batch 64
qdisc noqueue 0: dev lan1 root refcnt 2
qdisc noqueue 0: dev lan2 root refcnt 2
qdisc noqueue 0: dev lan3 root refcnt 2
qdisc noqueue 0: dev lan4 root refcnt 2
qdisc cake 8011: dev wan root refcnt 2 bandwidth 116Mbit besteffort triple-isolate nonat nowash no-ack-filter split-gso rtt 100ms raw overhead 0
qdisc ingress ffff: dev wan parent ffff:fff1 ----------------
qdisc noqueue 0: dev br-lan root refcnt 2
qdisc noqueue 0: dev phy1-ap0 root refcnt 2
qdisc noqueue 0: dev phy0-ap0 root refcnt 2
qdisc cake 8012: dev ifb4wan root refcnt 2 bandwidth 41Mbit besteffort triple-isolate nonat wash no-ack-filter split-gso rtt 100ms raw overhead 0
Mmmh, so let's talk about your download and upload rates first:
ifb4wan download (ingress): 41000 (41 Mbps)
wan upload (egress): 116000 (116 Mbps)
That is an unusual asymmetry, typically people get higher download rates than upload rates, so what are your contracted rates and why did you configure 41/116?
My speed is just 53/139 only so i set it that way. On the main modem there is only 2 devices connected. And on this router there's about 8 to 10 devices connected. Could this be a cpu limit?
cat /etc/config/sqm
config queue 'eth1'
option enabled '1'
option interface 'wan'
option download '41000'
option upload '116000'
option qdisc 'cake'
option script 'piece_of_cake.qos'
option linklayer 'none'
option debug_logging '0'
option verbosity '0'
Main modem? Please describe your network setup a bit....
brada4
December 29, 2024, 12:43pm
9
Show the result (link) from https://www.waveform.com/tools/bufferbloat with al qos disabled and router rebooted.
And confirm you have up to date openwrt (ubus call system board
)
The Isp modem in the living room and this linksys router as an extender on another house
brada4:
ubus call system board
ubus call system board
{
"kernel": "5.15.162",
"hostname": "OpenWrt",
"system": "ARMv7 Processor rev 5 (v7l)",
"model": "Linksys EA8300 (Dallas)",
"board_name": "linksys,ea8300",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.4",
"revision": "r24012-d8dd03c46f",
"target": "ipq40xx/generic",
"description": "OpenWrt 23.05.4 r24012-d8dd03c46f"
}
}
brada4
December 29, 2024, 1:34pm
12
Am i talking to a wall? You think the people on the internets wave magic stick and your router repairs itself?
If possible don’t measure through wifi, measure trough ethernet ports instead.
1 Like
brada4
December 29, 2024, 2:54pm
14
Precisely, esp 23.05.4 has wifi "download" speed halved.
Mmmh, that is generally a problematic set-up if the goal is to debloat the internet access link (sqm needs to be in control of all wan traffic). So what is the goal here, debloat wan or debloat WiFi?
Also, is the OpenWrt router connected to the ISP modem-router via ethernet cable or via WiFi?
I just upgraded it to 23.05.5 and i think it's ok now. Thanks
system
Closed
January 12, 2025, 11:00am
17
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.