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

    half network speed after upgrading

    Scheduled Pinned Locked Moved Plus 23.01 Development Snapshots (Retired)
    25 Posts 4 Posters 2.5k 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.
    • H
      High_bounce
      last edited by

      hi guys i am having problems with my pfsense instillation after upgrading from 22.05 to 23.01 i am not sure the cause. no crashes or problems upgrading the installation but speedtest gives me 450-500Mbps vs 900-1000Mbps. running an intel 225 and chelsio 520bt.

      M 1 Reply Last reply Reply Quote 0
      • M
        michaellacroix @High_bounce
        last edited by

        I know on the beta version they have logging enabled which could slow down your network speeds. I would revert back to 22.05 until the RC version becomes available.

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

          What sort of hardware is it running on? How is it connected? I wouldn't expect the debug stuff to cause that much throttling.

          1 Reply Last reply Reply Quote 0
          • H
            High_bounce
            last edited by

            intel i3-12100 on an gigabyte motherboard. intel 225i onboard and chelsio t5-520bt in pci-e slot

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

              So plenty powerful enough then!

              Link states are all as expected?

              Try testing locally using iperf. Or use speedtest-cli from pfSense itself. Try to narrow down which NIC(s) are throttling the connection.

              Steve

              1 Reply Last reply Reply Quote 0
              • H
                High_bounce
                last edited by

                link states are as expected i even tried manually setting them to values. the i225 is running at 2.5g and the chelsio is 1g so because the speed is limited to exactly half of 1g i am going to guess its something with the chelsio card. i don't have a second card to drop in and test though. pfblocker seems to be giving me some trouble as well after update. for some reason its taking 1-2 full cores for some tmp log. will have to report that to them

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

                  @high_bounce said in half network speed after upgrading:

                  chelsio 520bt.

                  That's a dual port card? Try testing between those ports if they are both internal subnets.

                  1 Reply Last reply Reply Quote 0
                  • H
                    High_bounce
                    last edited by

                    yes it is a dual port. tried changing to other port same problem

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

                      Right but if you test between the ports using iperf. Or between a client and pfSense running iperf itself that would show if it's the Chelsio.

                      1 Reply Last reply Reply Quote 0
                      • H
                        High_bounce
                        last edited by

                        ran iperf between my main desktop and pfsense and i get 450Mbps from pfsense but 950Mbps to pfsense. if there are other command you would like me to run please post them i haven't messed with iperf outside of speed tests

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

                          Ah, interesting. I'd try swapping the server and client roles so the states are opened the other way and see if that changes anything.
                          Make sure the Chelsio shows multiple Tx and Rx queues in the boot logs when the driver attaches. It could be using 1 CPU core in one direction for some reason. Though with that CPU i should still be OK.

                          1 Reply Last reply Reply Quote 0
                          • H
                            High_bounce
                            last edited by

                            boot log.png

                            the rx/tx cues are off i have turned off hyperthreading on the cpu. that's all i see that are wrong

                            1 Reply Last reply Reply Quote 0
                            • S
                              skogs @High_bounce
                              last edited by

                              @high_bounce perhaps this is old school and things don't work this way anymore but generally the second you actually SET a speed and duplex on one side...the link goes to hell. Because it is no longer auto-negotiating properly, the other side will drop to ultra slow and half duplex.
                              If you set anything at all manually...you need to be hyper vigilant at setting everything manually. ... and most consumer switches and modems aren't even capable of being set manually....so guaranteed failure.

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

                                Yeah 8 queues each way, no problem.

                                You could look at the off-load options that are enabled in: ifconfig -vvvm cxl0

                                1 Reply Last reply Reply Quote 0
                                • H
                                  High_bounce
                                  last edited by

                                  Screenshot 2023-01-25 155210.png

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

                                    Hmm, I'd try disabling TSO4 and LRO as a first step there. Those are both normally disabled by default in Sys > Adv > Networking.

                                    1 Reply Last reply Reply Quote 0
                                    • H
                                      High_bounce
                                      last edited by

                                      both are already checked in the Adv settings. should i try unchecking then rechecking in the UI?

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

                                        Yes, try that. Though that may require you to reboot.

                                        Otherwise you should be able to manually disable them using ifconfig like:

                                        ifconfig cxl0 -tso4
                                        

                                        Unfortunately the syntax there can be confusing and I don't have anything setup right now to check.

                                        1 Reply Last reply Reply Quote 0
                                        • H
                                          High_bounce
                                          last edited by

                                          no changes with the radio buttons or ifconfig. ifconfig gets reset after reboot so maybe needs to be set in a config file

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

                                            Disabling those options using ifconfig doesn't work? Or it doesn't make any difference to throughput?

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