hansome
20
Hi, here is my test config:
config queue 'eth0'
option upload '10000'
option qdisc 'fq_codel'
option script 'simple.qos'
option qdisc_advanced '0'
option linklayer 'none'
option enabled '1'
option interface 'eth0'
option download '0'
option debug_logging '1'
option verbosity '8'
config queue
option qdisc 'fq_codel'
option script 'simple.qos'
option linklayer 'none'
option enabled '1'
option interface 'br-lan'
option download '0'
option upload '20000'
option debug_logging '1'
option verbosity '8'
option qdisc_advanced '0'
This make download limited to 20000 and upload limited to 10000. Need to turn off NAT acceleration by command:
/etc/init.d/qca-nss-ecm stop
/etc/init.d/qca-nss-ecm disable
Yes, only egress work, adding queue at br-lan is a workarond for ingress limitation for eth0(wan).
Maybe 4.0 firmware(in develop) will support ingress qdisc.
1 Like