Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    How Netgate Improved FreeBSD Networking for Everyone

    Scheduled Pinned Locked Moved Netgate Announcements
    13 Posts 11 Posters 2.1k Views 13 Watching
    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.
    • P
      pfGeorge Netgate
      last edited by

      Opens the door for up to 3.7x performance gains

      Netgate® software engineer Christian McDonald identified a bug in FreeBSD®'s iflib framework, which underpins many of today's most widely used network interface drivers, including em, igb, igc, ix, ixl, ice, iavf, bnxt, vmx, axgbe, enetc, enic, and mgb. The bug was artificially limiting the number of packets per second each interface could process, capping throughput at 0.98 Mpps in testing.

      Two targeted fixes changed everything. The first, a single line of code, pushed throughput to 2.57 Mpps. The second took it further still, to 3.58 Mpps. The result is a 3.7x improvement in network throughput, and because the fix lives in iflib itself, every FreeBSD user and every project built on FreeBSD benefits.

      keyserK 1 Reply Last reply
      Reply Quote 12
      • chpalmerC
        chpalmer
        last edited by

        https://www.netgate.com/blog/ding-dong-ditch-the-doorbell-prank-in-freebsds-iflib

        Triggering snowflakes one by one..
        Primary- Intel(R) Pentium(R) CPU G4400 @ 3.30GHz on an M470 WG box. pfsense+ 26.07

        1 Reply Last reply
        Reply Quote 2
        • patient0P
          patient0
          last edited by

          Excellent write-up!

          1 Reply Last reply
          Reply Quote 0
          • keyserK
            keyser Rebel Alliance @pfGeorge
            last edited by

            @pfGeorge Excellent detective work.

            Will any of the fixed versions be included in 26.10 (either the non-batched or batched version)?

            Love the no fuss of using the official appliances :-)

            P 1 Reply Last reply
            Reply Quote 1
            • luckman212L
              luckman212 LAYER 8 Rebel Alliance
              last edited by

              Great stuff ... thank you for the writeup @cmcdonald 👍

              1 Reply Last reply
              Reply Quote 2
              • dennypageD
                dennypage
                last edited by

                Great work @cmcdonald. In addition to the throughput benefits of the router itself, the fix also appears to bring a lower latency for packets transiting the router which could bring a significant throughput benefit for TCP connections. And perhaps a significant benefit for NTP in the local network (which is significantly affected by high latency variance).

                I'm wondering, has any quantization of latency improvement been done?

                1 Reply Last reply
                Reply Quote 0
                • P
                  py @keyser
                  last edited by

                  @keyser

                  Yes, I would also like to know if this helps anything in 26.10.

                  Thank You,

                  1 Reply Last reply
                  Reply Quote 0
                  • sokeadaS
                    sokeada
                    last edited by

                    Dear Experts,

                    My pfSense box is Dell Micro PC that have Intel NIC (em0) which is in the list that can be tweaked or fixed the issue as well but I'm not sure where should I start and what should I adjust/modify, please provide some steps.

                    Thanks in advance,

                    Sokeada

                    image.jpeg

                    SteveITSS 1 Reply Last reply
                    Reply Quote 0
                    • SteveITSS
                      SteveITS Galactic Empire @sokeada
                      last edited by

                      @sokeada It’s a fair assumption it will be in 26.10 so we are just waiting.

                      To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                      Only install packages for your version of pfSense.
                      Upvote 👍 helpful posts!

                      sokeadaS 1 Reply Last reply
                      Reply Quote 1
                      • sokeadaS
                        sokeada @SteveITS
                        last edited by

                        @SteveITS Thanks for the info, I hope that will be available on CE version too. 😊

                        P 1 Reply Last reply
                        Reply Quote 0
                        • P
                          Patch @sokeada
                          last edited by

                          @sokeada said:

                          I hope that will be available on CE version too

                          There will be no new "CE" versions see pfSense at 20 thread.
                          So indirectly yes, It will be available for those users

                          sokeadaS 1 Reply Last reply
                          Reply Quote 0
                          • sokeadaS
                            sokeada @Patch
                            last edited by

                            @Patch That's excited news, thanks for keeping me post. 😊

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

                              Yup it's in 26.10.

                              1 Reply Last reply
                              Reply Quote 2

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post
                              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                              Privacy Policy · Cookie Policy