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

    Upgrade to 23.01 WAN speed halved

    Scheduled Pinned Locked Moved General pfSense Questions
    106 Posts 19 Posters 34.8k 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.
    • T
      tman222
      last edited by

      No speed issues to report here - using a Chelsio T540-SO-CR on the LAN side and Intel i210 on the WAN side.

      Below is the set tunables I'm currently using for the Chelsio card:

      hw.cxgbe.cong_drop="1"
      hw.cxgbe.pause_settings="0"
      hw.cxgbe.nrxq="8"
      hw.cxgbe.ntxq="8"
      hw.cxgbe.qsize_txq="2048"
      hw.cxgbe.qsize_rxq="2048"
      hw.cxgbe.toecaps_allowed="0"
      hw.cxgbe.rdmacaps_allowed="0"
      hw.cxgbe.iscsicaps_allowed="0"
      hw.cxgbe.fcoecaps_allowed="0"
      

      Hope this helps.

      D 1 Reply Last reply Reply Quote 0
      • D
        debo4479 @tman222
        last edited by

        @tman222

        Thanks for the info but it is only impacting the T4/5 CR variants without the SO.

        T 1 Reply Last reply Reply Quote 0
        • T
          tman222 @debo4479
          last edited by

          @debo4479 said in Upgrade to 23.01 WAN speed halved:

          @tman222

          Thanks for the info but it is only impacting the T4/5 CR variants without the SO.

          Hmmm, that's interesting. As far as I know, the only difference are the offload capabilities of the regular CR vs. SO-CR cards (SO = Server Offload). If those offloading capabilities are enabled by default by the Chelsio driver in newer version(s) of pfSense has anyone tried disabling them explicitly to see if that helps the performance?

          Redmine issue for reference:
          https://redmine.pfsense.org/issues/9091

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

            The TCP off-load stuff should have no impact on connections through the firewall, rather than terminating on it, even if it is loaded. But it's not loaded by default anyway.
            It does seem like the -SO variants are not affected though.
            Is anyone seeing this issue on an -SO card?

            RobbieTTR 1 Reply Last reply Reply Quote 0
            • RobbieTTR
              RobbieTT @stephenw10
              last edited by

              Anyone looked at duplex testing in detail, given the halving at 5 GbE and 1 GbE?

              ☕️

              1 Reply Last reply Reply Quote 0
              • A
                AiC0315 @Jimbohello
                last edited by

                @jimbohello

                I too am seeing my download speeds halved using a Chelsio t-420 in 23.01. Upload speeds are normal. I also tried using the latest 2.7 and had the same issues. I am currently back using 2.6.0 with full speeds

                1 Reply Last reply Reply Quote 1
                • D
                  darkreign2049
                  last edited by

                  I am having this issue as well. I recently moved my LAN interface over to the second port on my CHELSIO T520-BT and was only getting 470 - 480 Mbps download. I have been scratching my head for the better part of a week trying to figure what was going on. I switched back to a 4-port 1Gb Intel card and speeds went back to normal.

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

                    Has anyone been able to test this in a FreeBSD 14 snapshot?

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      superbree @stephenw10
                      last edited by

                      I see that 23.05 beta has been released. Has anyone tried it to see if this fixes the problem or if they're even trying to?

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

                        There are no changes to the cxgbe driver in 23.05 yet. I would not expect any difference.
                        The maintainer is investigating.

                        Steve

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          debo4479 @stephenw10
                          last edited by debo4479

                          @stephenw10
                          Per comments on redmine bug, no change with 23.05

                          https://redmine.pfsense.org/issues/14207

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

                            It would very helpful if anyone hitting this can test a FreeBSD 14 snapshot. That would allow us to rule out any changes pfSense might be doing. It will also give the driver maintainer something specific to test against.

                            D 1 Reply Last reply Reply Quote 0
                            • D
                              debo4479 @stephenw10
                              last edited by

                              @stephenw10
                              I spun up a FreeBSD14 VM on Unraid and it does not find drive for my T520-CR. It says no driver attached. I have attached screenshot of both boot log and pciconf.

                              FreeBSD14_T520CR.jpg

                              FreeBSD14_T520CR_2.jpg

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

                                You might have to load the module in FreeBSD:

                                kldload if_cxbge
                                
                                D 1 Reply Last reply Reply Quote 0
                                • D
                                  debo4479 @stephenw10
                                  last edited by

                                  @stephenw10

                                  If I run that command I get "can't load if_cxbge: No such file or directory"

                                  I can see the file in /boot/kernel/ does that mean it is already loaded?

                                  I even tried to load from that directory and same message. Even tried with sudo. I am mostly windows guy so maybe I am just doing something wrong.

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

                                    Try using the full path:

                                    kldload /boot/kernel/if_cxgbe.ko
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      @stephenw10 said in Upgrade to 23.01 WAN speed halved:

                                      if_cxbge

                                      Oh I typo'd it!

                                      kldload if_cxgbe
                                      
                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        debo4479 @stephenw10
                                        last edited by debo4479

                                        @stephenw10
                                        Duh, I should have picked that up.

                                        OK I was able to load and pull ip address. I tried iperf3 - s and I doesn't look like it is installed by default.

                                        UPDATE: ok, got it installed. below are my results using chelsio t520-cr

                                        iperf.jpg

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

                                          That's the send rate, the iperf3 client sends by default. If you run it reversed -R do you see the half speed when receiving?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            debo4479 @stephenw10
                                            last edited by

                                            @stephenw10
                                            I was running iperf3 server on FreeBSD14 so it was receiving. Screenshot is me sending data from unraid host.

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