Kitz Forum

Broadband Related => FTTC and FTTP Issues => Topic started by: underzone on October 12, 2020, 11:10:10 AM

Title: pfsense high latency on BQM graphs
Post by: underzone on October 12, 2020, 11:10:10 AM
Hi,
I have always had lots of yellow tall latency peaks on my BQM graph with my pfsense setup.
I sync to Plusnet at 80000/20000, my IP profile is 77.35, but i have just capped my pfsense downstream rate to 60000 and upstream to 15500.

Check out the results. Before is (L) and after (R):

(https://poseidon.feralhosting.com/frat3000/both.png)

The limiter cap info is here: https://forum.netgate.com/topic/112527/playing-with-fq_codel-in-2-4/796
 No idea why it helps so much though..  :no:
Title: Re: pfsense high latency on BQM graphs
Post by: PhilipD on October 12, 2020, 11:25:36 AM
Hi,
I have always had lots of yellow tall latency peaks on my BQM graph with my pfsense setup.
I sync to Plusnet at 80000/20000, my IP profile is 77.35, but i have just capped my pfsense downstream rate to 60000 and upstream to 15500.

Check out the results. Before is (L) and after (R):

(https://poseidon.feralhosting.com/frat3000/both.png)

The limiter cap info is here: https://forum.netgate.com/topic/112527/playing-with-fq_codel-in-2-4/796
 No idea why it helps so much though..  :no:

Both look okay and don't forget pings take lower priority, and what would be the point of a completely green BQM chart with no peaks at all if using your internet connection means it stutters every time a ping comes in from Thinkbroadbands monitor because it panics and drops real traffic just to reply asap.

Were you having a problem with your connection?

It is possible to assign QoS and give your outgoing replies to those pings a higher or real time priority which is sort of what you have done to get the other chart, but by doing that you are slowing something else down more important perhaps.

Regards

Phil


Title: Re: pfsense high latency on BQM graphs
Post by: underzone on October 12, 2020, 12:22:46 PM
Hi PhilipD,

no I am not having any problems at all. I just wondered how it is possible for people to have really clean looking BQM graphs (Chrysalis for example) with pfsense, when mine always look awful!

As an aside this is from when I was with BT 2 years ago, and my pfsense rig was way OTT (Intel i3 8100, 16GB, Optane ssd, Intel i350-T2):

(https://poseidon.feralhosting.com/frat3000/BT.png)

And this is with AAISP one year ago:

(https://poseidon.feralhosting.com/frat3000/AA.png)



Title: Re: pfsense high latency on BQM graphs
Post by: Alex Atkin UK on October 12, 2020, 12:57:26 PM
Under full load I get:
(https://www.thinkbroadband.com/broadband/monitoring/quality/share/thumb/2597abcae0d32c9d179498d7995bdaf768cc02d0-03-10-2020.png) (https://www.thinkbroadband.com/broadband/monitoring/quality/share/2597abcae0d32c9d179498d7995bdaf768cc02d0-03-10-2020)

Normal load I get:
(https://www.thinkbroadband.com/broadband/monitoring/quality/share/thumb/82241e004b36d4139c505ba1f50e8a29024dfa62-11-10-2020.png) (https://www.thinkbroadband.com/broadband/monitoring/quality/share/82241e004b36d4139c505ba1f50e8a29024dfa62-11-10-2020)

But in either case, I've never noticed any real world issues although the only online game I play is The Crew 2 and I play it as if its an offline game so rarely encounter anyone else in game.  When I have though, never seen them stutter.
Title: Re: pfsense high latency on BQM graphs
Post by: PhilipD on October 12, 2020, 01:17:13 PM
Hi PhilipD,

no I am not having any problems at all. I just wondered how it is possible for people to have really clean looking BQM graphs (Chrysalis for example) with pfsense, when mine always look awful!

As an aside this is from when I was with BT 2 years ago, and my pfsense rig was way OTT (Intel i3 8100, 16GB, Optane ssd, Intel i350-T2):

(https://poseidon.feralhosting.com/frat3000/BT.png)

And this is with AAISP one year ago:

(https://poseidon.feralhosting.com/frat3000/AA.png)

Hi

I think a lot also depends on the ISP and general congestion in your area, and it can vary, sometimes my chart is completely clean green and other times more yellow spikes.

What we are needing to look out for really is an increase in blue along with the green minimum latency going up as per Thinkbroadbands examples of congestion.  Also I bet if you ping say the BBC constantly the latency never various even though Thinkbroadband shows some spikes during the same time.

When your line is under full load you are probably having buffer overflows so packets are getting dropped, hence the red.  To test if this is the case run Thinkbroadbands speed test then look at the analysis and it will tell you your buffer bloat rating, I get As with pfSense and QoS enabled and much lower results with it disabled.  It's not a free lunch as what the QoS will be doing is causing TCP traffic to slow down to leave a bit spare for things like UDP packets that can get lost completely, including pings.

Regards

Phil