High RTT latency on wan [SOLVED]
-
I am here trying to figure out why it gets high latency only when i set the wan interface to 1gbps. This doesn't happen when i set to 100mbits full. but the problem is i can't set the duplex on the other end which is the Arris modem. My ISP locks the duplex port settings.
-
Well, the modem is probably auto-neg so set the WAN interface to Default (no preference, typically autoselect) and stop screwing with it.
Give a grunt a knob to turn and he'll turn it.
-
Double Bullshit, haha! Just look out there on the internets. ISP's are not eliminating bufferbloat for residential customers, up or down.
If "Real" ISP's don't include say - Cox, Comcast, TWC, AT&T…. then sure, maybe not. But if those are real ISP's, then yeah bufferbloat is a problem and it won't be solved by them.
"Get it to work properly" is pretty subjective. Most customers haven't a clue what bufferbloat is. It doesn't rear it's head on wired connections unless the link is saturated - most people don't do that often. When bufferbloat does arise - it's just (in some cases significantly) increased latency, it's not as if the connection goes down. Most people using most kinds of traffic won't even know it's taking place.
So, a problem that only fringe customers even know exists is exactly the kind of problem most ISP's aren't going to spend money on fixing.
Also, it isn't exactly difficult to make the problem go away on your end for those fringe customers who are aware of it.
-
I am here trying to figure out why it gets high latency only when i set the wan interface to 1gbps. This doesn't happen when i set to 100mbits full. but the problem is i can't set the duplex on the other end which is the Arris modem. My ISP locks the duplex port settings.
Yeah, +1 to Derelict just set it to auto negotiate and leave it alone.
-
the problem is when i set it to autoselect when i have alot of users downloading alot or if i start a downloading test the loss goes to 100% then the gateway goes offline. If that wasn't the problem then i would leave it alone.
I now have it set to autoselect but i have to disable gateway monitoring to let it stay up when the load is high.
-
It sounds like you have some weird glitch going on?
If it were me I would save the config and do a fresh install.
-
Check out dslreports if you believe bufferbloat is a myth. It will give you lots of examples and the majority of test results are less than optimal.
http://www.dslreports.com/speedtest/results/bufferbloat
-
Shaping downloads is non-trivial. Especially as the inside network gets more complex.
-
I certainly can't speak for pro networks, but on home networks with pfsense and fq_codel it takes just a few minutes.
two thumbs up for freebsd & pfsense for bringing in fq_codel!
-
@Derelict Hello, I have been struggling, with the high latency problem with one of my WAN of the two Wan connection and various attempt for traffic shaping, and reading this thread, I changed the problematic WAN interface speed from Default to Auto, which lead to first super slow WEBGUI interface of the pfsense, and now no access at all. Any recomendation ??
-
@tejas said in High RTT latency on wan [SOLVED]:
@Derelict Hello, I have been struggling, with the high latency problem with one of my WAN of the two Wan connection and various attempt for traffic shaping, and reading this thread, I changed the problematic WAN interface speed from Default to Auto, which lead to first super slow WEBGUI interface of the pfsense, and now no access at all. Any recomendation ??
Recovered Now after reboot, and again set to default.
-
You should start your own thread for this.
Please detail exactly what sort of latency you're seeing. Has it got much worse or always been bad?
It is only bad when passing traffic?
Steve
-
@derelict said in High RTT latency on wan [SOLVED]:
Give a grunt a knob to turn and he'll turn it.
This is TRUE WISDOM!!!
I am thankful for the necro on this old thread just for those words - I missed them when first posted..
They are true words to live buy - I would add them to my sig, but real close to the max characters ;)
-
@stephenw10 I have multi wan setup with one Lan. Wan 1 is 6mbps and wan 2 10 mbps plan. Problem is with the Wan2, with high load RTTsd increases upto >1500ms and status first Latency and then Offline. I go thru documentation for the traffic shaping, but no where there is any mentioned for the Multiwan setup and strangely the traffic shaper/by interface is showing just one Wan2 interface(why not second Wan and Lan). If I go with the Wizard, there is no Intenet access. That's in the short. If I could not solve this problem today, will start a Fresh Thread.
-
If you set the alarm thresholds higher in WAN2 monitoring does it continue to pass traffic OK?
Just enabling codelq on the root of both WANs could work well here. Just set the bandwidth to something very slightly less that what you can actually achieve.
Steve
-
@stephenw10 strangely I could only see one Wan only in traffic shaper
-
@stephenw10 said in High RTT latency on wan [SOLVED]:
If you set the alarm thresholds higher in WAN2 monitoring does it continue to pass traffic OK?
Just enabling codelq on the root of both WANs could work well here. Just set the bandwidth to something very slightly less that what you can actually achieve.
Steve
I enabled codelq on the root of the problematic WAN2, which was the only showing, shows the latency, but atleast not showing the status offline. I set 9mbps for the 10mbps Wan. Should I lower it more down or rather tune the latency threshold limit ?
Could you suggest me the solution for putting the limiter for the youtube and the video media.
-
You only need to set the bandwidth slightly lower that what you can actually achieve over the link to make sure it queues at the local interface, where you have control over it, rather than somewhere upstream.
So you might be able to use 9.5Mbps there. 500kbps matters on a 10Mb connection.Limiting Youtube is far harder. You need to define Youtube as a destination alias and then create a rule that passes it but assigns a limiter on LAN. Defining that alias is the problem. Youtube uses a very large and changing number of IPs.
You might get close by using ASNs in pfBlocker to create the alias.Steve
-
@stephenw10 I like you, simple answer no hassle and big technical b.s. straight to the point.
Will try the alias for the youtube.You didn't said anything, why my pfsense is only showing one wan interface and no second wan and lan interface in limiter >> by interface ??
-
What are the interface assignments your two WANs are using? In Interfaces > Assign?
There are some NIC types that do not support ALTQ traffic shaping. If you need to though it's possible to use Limiters there too. In 2.4.4 we have FQ_CODEL scheduling available there.
Steve