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

    2.4.5 High latency and packet loss, not in a vm

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    81 Posts 22 Posters 19.0k 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.
    • Q
      q54e3w
      last edited by q54e3w

      @stephenw10 said in 2.4.5 High latency and packet loss, not in a vm:

      https://go.netgate.com/

      Just opened a support ticket with my config.xml attached, INC-49525.
      Not a virtual instance, X11SDV Xeon-D 2100 series motherboard, 16GB RAM.

      1 Reply Last reply Reply Quote 0
      • W
        wernsting
        last edited by stephenw10

        Had the same issue yesterday when I upgraded. Have since reverted to 2.4.4-p3 and the issue disappeared completely.

        I run it on a Eglobal Braswell Fanless Mini PC AES-NI Intel N3160/J3160 Qaud Core Pfsense Computer Server 4K 2HDMI 2LAN(RJ-45) 300M Wifi.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @wernsting
          last edited by

          @wernsting Do you have any large aliases or huge lists of IP's in any firewall rules? Have you modified the max table entries (and if so, to what)?
          Do you use PPPoE?

          1 Reply Last reply Reply Quote 0
          • Q
            q54e3w
            last edited by

            @muppet can you define "large"? One mans "large" is another mans "small"! :-) 1000? 10000? 1000000?

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by A Former User

              It's total entries not individual table size that counts from my experiments.

              100000 and up the issue is very noticable. 100k and a bit is the bogonsv6 table. 200000 and up filter reloads can basically freeze the system (unresponsive GUI and packet loss) even with powerful HW. On my supermicro 5018D-FN4T (XG-1541) it becomes unresponsive at around 300000 total table entries for minutes if the filters are reloaded.

              max table entries isn't relevant other than you can prevent too many entries from loading if you set it small. In FreeBSD 11.3Stable it was hard limited to 65k. Netgate submitted a patch to make it tunable.

              I would be interested in knowing why that 65k hard limit showed up in 11.3?

              1 Reply Last reply Reply Quote 0
              • W
                wernsting
                last edited by

                Hi,

                I'm just a small household that suffers my nerdy-ness that hated the ISP provided crapware— so no, nothing like that. My set up is hardly configured beyond the base installation :)

                Cheers,

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @wernsting
                  last edited by

                  @wernsting You'd be surprised. Out of the box defaults with ipv6, a few geoip blocks and other ip block lists in pfblockerng and you can easily get over 400k if not more in total.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wernsting
                    last edited by

                    Fair enough.

                    However in my case I don't have any block lists configured, nor pfblockerng installed as a package, neither do I have aliases or additional firewall rules above the two standard rules (RFC 1918 networks & Reserved
                    Not assigned by IANA).

                    @muppet forgot to mention no I have not modified the max table entries and my WAN is DHCP IPv4 only.

                    ? 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @wernsting
                      last edited by

                      @wernsting Interesting. Very much sounds like you have experienced something else or the problem manifests itself with a much smaller number total table entries on lower powered HW.

                      Glad you were able to recover to 2.4.4-p3. Hope a fix, other than downgrading, comes along sooner rather than later that works for all situations. The 2.4.4 line has been impressively stable for a long time, we were spoiled ;)

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kartoff
                        last edited by

                        My 2.4.4-p3 work without any problem for a long time... But when 2.4.5 came out I did an update as usual... Then problems with high latency started... I was even unable to get in WEB interface right after update restart, because of over 3000ms... After some time, lets say 20 sec. everything get back to normal... I have some friends who I gave internet and they are gamers... I have now 3 WAN set as failover, but every gets disconnected due to high latency on every single WAN at the same time...
                        I caught it happens every time when i do some config on interfaces and apply it... I also installed pfSense on another machine to test it and it behave the same...
                        This behavior is unacceptable, so I reverted to 2.4.4-p3 and everything is fine now :) Problem was in place even when I disconnect any of the ISP, because i think it sees this as interface reconfigure and make ping over 3000...

                        1 Reply Last reply Reply Quote 0
                        • Cool_CoronaC
                          Cool_Corona
                          last edited by

                          I decided to downgrade the number of CPU's used in the VM.

                          Went from 32 core to 8 core. It had similar problems. Slow response in the webGUI and latency on monitored IP's.

                          Downgraded to 1 CORE and everything came up quickly and everything is working as expected.

                          No 100% CPU anymore and everything is responsive and packet loss is back to 0.0%.

                          J stephenw10S 2 Replies Last reply Reply Quote 0
                          • J
                            jdeloach @Cool_Corona
                            last edited by

                            @Cool_Corona said in 2.4.5 High latency and packet loss, not in a vm:

                            I decided to downgrade the number of CPU's used in the VM.

                            Went from 32 core to 8 core. It had similar problems. Slow response in the webGUI and latency on monitored IP's.

                            Downgraded to 1 CORE and everything came up quickly and everything is working as expected.

                            No 100% CPU anymore and everything is responsive and packet loss is back to 0.0%.

                            How do you change the number of cores? Is that an Intel thing or does it also apply to the AMD processors as well?

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @jdeloach
                              last edited by

                              @jdeloach You can do that in a Virtual Machine, bare metal hardware not so much.

                              J 1 Reply Last reply Reply Quote 1
                              • L
                                Luca De Andreis
                                last edited by

                                If you are using a virtualized system (like qemu-kvm, etc), you can decide whether to use the physical processor or a logical processor, with the desired characteristics and functionalities (such as the number of cores, extensions such as AES-NI etc.)

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jdeloach @A Former User
                                  last edited by

                                  @jwj said in 2.4.5 High latency and packet loss, not in a vm:

                                  @jdeloach You can do that in a Virtual Machine, bare metal hardware not so much.

                                  Yeah, that is what I thought. Need some more coffee this morning. I haven't used virtual memory for running programs in the past. Will have to give that a try someday. Thanks.

                                  1 Reply Last reply Reply Quote 0
                                  • stephenw10S
                                    stephenw10 Netgate Administrator @Cool_Corona
                                    last edited by

                                    @Cool_Corona said in 2.4.5 High latency and packet loss, not in a vm:

                                    Downgraded to 1 CORE and everything came up quickly and everything is working as expected.

                                    This is a great observation! Testing now.

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jammcla
                                      last edited by

                                      2 Cores worked great for me on my test box, but when I went up to 8 cores like the production box, everything went downhill. luckily I changed the cores on the test box before I tried on the production box.

                                      1 Reply Last reply Reply Quote 0
                                      • Q
                                        q54e3w
                                        last edited by q54e3w

                                        Heres my 3 month WAN latency graph showing the clear increase in average latency since the 2.4.5 upgrade. I just added this to my support ticket. I am not seeing a typical short timeframe ISP latency increase.

                                        da8b12bc-734b-412f-a446-a0aa31cd0798-image.png

                                        1 Reply Last reply Reply Quote 0
                                        • provelsP
                                          provels
                                          last edited by provels

                                          No idea if this is related, but I tried to add 2 monitor IPs to my v4 and v6 gateways and immediately I had latency and drops. Even when they were removed, I could barely get control of the web GUI. Had to reboot. Below are clips of top -aSH and proc load.
                                          e6a9a363-c776-40c3-9974-e2490ddbf403-image.png6305d453-a37d-4d27-b86d-81f559287581-image.png

                                          Peder

                                          MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                          BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                          ? 1 Reply Last reply Reply Quote 0
                                          • ?
                                            A Former User @provels
                                            last edited by

                                            @provels That is exactly the bug, yup! Fix at the moment appears to be to drop to one vCPU if you're able.

                                            provelsP 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.