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

    600MB down to 10MB Performance Issue

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 5 Posters 2.6k 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
      Supermule Banned
      last edited by

      Have you checked for eny interface speed mismatch settings??

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

        Yes.  Both interfaces are 1G / FD.  I thought of that but what is interesting is when I run a iperf test between a client and the server I get great throughput.

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

          My first check with that level of throttling would be an interface mismatch too. Check the Status: Interfaces: page for errors or collisions.

          Read this: https://doc.pfsense.org/index.php/Low_Throughput_Troubleshooting

          You're seeing good bandwidth bewteen a client and the LAN interface so the throttling is presumed to be on the LAN side. You can check that by running a download test on the firewall itself though. At the command line:

          fetch -o /dev/null http://cachefly.cachefly.net/10mb.test
          

          You have listed everything in Bytes (B) but I assume some of that is bits (b). That can confuse matters, a lot!  ;)

          Steve

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

            Thanks for the reply.  I thought about the interface mismatch as well and have checked that.  Both are good:

            WAN interface (bce0):
            Media 1000baseT <full-duplex,flowcontrol,rxpause,txpause>In/out packets 25154099/13742928 (29.89 GB/2.68 GB)
            In/out packets (pass) 25154099/13742928 (29.89 GB/2.68 GB)
            In/out packets (block) 44073/479 (4.46 MB/55 KB)
            In/out errors 0/0
            Collisions 0

            LAN interface (bce1):
            Media 1000baseT <full-duplex,flowcontrol,master,rxpause,txpause>In/out packets 12789344/24380268 (2.35 GB/29.48 GB)
            In/out packets (pass) 12789344/24380268 (2.35 GB/29.48 GB)
            In/out packets (block) 19664/2 (2.13 MB/152 bytes)
            In/out errors 0/0
            Collisions 0

            I ran the download on the firewall and the result was 1246 kBps.  If I convert that right I am at 9.734375 Mbps.

            Sorry about the B vs b, you are right big difference.  I have been going through the troubleshooting & tuning document.  Unfortunately I cant reboot at the moment so I will have to wait and see.

            I have confirmed I dont have any traffic shaping on.  One thing I have noticed is the issue only seems to be on incoming traffic.  The line is 100 Mbps down and 20 Mbps up.  I can hit the upstream limit every time, the downstream is only getting ~ 10-13 Mbps.</full-duplex,flowcontrol,master,rxpause,txpause></full-duplex,flowcontrol,rxpause,txpause>

            1 Reply Last reply Reply Quote 0
            • S
              Supermule Banned
              last edited by

              Can you set it to 1000 Auto on both ends and no flowcontrol and rx/tx off??

              And try again….

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

                Ok, I set both sides to:

                1000baseT <full-duplex>and set the switch to the same.  No change in the result.</full-duplex>

                1 Reply Last reply Reply Quote 0
                • S
                  Supermule Banned
                  last edited by

                  Can you set it to full auto pls. On all 3 attached NIC's :)

                  1 Reply Last reply Reply Quote 0
                  • bmeeksB
                    bmeeks
                    last edited by

                    @Supermule:

                    Can you set it to full auto pls. On all 3 attached NIC's :)

                    Try what Supermule suggested – "auto" instead of hard-coding the duplex.  1000BaseT links expect the duplex settings to be "auto".  It wants to auto-negotiate with the endpoint.  If you hard-code, one side can silently fall back to half-duplex on you.

                    Bill

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

                      What do you have upstream of the WAN interface? Some sort of Comcast CPE box I assume. Do you have access to it? Is it showing any errors?

                      That download result from cachefly is really only valid if you prove you can download the test file far faster with a direct connection. Though 10Mbps is about what you're seeing at the clients.  ;)

                      Steve

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

                        Thanks for the suggestion.  I have tried every mode on the NICs with no change in the results (it is a dual port NIC).  I have also been playing with the advanced network setting and trying different combinations.  I am really beginning to believe this is probably related to the NIC driver itself based on some more research I have been doing.  I have spent so much time on this I am about to just pull the trigger and buy one preconfigured from pfSense so I know it works and has support.  I usually dont want to give up and want to find the answer but I am spending way too much time on this and its taking away from my other projects.  Any downside to the preconfigured pfSense boxes you are aware of?

                        1 Reply Last reply Reply Quote 0
                        • S
                          Supermule Banned
                          last edited by

                          Pretty sure its a Broadcom chip. Try use dual or quad port INtel's.

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