Page 1 of 1

Support for CoDeL (new QoS algorithm)?

Posted: Sun Dec 09, 2012 1:16 pm
by raz
Hey,

It looks like CoDel ("a new no-knobs Active Queue Management algorithm") has made it into OpenWRT trunks and in linux kernel 3.5.

User reports are positive.

Is the Gargoyle development team considering including CoDeL support in the next release?

Re: Support for CoDeL (new QoS algorithm)?

Posted: Wed Dec 12, 2012 7:28 pm
by Grey
I've no idea what the devs for Gargoyle have planned.

I downloaded and compiled a version of Gargoyle 1.5.8 to tinker with my own router. I've been following the bufferbloat with the CeroWRT builds for quite awhile.

Did a rebuild of the qos_gargoyle and put in fq_codel. Honestly the devs have done a good job of tweaking sfq settings. The rtt's are slightly better with fq_codel. It's fun to watch the ping times when you place huge load on the wan. Ping times will start to. climb and then rapidly drops back down to almost a no-load ping.

BQL is also in the latest builds ( linux 3.3 kernel and newer I think) and it's also helping mitigate delays.

For fun I baked in HTB with some new commits from linux 3.8 that implements a massive accuracy improvement plus using hr-timers instead of tics. Totally non-empirical but my wife commented how much better Netflix has been working.

Now I just need to figure out if I want to do some rewritting on the ACC module. It has no support for HTB and it has a hard time dealing with a wireless internet connection.

Re: Support for CoDeL (new QoS algorithm)?

Posted: Wed Dec 12, 2012 7:41 pm
by pbix
Gargoyle with ACC long ago controlled bufferbloat issues on the WAN link so there will be minimum benefit to using BQL you reference there. As you noted the SFQ settings are already pretty well optimized.

ACC requires the use of HSFC, it cannot work with HTB. It would not be possible to modify it.

If you wish to further discuss issues related to QoS I suggest you post in the relevant sub-forum created for that purpose.

Re: Support for CoDeL (new QoS algorithm)?

Posted: Thu Dec 13, 2012 12:52 am
by raz
Grey,

How's the torrenting on your custom build? Stable?

Moreover, with your build, are you able to define min/max BW using Gargoyle's QoS service classes?

Re: Support for CoDeL (new QoS algorithm)?

Posted: Thu Dec 13, 2012 5:46 pm
by jorgemiguel4
Interesting, how to configure it in LuCI?

Re: Support for CoDeL (new QoS algorithm)?

Posted: Fri Dec 14, 2012 9:48 pm
by Grey
raz wrote:Grey,

How's the torrenting on your custom build? Stable?

Moreover, with your build, are you able to define min/max BW using Gargoyle's QoS service classes?
I haven't used torrent in ages. I had to reboot the router yesterday but that was my fault. Locked up a script in memory somehow doing the umpteenth restart.

I've been doing everything from scripts. I've went back to HFSC. Think I was biased from past work on much slower routers wrt54g verse wndr3800

Re: Support for CoDeL (new QoS algorithm)?

Posted: Fri Dec 14, 2012 9:50 pm
by Grey
jorgemiguel4 wrote:Interesting, how to configure it in LuCI?
Gargoyle uses it's own web pages. I've no idea how in Luci on basic OpenWrt. Web Pages tends to give me a headache to get working right.

Re: Support for CoDeL (new QoS algorithm)?

Posted: Sun May 26, 2013 8:19 pm
by lioux
Could you post pointers on how you added fq_codel support? I would like to try that too. :)

Re: Support for CoDeL (new QoS algorithm)?

Posted: Sat Aug 03, 2013 12:37 am
by dtaht
Incidentally, I have been doing some work with bittorrent and sfq and fq_codel and pie and a few others. The big win is to reduce the number of peers from the defaults of like (30? 60? 150?) to something a bit saner like 10-12...