OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: deviantintegral on January 02, 2017, 09:07:25 pm

Title: How to set up fq_codel for QoS traffic shaping
Post by: deviantintegral on January 02, 2017, 09:07:25 pm
I'm trying to get a reasonable QoS setup for my 25/2 cable internet connection. There's great docs for setting up regular QoS rules, but since DSCP support was removed I think I need something more robust for my needs. And, I love the idea of never having to tweak the rules for specific apps :D

For reference, an unshaped result from flent rrul -p all_scaled -l 60:

(http://take.ms/iNNNh)

I then set up:


(http://take.ms/NjKzW)

Latency is vastly improved, though I'm curious about the spike I'm getting at the very end. What I'm more concerned about are the gaps in the upload graph. I expected with setting the pipes significantly lower than my actual connection I wouldn't see any missing traffic. They're still there even with lower caps on the pipes. I haven't seen any similar results from others, so I'm not sure how to interpret this. Any ideas?
Title: Re: How to set up fq_codel for QoS traffic shaping
Post by: deviantintegral on January 30, 2017, 03:44:24 am
I was reading up and came across this post (http://burntchrome.blogspot.ca/2014/05/measured-bufferbloat-on-orangefr-dsl.html) showing results over a slower DSL connection, that corresponded pretty closely to my cable connection. Luckily, my ISP redid their packages, and it was very inexpensive to go from a 25/2 to a 30/5 connection. Updated the bandwidth limits, and I'm seeing way fewer drops on the upstream:

(http://take.ms/g3tWD)

Perhaps there's not many using OPNSense on slower connections, but I've rarely seen flent tests with less than 5MBit upstream. Anecdotally, the experience was pretty horrible on fq_codel until I had more bandwidth for it to work with. I wonder if there's some way to alert users when setting the pipe configs if they're allocating less than the scheduler needs to be effective.