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

Slow upload speeds on HP Z2 G9 PFSense Box

Scheduled Pinned Locked Moved General pfSense Questions
74 Posts 3 Posters 4.2k 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.
  • S
    stephenw10 Netgate Administrator
    last edited by Feb 27, 2025, 6:30 PM

    Yes the NDI will remain unchanged. You could install 24.11 directly again.

    B 1 Reply Last reply Feb 27, 2025, 7:22 PM Reply Quote 0
    • B
      Bear @stephenw10
      last edited by Feb 27, 2025, 7:22 PM

      @stephenw10 said in Slow upload speeds on HP Z2 G9 PFSense Box:

      Yes the NDI will remain unchanged. You could install 24.11 directly again.

      As a control, I ran iperf3 on the 6100 and used my Mac to see what I'd get.

      # iperf3 -c (router IP)  -P 120
      [ ID]   Interval         Transfer     Bitrate         Retr
      [SUM]   0.00-10.00  sec  2.48 GBytes  2.13 Gbits/sec        sender
      [SUM]   0.00-10.02  sec  2.45 GBytes  2.10 Gbits/sec        receiver
      
      # iperf3 -c (router IP)  -P 120 -R
      [ ID]   Interval         Transfer     Bitrate         Retr
      [SUM]   0.00-10.07  sec  3.61 GBytes  3.08 Gbits/sec  29586  sender
      [SUM]   0.00-10.00  sec  3.48 GBytes  2.99 Gbits/sec         receiver
      

      I'm getting better performance through the 6100 than I am hitting it directly.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Feb 27, 2025, 8:49 PM

        Good, that's what I'd expect to see. At those speeds you're probably seeing iperf using 100% of one CPU core. iperf is deliberately single threaded. And pfSense is optimised for routing not serving.

        As a side note using 120 streams is probably counter productive. You usually won't see any increase beyond the available number of NIC queues. So 8 for the ix NICs in the 6100.

        On the i5 one CPU core is capable of far higher iperf values and the remaining cores are capable of pushing it.

        B 1 Reply Last reply Feb 27, 2025, 9:27 PM Reply Quote 0
        • B
          Bear @stephenw10
          last edited by Feb 27, 2025, 9:27 PM

          @stephenw10

          Looks like you're correct. 6100:

          # iperf3 -c (router IP)  -P 8
          [SUM]   0.00-10.00  sec  2.48 GBytes  2.13 Gbits/sec            sender
          [SUM]   0.00-10.03  sec  2.47 GBytes  2.12 Gbits/sec            receiver
          
          # iperf3 -c (router IP)  -P 8 -R
          [ ID]   Interval         Transfer     Bitrate         Retr
          [SUM]   0.00-10.01  sec  3.68 GBytes  3.16 Gbits/sec   14     sender
          [SUM]   0.00-10.00  sec  3.68 GBytes  3.16 Gbits/sec            receiver
          

          I'll try to get i5 numbers in the next day or so. Each core on that is more powerful than the entire Atom CPU, so I'd expect to see higher numbers, unless there's a LAN or bridging issue...hopefully this'll help give us that data.

          S 1 Reply Last reply Feb 27, 2025, 9:46 PM Reply Quote 0
          • S
            stephenw10 Netgate Administrator @Bear
            last edited by Feb 27, 2025, 9:46 PM

            @Bear said in Slow upload speeds on HP Z2 G9 PFSense Box:

            Each core on that is more powerful than the entire Atom CPU

            Ha, yup. So it would be interesting to see what the limiting factor is there. Unknown throttling aside.

            B 1 Reply Last reply Feb 28, 2025, 4:24 AM Reply Quote 0
            • B
              Bear @stephenw10
              last edited by Feb 28, 2025, 4:24 AM

              @stephenw10

              Running with the i5-14500...

              # iperf3 -c (router IP)  -P 8
              [ ID]   Interval         Transfer     Bitrate         Retr
              [SUM]   0.00-10.00  sec  8.71 GBytes  7.48 Gbits/sec        sender
              [SUM]   0.00-10.00  sec  8.70 GBytes  7.47 Gbits/sec        receiver
              
              # iperf3 -c (router IP)  -P 8 -R
              [ ID]   Interval         Transfer     Bitrate         Retr
              [SUM]   0.00-10.01  sec  11.0 GBytes  9.40 Gbits/sec  167    sender
              [SUM]   0.00-10.01  sec  10.9 GBytes  9.39 Gbits/sec            receiver
              

              Bear in mind, the RG is connected to the same NIC that the "LAN" side of the bridge is. Just the second port.

              Any other thoughts/suggestions?

              1 Reply Last reply Reply Quote 0
              • S
                stephenw10 Netgate Administrator
                last edited by Feb 28, 2025, 12:51 PM

                Hmm, well that's what you might expect to see without any issues.

                So it tests OK from a LAN client to pfSense. And Ok from pfSense to a WAN side server. But not from the client to the server dircetly.

                You're going to have to test without the bridge. It's the one part of your setup that's both unusual and known to cause problems.

                B 1 Reply Last reply Feb 28, 2025, 2:47 PM Reply Quote 0
                • B
                  Bear @stephenw10
                  last edited by Feb 28, 2025, 2:47 PM

                  @stephenw10 It’s not testing okay from PFSense to the WAN side. The up speeds are diminished. The up test isn’t long enough to show the speed drop. And even then, it’s still significantly lower.

                  Getting rid of the bridge is a non-starter. I’ve got a complex setup with multiple physical network segments on the same subnet that have rules for accessing each other. It’s the primary reason I’ve been using pfsense since it was Mon0wall. I can’t spent 8+ hours trying to figure out how to make this all work and rewriting firewall rules just for another data point when none of the other data points have yielded any actionable remedial suggestions.

                  The only things I’m left with are maybe my transceiver works on the 6100 but not the X520 for some reason. So I’ll either try another transceiver or try a x710-based copper NIC instead of the SFP+ based one as the 710 supports NBaseT.

                  1 Reply Last reply Reply Quote 0
                  • S
                    stephenw10 Netgate Administrator
                    last edited by Feb 28, 2025, 4:32 PM

                    Well in your earlier tests you were seeing >1Gbps from pfSense to the external server but you said you were still seeing ~400Mbps from a client behind it. Is that not the case?

                    The actual value of the upload from pfSense directly is never accurate, especially it high values. But it's a useful test when it returns above the throughput throttle.

                    Even if you need a bridged setup it would still be useful to run a test without the bridge. If that doesn't show a restriction then there is clearly something in the bridge config causing it. In which case we can dig into that. Though there's not much you can set there,

                    B 1 Reply Last reply Feb 28, 2025, 4:59 PM Reply Quote 0
                    • B
                      Bear @stephenw10
                      last edited by Bear Feb 28, 2025, 4:59 PM Feb 28, 2025, 4:59 PM

                      @stephenw10 I was seeing 1.4Gbit from the client behind it that, over time, tapers down to 450-700Mbit. On the 6100, same setup, seeing 2.2-3.5Gbit steady, depending on time.

                      1 Reply Last reply Reply Quote 0
                      • S
                        stephenw10 Netgate Administrator
                        last edited by Feb 28, 2025, 5:58 PM

                        Well if I was testing that I would still repeat that test with a very basic setup, no bridging.

                        However that seems to imply a WAN side issue so if there are no errors I'd look at the sysctl mactstats for the WAN NIC for anything that is getting exhausted without throwing an actual error.

                        Checking the output of netstat -m during the test might also be interesting.

                        B 1 Reply Last reply Feb 28, 2025, 6:01 PM Reply Quote 0
                        • B
                          Bear @stephenw10
                          last edited by Bear Feb 28, 2025, 6:01 PM Feb 28, 2025, 6:01 PM

                          @stephenw10

                          This is a production network with active users. I can't just "turn off bridging."

                          I'm going to try a different transceiver/chipset to see if that has any impact, and then try a 710-based copper NIC after that to completely avoid using a transceiver if that's not successful.

                          I don't see why the bridge itself which has worked fine on the 6100 would suddenly be the root cause of issues with the i5 system.

                          S 1 Reply Last reply Feb 28, 2025, 6:30 PM Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator @Bear
                            last edited by Feb 28, 2025, 6:30 PM

                            @Bear said in Slow upload speeds on HP Z2 G9 PFSense Box:

                            I don't see why the bridge itself which has worked fine on the 6100 would suddenly be the root cause of issues with the i5 system.

                            Me either. I'm not aware of any specific issue that would present like this. But I've seen many issues with bridged interfaces behaving unexpectedly.

                            Can you connect a local iperf server to a different NIC/interface so you are routing it and test to/from that?

                            B 1 Reply Last reply Feb 28, 2025, 6:40 PM Reply Quote 0
                            • B
                              Bear @stephenw10
                              last edited by Feb 28, 2025, 6:40 PM

                              @stephenw10 Yup - I can try that, though it would be on a different Intel NIC. Same IX driver though. - An X550.

                              I'm not using the X550 for the WAN as it doesn't support multi gig, at least not under FreeBSD from what I gather. The X710 should. More data tomorrow. :)

                              1 Reply Last reply Reply Quote 0
                              • S
                                stephenw10 Netgate Administrator
                                last edited by Feb 28, 2025, 7:07 PM

                                The X550-T does support 2.5 and 5G. It's one of the few NICs that does. But I assume you have the SFP varient? If you module works in the X710 and X553 I would expect it to work there too.

                                But it should also be a good for a local test at 10G.

                                B 1 Reply Last reply Feb 28, 2025, 9:15 PM Reply Quote 0
                                • B
                                  Bear @stephenw10
                                  last edited by Feb 28, 2025, 9:15 PM

                                  @stephenw10 My X550-T2 is only connecting at 1Gbit when I plug it into my RG.

                                  HOWEVER, when I do use a port on the X550-T2 that's part of the bridge, connected to WAN, I floor my 1Gbit connection on both up and down speeds.

                                  Is there anything I need to do in order to enable NBaseT mode on the X550-T2?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    stephenw10 Netgate Administrator
                                    last edited by Feb 28, 2025, 10:01 PM

                                    You might need to set a fixed speed. Or set the advertised rates for auto-negotiation to 5G on using the sysctl:

                                    [admin@8200-2.stevew.lan]/root: sysctl -d dev.ix.0.advertise_speed
                                    dev.ix.0.advertise_speed: 
                                    Control advertised link speed using these flags:
                                    	0x1 - advertise 100M
                                    	0x2 - advertise 1G
                                    	0x4 - advertise 10G
                                    	0x8 - advertise 10M
                                    
                                    	0x10  - advertise 2.5G
                                    	0x20  - advertise 5G
                                    
                                    	100M and 10M are only supported on certain adapters.
                                    

                                    It's possible it has an old firmware.

                                    I would expect it to link at a higher rate if the connected device advertises it.

                                    B 1 Reply Last reply Feb 28, 2025, 10:17 PM Reply Quote 0
                                    • B
                                      Bear @stephenw10
                                      last edited by Bear Feb 28, 2025, 10:27 PM Feb 28, 2025, 10:17 PM

                                      @stephenw10

                                      Great News!

                                      I added a system tunable

                                      8d242a21-ec07-4ad8-8c64-7a36d3f5aad5-image.png

                                      Using a port on the X550.

                                      After applying, I got a physical 5Gbit Link to my BGW320.

                                      Now, running speed tests, I'm doing better than I ever have:

                                      b2759459-2633-404b-88e9-fe9f4d4e4b21-image.png

                                      So it appears that there's something going on with the FS Transceiver. I did try a 10GTek, and while the up-speeds were better, they were nowhere near what I'm getting presently.

                                      So, I'm concluding that these transceivers can be iffy, at least with a BG320.

                                      I think the most sane thing to do now, since I need 4 ports on this bridge, would be to install a second X550T2 into my PFSense Box and replace the X520, since this seems to be working.

                                      Can I get you the new Netgate ID after I do that switcheroo to make sure I keep my registration?

                                      I'm glad it ended up not being a filtered bridge thing, and was just strange transceiver behavior.

                                      1 Reply Last reply Reply Quote 1
                                      • S
                                        stephenw10 Netgate Administrator
                                        last edited by stephenw10 Feb 28, 2025, 10:58 PM Feb 28, 2025, 10:57 PM

                                        Wow, nice result!

                                        I guess the X550 just wasn't advertising 5G as a link option previously?

                                        Yeah, transceivers an be odd. But usually they fail in the 6100 because the X553 is missing the data lines to read the link speed. Here that appears to have actually helped. 😕

                                        Yes, let me know when you have the final NICs in place and we can fix you up.

                                        B 1 Reply Last reply Feb 28, 2025, 11:22 PM Reply Quote 0
                                        • B
                                          Bear @stephenw10
                                          last edited by Feb 28, 2025, 11:22 PM

                                          @stephenw10 said in Slow upload speeds on HP Z2 G9 PFSense Box:

                                          Wow, nice result!

                                          I guess the X550 just wasn't advertising 5G as a link option previously?

                                          No, it wasn't. I tried running Intel's Firmware Update utility, v.3.70, and it said that there was nothing to update. After adding the system tunable, though, it connected just fine. I've verified it persists through reboots.

                                          Yeah, transceivers an be odd. But usually they fail in the 6100 because the X553 is missing the data lines to read the link speed. Here that appears to have actually helped. 😕

                                          That's what's strange. I suppose I'd recommend an FS transceiver for the 6100, but only the 6100. As the FS Transceiver was crap otherwise.

                                          Yes, let me know when you have the final NICs in place and we can fix you up.

                                          Will do - I'll get it to you Sunday - Likely going to down everything and do the swap and reconfigure then.

                                          Thanks for helping walk me through this - It was EXCEPTIONALLY frustrating, expecially for a system that's this..overbuilt. It should have enough power to run a high speed filtered bridge + Suricata + OVPN :)

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