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

    Throughput problems on 4100

    Official Netgate® Hardware
    7
    28
    3.3k
    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.
    • A
      ahxcjay @SteveITS
      last edited by ahxcjay

      @steveits I meant the crypto. But that's irrelevant if you're not going through the VPN. (I > was looking for, on the dashboard in the CPU Type section what are the "Crypto" entries?

      QAT Crypto: Yes (active)
      Hardware crypto AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS,SHA1,SHA256,SHA384,SHA512

      The config settings are under System/Advanced/Miscellaneous.)

      What settings should I post from here..?

      Speed/duplex correct?

      Yes. 1000, no issues.

      Change patch cables?

      Tried that, and remember, all I need to do is literally swap out the cables to the ER-4 (wan and to my Switch) and the upload speeds to GDrive / YT is in line with expectations.

      Small switch between the 4100 and ISP router?

      Nope. Direct into patch panel.

      It may seem weird but those things come up on the forum reasonably often.

      I understand, but isn't this issue beyond ridiculous? Why is pfSense failing on this? My mate told me to avoid pfSense at all costs and I ignored him (he recommend an SRX).

      Does it change if you disable the traffic monitoring?

      vnstat? Tried disabling that also; makes zero difference.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @ahxcjay
        last edited by

        @ahxcjay said in Why is the 4100 performance such trash?:

        Nope. Direct into patch panel.

        I'm writing too fast. :) I meant add a switch. But that doesn't make sense if multiple streams are 2x fast because it's not being throttled at that network level.

        re: System/Advanced/Miscellaneous, the crypto setting, but never mind, it's not relevant.

        One thing you could try is to back up your config, set to factory defaults, and reproduce that way. If it's fast, it's a config issue. Worst case restore your config to get back to where you are now. And can restore parts of the config to test.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        A 1 Reply Last reply Reply Quote 0
        • A
          ahxcjay @SteveITS
          last edited by

          @steveits ..that's one for the weekend.. ;)

          All other (single threaded) web upload activities suffer this issue. Dropbox, iCloud..etc. Once I do something multi-threaded, performance is completely fine.

          To @keyser - where is your gigabit connection with a 4100 against a single threaded upload via a web browser? I'm all eyes...

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

            What interfaces are you using on the 4100?

            Try connecting to command line and running top -HaSP whilst you're uploading.

            Is either core hitting 100% load?

            What loading from processes is there?

            Steve

            A 1 Reply Last reply Reply Quote 0
            • A
              ahxcjay @stephenw10
              last edited by ahxcjay

              @stephenw10

              What interfaces are you using on the 4100?

              WAN1 & LAN4.

              Try connecting to command line and running top -HaSP whilst you're
              uploading.

              ..did that earlier and noticed nothing. Let me try again.

              b6948382-988d-4e77-84bb-9bd02235a408-image.png

              Is either core hitting 100% load?

              Barely under any load..

              What loading from processes is there?

              Hardly anything. See screenshot.

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

                Hmm, that really is almost nothing.

                I wonder if there's a flow-control issue there.

                I assume WAN and LAN are linked at 1G?

                As a test try reassigning the interfaces so both WAN and LAN are using the ix NICs or both using the igc NICs.

                When you're testing that is the throughput constant or very 'peaky'?

                Steve

                A 1 Reply Last reply Reply Quote 0
                • A
                  ahxcjay @stephenw10
                  last edited by ahxcjay

                  @stephenw10 said in Why is the 4100 performance such trash?:

                  Hmm, that really is almost nothing.

                  I wonder if there's a flow-control issue there.

                  ..I would love to know what it is.. :)

                  I assume WAN and LAN are linked at 1G?

                  Yep. All good there.

                  As a test try reassigning the interfaces so both WAN and LAN are using the ix NICs or both using the igc NICs.

                  Let me go and do that now. I'll use the 'igc' NICs.

                  When you're testing that is the throughput constant or very 'peaky'?

                  Pretty constant I would say...

                  66eebf2d-e1f7-4700-a100-e772d26223e2-image.png

                  1 Reply Last reply Reply Quote 0
                  • A
                    ahxcjay
                    last edited by ahxcjay

                    O M G

                    IT FIXED IT !

                    bcddd7ba-1be3-4fb9-93b9-a8a37e2470f6-image.png

                    ..this is a bug, right?

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

                      @ahxcjay said in Why is the 4100 performance such trash?:

                      To @keyser - where is your gigabit connection with a 4100 against a single threaded upload via a web browser? I'm all eyes...

                      Sorry I cannot complete the test for you right now, as I only have SG-4100s at customer sites. My own boxes are SG-2100/SG-6100.
                      But i distinctly remember doing a single stream test and still seeing a 9xxMbps number on a QinQ line that will do about 940Mbps @ 100%.

                      I’m happy Steve found the issue (VERY likely flow control), and that’s exactly my point with my first post. People in here are very very helpfull and know A LOT about these boxes, potential issues and what not.
                      We alle want to help, but it’s not very motivating when posts like yours just flame the product by stating that the specs and performance of these boxes are invented ficticious numbers from netgate.

                      The problem is that google searches from people also finds this post, and some people only read headlines….

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

                      A 1 Reply Last reply Reply Quote 1
                      • bingo600B
                        bingo600 @ahxcjay
                        last edited by

                        @ahxcjay said in Why is the 4100 performance such trash?:

                        O M G

                        IT FIXED IT !

                        bcddd7ba-1be3-4fb9-93b9-a8a37e2470f6-image.png

                        ..this is a bug, right?

                        I have read this two times now ....
                        What fixed it ????

                        Factory reset or ????

                        If you find my answer useful - Please give the post a 👍 - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @bingo600
                          last edited by

                          @bingo600 said in Why is the 4100 performance such trash?:

                          I have read this two times now ....
                          What fixed it ????

                          Me 3 times.
                          And I have a 4100 in front of my.
                          I've 4 igc0-1-2-3 interfaces, an ix2 and an ix3. The latter two are combo ports :
                          See here.

                          I presume the fix was : use WAN on igc0 and all the LANs on igc1, 2 and 3 - not using ix2 and ix3.

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

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

                            Yeah, I read that as using igc as WAN fixed it. In which case it's probably linking differently than ix to whatever is upstream. Potentially with or without flow-control.
                            You'd have to check the ifconfig output from each to know more.

                            Steve

                            A 1 Reply Last reply Reply Quote 1
                            • A
                              ahxcjay @stephenw10
                              last edited by

                              @stephenw10 igc as WAN fixed it. What would cause this behaviour..?

                              stephenw10S 1 Reply Last reply Reply Quote 0
                              • A
                                ahxcjay @Gertjan
                                last edited by

                                @gertjan correct. Once I removed ix from the ports used my line is at full speed on all uploads again! Amazing.

                                Thank you everyone!

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

                                  @ahxcjay said in Throughput problems on 4100:

                                  What would cause this behaviour..?

                                  I would think it must be something in the link negotiation there. I would check the ifconfig -vv output for each NIC to start with. It 'feels' like a flow control issue. You would see 'rxpause, txpause' in that output. It can be disabled (or enabled) on ix if it is that.

                                  Steve

                                  A GertjanG 2 Replies Last reply Reply Quote 1
                                  • A
                                    ahxcjay @stephenw10
                                    last edited by

                                    @stephenw10 great info. Thank you! I am so happy this is fixed as I love the product.

                                    1 Reply Last reply Reply Quote 1
                                    • GertjanG
                                      Gertjan @stephenw10
                                      last edited by

                                      @stephenw10 said in Throughput problems on 4100:

                                      I would think it must be something in the link negotiation there. I would check the ifconfig -vv output for each NIC to start with. It 'feels' like a flow control issue. You would see 'rxpause, txpause' in that output. It can be disabled (or enabled) on ix if it is that.

                                      For the one and only 'ix' I use as a WAN to my 1Gbits/sec ISP router, I see :

                                      ix3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
                                              description: WAN
                                              options=e138bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,RXCSUM_IPV6,TXCSUM_IPV6>
                                              ether 90:ec:77:xx:39:2a
                                              inet6 fe80::92ec:77ff:fe29:392a%ix3 prefixlen 64 scopeid 0x8
                                              inet 192.168.10.5 netmask 0xffffff00 broadcast 192.168.10.255
                                              media: Ethernet autoselect (1000baseT <full-duplex,rxpause,txpause>)
                                              status: active
                                              nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
                                      

                                      In short :

                                      media: Ethernet autoselect (1000baseT <full-duplex,rxpause,txpause>)
                                      

                                      for the port that is in use.

                                      This is normal / not normal ?
                                      Btw : I don't mind for now, as I have 23 Mbits/sec down and 2 Mbits/sec up for now.
                                      Gbit fibre is coming at the end of the month.

                                      No "help me" PM's please. Use the forum, the community will thank you.
                                      Edit : and where are the logs ??

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        ahxcjay @keyser
                                        last edited by ahxcjay

                                        @keyser said in Throughput problems on 4100:

                                        We alle want to help, but it’s not very motivating when posts like yours just flame the product

                                        Fair point, and I apologise. I was just so frustrated that I really really like the product, yet the upload speeds were killing my enjoyment of it. I asked the mods to change $subject to something more appropriate.

                                        The problem is that google searches from people also finds this post, and some people only read headlines….

                                        Understand, and that was in my thinking also, hence the request to change the $subject.

                                        keyserK 1 Reply Last reply Reply Quote 6
                                        • keyserK
                                          keyser Rebel Alliance @ahxcjay
                                          last edited by

                                          @ahxcjay said in Throughput problems on 4100:

                                          @keyser said in Throughput problems on 4100:

                                          We alle want to help, but it’s not very motivating when posts like yours just flame the product

                                          Fair point, and I apologise. I was just so frustrated that I really really like the produt, yet the upload speeds were killing my enjoyment of it. I asked the mods to change $subject to something more appropriate.

                                          The problem is that google searches from people also finds this post, and some people only read headlines….

                                          Understand, and that was in my thinking also, hence the request to change the $subject.

                                          This post on the other hand, just earns the full respect of all of us🙏

                                          We can all make mistakes, especially when frustrated - but it takes a real man to own up to it, acknowledge a mistake was made and apologise.
                                          If only all people showed this kind of respect instead of fleeing the “crime scene”, the Internet would be SO much a better place.

                                          Thank you for responding and kudos to you👍

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

                                          1 Reply Last reply Reply Quote 4
                                          • S selfjc referenced this topic on
                                          • S selfjc referenced this topic on
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.