Re: gargoyle and fq_codel
Posted: Thu Mar 12, 2015 5:10 pm
You can't use codel for the qos in gargoyle, but hsfc/ sfq is much better because like mentioned, you can use caps.
sqm_scripts was not too good in balancing out load- like torrents would still saturate the connection because of many multiple connections!
But you can change the eth0 eth1 wlan1 wlan0 to use fq_codel which helps with the internal delays, especially good for wireless. I'm using my own customized settings that I have learned work best for me when I used openwrt qos and sqm. In fact, fq_codel itself on the device can reduce ping spikes if your line is slower than you put for limits in gargoyle.
And here are the commands I use in rc.local to enable my current settings:
sqm_scripts was not too good in balancing out load- like torrents would still saturate the connection because of many multiple connections!
But you can change the eth0 eth1 wlan1 wlan0 to use fq_codel which helps with the internal delays, especially good for wireless. I'm using my own customized settings that I have learned work best for me when I used openwrt qos and sqm. In fact, fq_codel itself on the device can reduce ping spikes if your line is slower than you put for limits in gargoyle.
Code: Select all
| Gargoyle version 1.7.X | OpenWrt Barrier Breaker branch |
| Gargoyle revision da35789 | OpenWrt revision r43694 |
| Built January 10, 2015 | Target ar71xx/usb_large |
------------------------------------------------------------------
#~# tc qdisc
qdisc fq_codel 800b: dev eth0 root refcnt 2 limit 488p flows 1024 quantum 300 target 2.0ms interval 48.0ms ecn
qdisc fq_codel 800c: dev eth1 root refcnt 2 limit 58p flows 1024 quantum 300 target 2.0ms interval 48.0ms ecn
qdisc fq_codel 800e: dev wlan1 root refcnt 5 limit 488p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc fq_codel 800d: dev wlan0 root refcnt 5 limit 488p flows 1024 quantum 300 target 5.0ms interval 100.0ms ecn
qdisc hfsc 1: dev imq0 root refcnt 2 default 5
qdisc sfq 2: dev imq0 parent 1:2 limit 1031p quantum 1500b depth 127 headdrop divisor 256
qdisc sfq 3: dev imq0 parent 1:3 limit 1031p quantum 1500b depth 127 headdrop divisor 256
qdisc sfq 4: dev imq0 parent 1:4 limit 993p quantum 1500b depth 127 headdrop divisor 256
qdisc sfq 5: dev imq0 parent 1:5 limit 1012p quantum 1500b depth 127 headdrop divisor 256
qdisc sfq 6: dev imq0 parent 1:6 limit 468p quantum 1500b depth 127 headdrop divisor 256
#~#
Code: Select all
tc qdisc add dev eth0 root fq_codel limit 488 quantum 300 target 2ms interval 48ms ecn
tc qdisc add dev ifb0 root fq_codel limit 488 quantum 300 target 2ms interval 48ms ecn
tc qdisc add dev eth1 root fq_codel limit 58 quantum 300 target 2ms interval 48ms ecn
tc qdisc add dev wlan0 root fq_codel limit 488 quantum 300 target 5ms interval 100ms
tc qdisc add dev wlan1 root fq_codel limit 488 quantum 300 target 5ms interval 100ms