• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

High RTT latency on wan [SOLVED]

Scheduled Pinned Locked Moved General pfSense Questions
37 Posts 7 Posters 16.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D
    Derelict LAYER 8 Netgate
    last edited by Sep 22, 2017, 9:27 PM

    If your problem is on download:

    1: Your ISP sucks - they should not be buffer-bloating downloads like that.

    2: You need to limit downloads on LAN as well.

    Chattanooga, Tennessee, USA
    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
    Do Not Chat For Help! NO_WAN_EGRESS(TM)

    1 Reply Last reply Reply Quote 0
    • B
      belt9
      last edited by Sep 22, 2017, 10:20 PM

      Download bufferbloat is a common problem. Most major ISPs do not do anything (useful) to prevent bufferbloat.

      AQM in the form of PIE will come to cable modems, it's mandated in DOCSIS 3.1 because bufferbloat is such a ubiquitous problem.

      A better statement would be, if you don't have bufferbloat problems on download with sub gigabit WAN, your ISP is exceptional!

      1 Reply Last reply Reply Quote 0
      • T
        tripplex
        last edited by Sep 22, 2017, 10:48 PM

        @Derelict:

        If your problem is on download:

        1: Your ISP sucks - they should not be buffer-bloating downloads like that.

        2: You need to limit downloads on LAN as well.

        Yes they do suck. Right now i am trying to setup openvpn to work and they have blocked the ports i am trying to use so i had to call them and request they remove the block. They said they would remove it within 24-48 hours.

        1 Reply Last reply Reply Quote 0
        • D
          Derelict LAYER 8 Netgate
          last edited by Sep 23, 2017, 12:01 AM

          Bullshit.

          "Real" ISPs all understand that their customer bandwidth is less than their backbone bandwidth and it is incumbent upon them to eliminate bloat there.

          It is preposterous to think that a customer with a 100Mbit/sec down needs to shape to make the connection work properly. A customer cannot affect how fast traffic is sent to him.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

          1 Reply Last reply Reply Quote 0
          • T
            tripplex
            last edited by Sep 23, 2017, 12:16 AM

            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.

            1 Reply Last reply Reply Quote 0
            • D
              Derelict LAYER 8 Netgate
              last edited by Sep 23, 2017, 12:28 AM

              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.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              J 1 Reply Last reply Nov 13, 2018, 1:24 PM Reply Quote 1
              • B
                belt9
                last edited by Sep 23, 2017, 12:57 AM

                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.

                1 Reply Last reply Reply Quote 0
                • B
                  belt9
                  last edited by Sep 23, 2017, 12:58 AM

                  @tripplex:

                  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.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tripplex
                    last edited by Sep 23, 2017, 1:25 AM

                    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.

                    1 Reply Last reply Reply Quote 0
                    • B
                      belt9
                      last edited by Sep 23, 2017, 12:07 PM Sep 23, 2017, 2:33 AM

                      It sounds like you have some weird glitch going on?

                      If it were me I would save the config and do a fresh install.

                      1 Reply Last reply Reply Quote 0
                      • B
                        belt9
                        last edited by Sep 23, 2017, 12:06 PM Sep 23, 2017, 9:45 AM

                        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

                        1 Reply Last reply Reply Quote 0
                        • D
                          Derelict LAYER 8 Netgate
                          last edited by Sep 23, 2017, 5:11 PM

                          Shaping downloads is non-trivial. Especially as the inside network gets more complex.

                          Chattanooga, Tennessee, USA
                          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                          Do Not Chat For Help! NO_WAN_EGRESS(TM)

                          1 Reply Last reply Reply Quote 0
                          • B
                            belt9
                            last edited by Sep 23, 2017, 5:52 PM

                            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!

                            1 Reply Last reply Reply Quote 0
                            • T
                              tejas LAYER 8
                              last edited by Nov 13, 2018, 4:51 AM

                              @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 ??

                              T 1 Reply Last reply Nov 13, 2018, 6:57 AM Reply Quote 0
                              • T
                                tejas LAYER 8 @tejas
                                last edited by Nov 13, 2018, 6:57 AM

                                @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.

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by Nov 13, 2018, 1:06 PM

                                  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

                                  T 1 Reply Last reply Nov 14, 2018, 4:27 AM Reply Quote 0
                                  • J
                                    johnpoz LAYER 8 Global Moderator @Derelict
                                    last edited by Nov 13, 2018, 1:24 PM

                                    @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 ;)

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      tejas LAYER 8 @stephenw10
                                      last edited by Nov 14, 2018, 4:27 AM

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • stephenw10S
                                        stephenw10 Netgate Administrator
                                        last edited by Nov 14, 2018, 12:56 PM

                                        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

                                        T 2 Replies Last reply Nov 14, 2018, 1:09 PM Reply Quote 0
                                        • T
                                          tejas LAYER 8 @stephenw10
                                          last edited by Nov 14, 2018, 1:09 PM

                                          @stephenw10 strangely I could only see one Wan only in traffic shaper

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received