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

    Gigabit Throughput

    Scheduled Pinned Locked Moved General pfSense Questions
    29 Posts 11 Posters 4.1k 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.
    • JKnottJ
      JKnott
      last edited by

      @netblues said in Gigabit Throughput:

      Could it be mtu?

      Normally, you get the best results with the largest MTU. That's usually 1500, but would be 1492 on ADSL.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      N 1 Reply Last reply Reply Quote 0
      • N
        netblues @JKnott
        last edited by

        @jknott That is competely true, however you get very bad results if mtu is needed to be less and fragmentation doesn;t work. I doubt its an mtu issue, however the speed differences via pfsense is huge, and is difficult to believe its the network card unless it is faulty.
        A tp link ethernet might not be an intel igb, but still.

        1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott
          last edited by

          @netblues said in Gigabit Throughput:

          That is competely true, however you get very bad results if mtu is needed to be less and fragmentation doesn;t work.

          If that's the case, you should see ICMP "too big" messages. Fragmentation doesn't happen as often as it used to, as it's not allowed on IPv6 and the do not fragment flag is often used on IPv4. With Linux, that flag is set on everything, but only TCP on Windows.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          1 Reply Last reply Reply Quote 0
          • T
            TheQuank
            last edited by

            Howdy all! Sorry I'm a bit behind. The WAN card was only PCI so I swapped it out with a new PCIx one. So here's what I have now:

            em0 00:0f:fe:c7:5e:bc (up) Intel(R) PRO/1000 Network Connection 7.6.1-k
            re0 18:a6:f7:01:1e:d0 (up) RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigab

            Here is iperf3 from the pfSense box cmd line with the new PCIx card:

            root: iperf3 -c iperf.scottlinux.com -p 5201
            Connecting to host iperf.scottlinux.com, port 5201
            [ 5] local 68.102.220.240 port 7956 connected to 45.33.39.39 port 5201
            [ ID] Interval Transfer Bitrate Retr Cwnd
            [ 5] 0.00-1.01 sec 5.23 MBytes 43.6 Mbits/sec 1 1.41 KBytes
            [ 5] 1.01-2.00 sec 2.02 MBytes 17.0 Mbits/sec 1397 546 KBytes
            [ 5] 2.00-3.00 sec 324 KBytes 2.65 Mbits/sec 45 2.85 KBytes
            [ 5] 3.00-4.00 sec 912 KBytes 7.49 Mbits/sec 19 272 KBytes
            [ 5] 4.00-5.00 sec 3.93 MBytes 33.0 Mbits/sec 0 288 KBytes
            [ 5] 5.00-6.00 sec 4.16 MBytes 34.9 Mbits/sec 0 304 KBytes
            [ 5] 6.00-7.00 sec 3.04 MBytes 25.5 Mbits/sec 14 157 KBytes
            [ 5] 7.00-8.00 sec 2.35 MBytes 19.7 Mbits/sec 0 174 KBytes
            [ 5] 8.00-9.00 sec 2.65 MBytes 22.2 Mbits/sec 0 190 KBytes
            [ 5] 9.00-10.00 sec 2.82 MBytes 23.6 Mbits/sec 0 206 KBytes


            [ ID] Interval Transfer Bitrate Retr
            [ 5] 0.00-10.00 sec 27.4 MBytes 23.0 Mbits/sec 1476 sender
            [ 5] 0.00-10.24 sec 25.5 MBytes 20.9 Mbits/sec receiver

            iperf Done.

            I've not tried flipping the interfaces and trying with the Intel card yet.

            Here is iperf3 from my desktop:

            iperf-3.1.3-win64>iperf3.exe -c iperf.scottlinux.com -p 5201
            Connecting to host iperf.scottlinux.com, port 5201
            [ 4] local 192.168.5.121 port 63682 connected to 45.33.39.39 port 5201
            [ ID] Interval Transfer Bandwidth
            [ 4] 0.00-1.00 sec 2.12 MBytes 17.8 Mbits/sec
            [ 4] 1.00-2.00 sec 3.00 MBytes 25.1 Mbits/sec
            [ 4] 2.00-3.00 sec 3.00 MBytes 25.2 Mbits/sec
            [ 4] 3.00-4.00 sec 3.00 MBytes 25.2 Mbits/sec
            [ 4] 4.00-5.00 sec 2.88 MBytes 24.1 Mbits/sec
            [ 4] 5.00-6.00 sec 3.00 MBytes 25.1 Mbits/sec
            [ 4] 6.00-7.00 sec 2.88 MBytes 24.1 Mbits/sec
            [ 4] 7.00-8.00 sec 2.75 MBytes 23.1 Mbits/sec
            [ 4] 8.00-9.00 sec 3.12 MBytes 26.2 Mbits/sec
            [ 4] 9.00-10.00 sec 3.00 MBytes 25.2 Mbits/sec


            [ ID] Interval Transfer Bandwidth
            [ 4] 0.00-10.00 sec 28.8 MBytes 24.1 Mbits/sec sender
            [ 4] 0.00-10.00 sec 28.6 MBytes 24.0 Mbits/sec receiver

            iperf Done.

            Here is my connection from my desktop to the pfSense box:

            iperf3.exe -c 192.168.5.1 -p 5201
            Connecting to host 192.168.5.1, port 5201
            [ 4] local 192.168.5.121 port 63707 connected to 192.168.5.1 port 5201
            [ ID] Interval Transfer Bandwidth
            [ 4] 0.00-1.00 sec 105 MBytes 882 Mbits/sec
            [ 4] 1.00-2.00 sec 111 MBytes 931 Mbits/sec
            [ 4] 2.00-3.00 sec 108 MBytes 910 Mbits/sec
            [ 4] 3.00-4.00 sec 110 MBytes 924 Mbits/sec
            [ 4] 4.00-5.00 sec 111 MBytes 932 Mbits/sec
            [ 4] 5.00-6.00 sec 107 MBytes 896 Mbits/sec
            [ 4] 6.00-7.00 sec 112 MBytes 936 Mbits/sec
            [ 4] 7.00-8.00 sec 111 MBytes 932 Mbits/sec
            [ 4] 8.00-9.00 sec 111 MBytes 932 Mbits/sec
            [ 4] 9.00-10.00 sec 75.5 MBytes 633 Mbits/sec


            [ ID] Interval Transfer Bandwidth
            [ 4] 0.00-10.00 sec 1.04 GBytes 891 Mbits/sec sender
            [ 4] 0.00-10.00 sec 1.04 GBytes 891 Mbits/sec receiver

            iperf Done.

            Where should I look next?

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

              You have a lot of retries on that first test. Try in the reverse direction. You probably don't need to specify the port, 5201 is the default:
              iperf3 -c iperf.scottlinux.com -R

              Run a test to that server from a client connected directly to the modem without pfSense in play. Make sure you can get a reasonable rate to that server over your WAN at all.

              Steve

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by johnpoz

                testing out to the internet for iperf not really going to be a valid test... Test from your lan to your wan network.. Put a box on your wan and a box on your lan and run iperf between them..

                Once you go out to the internet you have to many variables to rule out just something on net is problem.. Rule out your local hardware first. By testing local!!

                C:\tools\iperf3.6_64bit>iperf3.exe -c iperf.scottlinux.com -p 5201
                Connecting to host iperf.scottlinux.com, port 5201
                [  5] local 2001:470:<snipped>:7157:1522 port 54061 connected to 2600:3c01::f03c:91ff:fed5:ed33 port 5201
                [ ID] Interval           Transfer     Bitrate
                [  5]   0.00-1.00   sec  1.50 MBytes  12.6 Mbits/sec
                [  5]   1.00-2.00   sec  3.25 MBytes  27.2 Mbits/sec
                [  5]   2.00-3.00   sec  2.50 MBytes  21.0 Mbits/sec
                [  5]   3.00-4.00   sec  2.25 MBytes  18.9 Mbits/sec
                [  5]   4.00-5.00   sec  2.12 MBytes  17.8 Mbits/sec
                [  5]   5.00-6.00   sec  1.25 MBytes  10.5 Mbits/sec
                [  5]   6.00-7.00   sec   640 KBytes  5.24 Mbits/sec
                [  5]   7.00-8.00   sec   896 KBytes  7.34 Mbits/sec
                [  5]   8.00-9.00   sec   896 KBytes  7.34 Mbits/sec
                [  5]   9.00-10.00  sec  1.25 MBytes  10.5 Mbits/sec
                - - - - - - - - - - - - - - - - - - - - - - - - -
                [ ID] Interval           Transfer     Bitrate
                [  5]   0.00-10.00  sec  16.5 MBytes  13.8 Mbits/sec                  sender
                [  5]   0.00-10.09  sec  15.7 MBytes  13.0 Mbits/sec                  receiver
                
                iperf Done.
                
                C:\tools\iperf3.6_64bit>
                

                Just connected to that scott site you used and the speed was utter crap!!! but I know for a fact my hardware and internet connection are fine.. I see my full pipe all the time downloading and uploading.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by

                  see my edit... Put a box on your wan network of pfsense and do your testing...

                  As you can see from that edit - that site is not very reliable for what your speed is or should be..

                  Here just started download of file from one of my servers in the NL... I have a 500mbps connection seeing 53MBps down... My connection is fine - but that scott iperf showing junk..

                  0_1544626409419_speed.png

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                  1 Reply Last reply Reply Quote 0
                  • B
                    barosso
                    last edited by barosso

                    Depend of your location you should try nearest public iperf3 server.
                    Choose it here: https://iperf.cc
                    And try to check your bandwidth again.

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

                      Yes, there are lots of public iperf servers you could use. The one you tested against does not appear to be particularly fast, at least not from where you are.

                      But the best test you can do is to run your own server locally on the WAN side.

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • R
                        rm-rf
                        last edited by

                        My setup uses a nearly identical Core 2 Due E8500 CPU and I can reliably achieve 900Mbps+ throughput. The network cards make a difference. Also your PC should be fast. I have an older system based on Xeon W3550, and it never gets more than 600Mbps from Internet, testing with iperf or doing an ISP speed test.

                        1 Reply Last reply Reply Quote 0
                        • T
                          TheQuank
                          last edited by

                          Howdy all! So I did purchase a PCIe Intel NIC, but don't see a significant change. What is the best way to test the WAN port with iperf? Is a windows laptop ok?

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

                            It's probably fine.

                            Before you test the firewall throughput put both the iperf3 server and client machines on the same subnet and test between them directly. Make sure you can see gigabit line rate in both directions.

                            Then move the server machine into the WAN subet and test against it with the client on the LAN.

                            If you don't see >900Mbps both ways then look for errors on the interfaces. Try running top -aSH on the firewall during the test to see the cpu core loading. Be sure not to have the dashboard up in a browser as that can use significant CPU cycles depending on what widgets you have loaded.

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • K
                              Kartoff
                              last edited by

                              This is my test :

                              0_1545093184825_3Gbit iPerf.PNG

                              I run pfSense on Cisco UCS C210 M2 with 2x X5650 CPU and BroadCom QLogic dual port 10G NIC... Maximum load I registered was 11%...
                              I am pretty sure this result is caused by a speed limitations between me and server instead of my pfSense box... After a few day I will have second 10G line from separate ISP and then I can test again... This machine was released in 2010 so almost 9 years old but works pretty well and I am happy with it ;)

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