OPNsense Forum

English Forums => General Discussion => Topic started by: nitro on April 14, 2018, 11:55:38 pm

Title: CoDeL / Cake QoS
Post by: nitro on April 14, 2018, 11:55:38 pm
Hi everyone, was just wondering if there was any plans to implement Codel / Cake QoS into OpnSense.

I know CoDel Queue Management is an option available in Traffic Shaper but this does not have the desired effect.
Title: Re: CoDeL / Cake QoS
Post by: opnfwb on April 16, 2018, 04:19:19 am
There are two types of Codel queuing options, and this can be very confusing. I've discovered that I get better results (less buffer bloat) by leaving the Enable Codel box UNCHECKED.

Instead, use the advanced options when editing or creating a Pipe, and select FlowQueue-Codel for the scheduler. When creating queues, also leave the Enable Codel box UNCHECKED. This results in A+ buffer bloat scores running the dslreports speedtest. If you haven't already tried this method, I would highly recommend it.
Title: Re: CoDeL / Cake QoS
Post by: nitro on April 16, 2018, 08:01:22 pm
the best i have managed to achieve is a B after following your recommendation. I dont know what else to try. before moving to opnsense I used OpenWRT and when enabling Codel or Cake QoS it would achieve A+ too.
Title: Re: CoDeL / Cake QoS
Post by: opnfwb on April 17, 2018, 01:01:37 am
Would you mind posting screenshots of your Pipes/Queues/Rules? Also, could you provide some information about your connection?

Here's a thread going over how to setup OPNsense to prevent buffer bloat, my settings very closely mirror that thread but I've made some tweaks to my setup to support ipv6.
https://forum.opnsense.org/index.php?topic=7423.0
Title: Re: CoDeL / Cake QoS
Post by: nitro on April 17, 2018, 07:17:16 pm
Hey! thanks for linking the guide I followed it step by step and achieved an A+
Title: Q
Post by: opnfwb on April 18, 2018, 02:33:57 am
Fantastic! I've been very impressed with OPNsense FQ_codel implementation. It's truly a "knobless" buffer bloat solution. With little to no tuning it works on the vast majority of setups that I have tried. I'm glad you got it configured and working well.