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

    SG-1100 Throughput Test

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    51 Posts 8 Posters 24.7k 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.
    • GrimsonG
      Grimson Banned
      last edited by

      @JInx-IT
      Connect one device to WAN, and run iperf in server mode on it. Connect one device to LAN and let it run an iperf test to the server you just setup on the WAN device.

      Also make sure there are no limiters/traffic shaping configured, especially if you restored a config backup from a previous device. Make sure you are not testing over a VPN connection, that will reduce throughput considerably.

      Also if your Internet connection is using PPPoE that might be a limiting factor too.

      1 Reply Last reply Reply Quote 0
      • J
        JInx-IT
        last edited by

        @hbauer said in SG-1100 Throughput Test:

        iperf3

        I'll look into iperf again. I skimmed over it and moved on because the closest servers it listed were on the other side of the country from me. I didn't see, or think of, an option to create your own test server on the WAN. I'll probably set that up tomorrow. I wasn't able to restore from backup to the sg-1100, so that's not a factor and I'm not using a VPN or PPPoE for any of this. I'll post my results after I get everything set up and run it both ways.

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

          so did you test this? What were your results... I maintain a windows copy I compile myself for iperf3 if you want the latest and greatest version 3.6

          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
          • T
            testgate
            last edited by

            I understand some time has passed on this thread, but I also see the slower speeds mentioned for this firewall.

            Using iperf3 client-to-server through a cheap 1G switch I consistently get about 930 Mbits/sec. Using the same cables, client, and server through the SG-1100 LAN-to-WAN I consistently get about 445 Mbits/sec. The results are slightly slower if I use the built-in iperf3 package within pfSense as the server with the client on the LAN link. The netgate is running 2.4.4_3.

            To specify the lab: a laptop is configured with a static IP in the WAN IP scope, is directly attached to the WAN port with a Cat6 cable, and listens with iperf3 as server. A laptop is configured via DHCP in the LAN IP scope, is attached to the LAN port with a Cat6 cable, and runs iperf3 as a client. Outside (WAN) laptop command is “iperf3 -p 5001 -s”. Inside (LAN) laptop command is “iperf3 -p 5001 -c <static IP of the WAN connected laptop>”.

            This is a fresh install of pfSense with no special sauce. The LAN→WAN firewall rule is an IPv4* any any.

            Now the really crazy part happens when I run the netgate built-in iperf3 package as a client. Running the same laptop as server on the LAN link, the netgate consistently gets about 865 Mbits/sec! Reverse this with the built-in iperf3 as server and the same laptop as client on the LAN link, back to mid 445 Mbits/sec. Huh?!?

            T 1 Reply Last reply Reply Quote 0
            • T
              testgate @testgate
              last edited by

              @testgate said in SG-1100 Throughput Test:

              I understand some time has passed on this thread, but I also see the slower speeds mentioned for this firewall.

              Using iperf3 client-to-server through a cheap 1G switch I consistently get about 930 Mbits/sec. Using the same cables, client, and server through the SG-1100 LAN-to-WAN I consistently get about 445 Mbits/sec. The results are slightly slower if I use the built-in iperf3 package within pfSense as the server with the client on the LAN link. The netgate is running 2.4.4_3.

              To specify the lab: a laptop is configured with a static IP in the WAN IP scope, is directly attached to the WAN port with a Cat6 cable, and listens with iperf3 as server. A laptop is configured via DHCP in the LAN IP scope, is attached to the LAN port with a Cat6 cable, and runs iperf3 as a client. Outside (WAN) laptop command is “iperf3 -p 5001 -s”. Inside (LAN) laptop command is “iperf3 -p 5001 -c <static IP of the WAN connected laptop>”.

              This is a fresh install of pfSense with no special sauce. The LAN→WAN firewall rule is an IPv4* any any.

              Now the really crazy part happens when I run the netgate built-in iperf3 package as a client. Running the same laptop as server on the LAN link, the netgate consistently gets about 865 Mbits/sec! Reverse this with the built-in iperf3 as server and the same laptop as client on the LAN link, back to mid 445 Mbits/sec. Huh?!?

              netgate-iperf3-results.png

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

                Hmm, what happens if you keep the server on the SG-1100 but run the client with the reverse option -R?

                Or run the client on the SG-1100 with reverse?

                The default in iperf is to have the client send traffic to the server (which always seemed an odd decision to me!). So in that test you are seeing nearly 900Mbps when it's sending but less than half that when it's receiving.

                Running either client with -R reverses the traffic but keeps the states opening the same way. So swapping it determines if it's the way the firewall opens states or the traffic direction.

                Steve

                T 1 Reply Last reply Reply Quote 0
                • T
                  testgate @stephenw10
                  last edited by

                  @stephenw10

                  Thanks for your reply. Funny timing, I found that switch a few hours ago! Same results. It simply seems that the connection speed is asynchronous. The below is viewed from over the console cable to the SG-1100. The other testing device is a laptop connected to the LAN port. The text wrapped, but the second command had the -R.

                  I did a full factory reset earlier and had similar results.

                  Also of potential interest, I setup different scopes on LAN and OPT and tested across them as well as to/from WAN. Tests involving WAN from either LAN or OPT have the same asynchronous results. Tests between OPT and LAN were synchronous, but always below 500 Mbits/sec.

                  The only other thing I noticed strange is that it seems the netgate is tagging outbound packets with TOS 7. You can even see this activity with simply ping responses from the netgate. Strange.

                  I really wouldn’t ordinarily notice or care much, but this installation is going into a FIOS delivered service very close to 1Gbps. So the SG-1100 throughput will matter.

                  In the below capture, the laptop connected directly to LAN was running "iperf -p 5001 -s".

                  async-view.png

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

                    Hmm, so still slower receiving.

                    You might try disabling pf entirely (pfctl -d) and testing between LAN and OPT. You should see close to line rate under those conditions unless there is some thing very wrong in the setup.

                    I will say though that your unlikely to see much over 500Mbps from WAN to LAN, even after tuning, with firewalling and NAT in place. If you need close to 1Gbps you should upgrade to the SG-3100.

                    Steve

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

                      @testgate said in SG-1100 Throughput Test:

                      tagging outbound packets with TOS 7

                      Where you seeing that - I just looked, and no that is not happening..

                      Please post your sniff showing that.

                      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

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        testgate @stephenw10
                        last edited by

                        @stephenw10 Thanks again. Here goes:

                        Followed the below process for LAN<->WAN test:

                        Reset SG-1100 to factory default via console cable. Set interface(s) IP address via console WAN (mvneta0.4090) IP 10.10.10.1/24, LAN (mvnet0.4091) left default IP – 192.168.1.1 and default DHCP scope. Connected laptop1 to LAN, logged into Web GUI, completed the wizard leaving all defaults, but set new admin password. Laptop2 connected to WAN and set IP 10.10.10.150/24.

                        On laptop2, ran command “iperf3 -p 5001 -s”
                        On laptop1, ran command “iperf3 -p 5001 -c 10.10.10.150”
                        On laptop1, ran command “iperf3 -p 5001 -c 10.10.10.150 -R”
                        Result screen capture below:

                        LAN-WAN share.png

                        Followed the below process for LAN<-> OPT test:

                        Executed “pfctl -d” command as root via console. Configured OPT (mvneta0.4092) via Web GUI for IP 192.168.100.1/24. Moved laptop2 to OPT and set IP 192.168.100.150/24.

                        On laptop2, ran command “iperf3 -p 5001 -s”
                        On laptop1, ran command “iperf3 -p 5001 -c 192.168.100.150”
                        On laptop1, ran command “iperf3 -p 5001 -c 192.168.100.150 -R”
                        Result screen capture below:

                        LAN-OPT share.png

                        Followed the below process for laptop1<->laptop2 test:

                        Set laptop1 IP 192.168.100.200. Connected laptop1 directly to laptop2.

                        On laptop1, ran command “iperf3 -p 5001 -c 192.168.100.150”
                        On laptop1, ran command “iperf3 -p 5001 -c 192.168.100.150 -R”
                        Result screen capture below:

                        laptop-laptop share.png

                        Taking Steve’s advice, I ordered an SG-3100. We have several of these in production and have had good results. The SG-1100 was/is an experiment. Interesting results.

                        1 Reply Last reply Reply Quote 0
                        • T
                          testgate @johnpoz
                          last edited by

                          @johnpoz Apologies, I didn’t save the capture where I saw this and could not replicate it again after a factory reset.

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

                            The SG-3100 is definitely a better option here.

                            However when you disable pf using 'pfctl -d' it will be enabled again by making any changes in the gui that apply firewall or NAT changes. (unless it's disabled in the GUI). I suspect in the test where you added opt and tested from LAN to OPT it had become enabled again. Better to disable it immediately before the test.

                            Steve

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              testgate @stephenw10
                              last edited by

                              @stephenw10 I think you are correct on both points. Thanks for that, I appreciate your input. The asynchronous results of LAN-WAN testing still baffles me.

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

                                As far as I've been able to determine it's due the way NAT states are opened. It you test between interfaces that are not NATing you will see it's a lot closer or completely symmetric. So between LAN and OPT or with pf disabled or with static routes on the WAN side devices opening states directly to the LAN subnet.

                                Steve

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  testgate @stephenw10
                                  last edited by

                                  @stephenw10 Confirmed, my order of operation had inadvertently re-enabled pf. Rerunning the test LAN to OPT with the order you specified gave back results not very dissimilar to my laptop-to-laptop run.

                                  Will I not experience this same issue with the 3100? If not, is that due to the differences in HW architecture?

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

                                    You may see some asymmetry in throughput but not as extreme. You should see close to Gigabit download (other variables allowing!).

                                    Steve

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      testgate @stephenw10
                                      last edited by

                                      @stephenw10 SG-3100 arrived today. Same LAN-WAN testing results below. LAN box on 192.168.1.100, WAN box on 10.10.10.10. 100% vanilla install fresh out of box. Thanks for all your help.

                                      SG-3100 WAN-LAN share.png

                                      1 Reply Last reply Reply Quote 1
                                      • johnpozJ johnpoz referenced this topic on
                                      • johnpozJ johnpoz referenced this topic on
                                      • johnpozJ johnpoz referenced this topic on
                                      • johnpozJ johnpoz referenced this topic on
                                      • L larnak referenced this topic on
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.