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

    Comcast Gigabit - SG-3100 (not getting gig speed)

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    31 Posts 7 Posters 4.0k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      When you tested the speed of your switch, did you test through the switch or did you run iperf on the switch and talk to an SVI on the switch?

      Nope thats it -

      computer (iperf -s) --- pfsense ---- (iperf -c) computer

      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.8, 24.11

      C 1 Reply Last reply Reply Quote 0
      • C
        cparkervt @johnpoz
        last edited by

        @johnpoz said in Comcast Gigabit - SG-3100 (not getting gig speed):

        When you tested the speed of your switch, did you test through the switch or did you run iperf on the switch and talk to an SVI on the switch?

        Nope thats it -

        computer (iperf -s) --- pfsense ---- (iperf -c) computer

        I will test PC -- OPT1 -- pfSense -- LAN1 -- PC ... later this evening.
        Also on the agenda is testing a loaner SG-3100 with a virgin config.

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

          I would make sure you setup say opt1 to look like wan so its doing nat.. Since that could be a performance hit.. So you want to validate your speed is with natting being done.

          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.8, 24.11

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

            lan by default is part of the switch right.. Possible you could have flood of broadcast traffic causing you issues on the switch?

            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.8, 24.11

            C 1 Reply Last reply Reply Quote 0
            • C
              cparkervt @johnpoz
              last edited by

              @johnpoz I'll isolate the pfSense from the rest of my network during testing. Just for grins, I tested from a LAN PC using iperf3 to an Ubiquiti EdgeRouter's WAN IP in that same /29 and I was getting ~300m but that could be that it's a cheap ER-X and not able to handle being an iperf server as I know those have potatoes for CPUs in them. 😉

              I appreciate all the help so far. I really hope it's something simple like "hey you missed this one thing" actually kind of enjoying the challenge (good thing this is my home office/ home lab)

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

                that brings up very good point... test your iperf server and client testing without pfsense to validate they can do gig..

                iperf -s --- wire ---- iperf -c

                or
                iperf -s --- switch ---- iperf -c

                And make sure you use all the wires you will use with the testing, before you put pfsense in the middle..

                If wasn't 3pm on a friday I would sim test the 3100 I have here.. But could do on monday ;)

                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.8, 24.11

                C 1 Reply Last reply Reply Quote 0
                • J
                  JohnKaul @cparkervt
                  last edited by

                  @cparkervt said in Comcast Gigabit - SG-3100 (not getting gig speed):

                  <snip> but that could be that it's a cheap ER-X and not able to handle being an iperf server as I know those have potatoes for CPUs in them. 😉 <snip>

                  For what little it's worth: If I remember right, it's been a few years since I've dove into the source code but, iperf runs on the stack (memory) only. So you are running a memory<->memory network/performance test.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cparkervt @johnpoz
                    last edited by

                    @johnpoz Yeah all my other testing I've been doing to rule out my own network was random clients running iperf over my two Cisco SG200/300 switches and they get 900+. Hence my confusion as to why the pfSense LAN IP was getting almost exactly the same as my previously quoted Internet speed tests. But like I said, I'll isolate the pfSense and test routing/NAT performance via iperf and see what it says.

                    1 Reply Last reply Reply Quote 0
                    • C
                      cparkervt
                      last edited by cparkervt

                      Isolated 3100.
                      MacBook Pro used as iperf2 server.

                      Through NAT:
                      [332] 0.0- 1.0 sec 46.0 MBytes 386 Mbits/sec
                      [332] 1.0- 2.0 sec 46.3 MBytes 388 Mbits/sec
                      [332] 2.0- 3.0 sec 45.9 MBytes 385 Mbits/sec
                      [332] 3.0- 4.0 sec 46.3 MBytes 388 Mbits/sec
                      [332] 4.0- 5.0 sec 46.0 MBytes 386 Mbits/sec
                      [332] 5.0- 6.0 sec 46.1 MBytes 387 Mbits/sec
                      [332] 6.0- 7.0 sec 46.1 MBytes 387 Mbits/sec
                      [332] 7.0- 8.0 sec 46.1 MBytes 387 Mbits/sec
                      [332] 8.0- 9.0 sec 46.1 MBytes 387 Mbits/sec
                      [332] 9.0-10.0 sec 45.9 MBytes 385 Mbits/sec
                      [332] 0.0-10.0 sec 461 MBytes 386 Mbits/sec

                      Through Comcast modem switch:
                      [308] 0.0- 1.0 sec 117 MBytes 980 Mbits/sec
                      [308] 1.0- 2.0 sec 113 MBytes 949 Mbits/sec
                      [308] 2.0- 3.0 sec 113 MBytes 949 Mbits/sec
                      [308] 3.0- 4.0 sec 113 MBytes 949 Mbits/sec
                      [308] 4.0- 5.0 sec 113 MBytes 949 Mbits/sec
                      [308] 5.0- 6.0 sec 113 MBytes 950 Mbits/sec
                      [308] 6.0- 7.0 sec 113 MBytes 949 Mbits/sec
                      [308] 7.0- 8.0 sec 113 MBytes 949 Mbits/sec
                      [308] 8.0- 9.0 sec 113 MBytes 949 Mbits/sec
                      [308] 9.0-10.0 sec 113 MBytes 949 Mbits/sec
                      [308] 0.0-10.0 sec 1.11 GBytes 951 Mbits/sec

                      iperf3 was giving me weird numbers for both scenarios so I rolled back to iperf2.
                      No special switches were used in either iperf test. Just -c and -s where appropriate.

                      Weirdly enough I can hit ~650 presently via speedtest.net (I consistently use Boston Comcast as my target because that's my next hop before I hit the rest of the internet)

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

                        Hmm, that seems waaay too low for a local test. Can say exactly what that iperf2 test was between? And how the 3100 was connected, which ports?
                        What weird results were you seeing with iperf3? That's usually preferred.

                        Steve

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          JohnKaul @stephenw10
                          last edited by

                          @stephenw10 said in Comcast Gigabit - SG-3100 (not getting gig speed):

                          Hmm, that seems waaay too low for a local test. Can say exactly what that iperf2 test was between? And how the 3100 was connected, which ports?
                          What weird results were you seeing with iperf3? That's usually preferred.

                          Steve

                          o.0
                          'between'? The 3100 was 'between' (as the OP stated).

                          I would imagine iperf3 being preferred for testing OpenVPN, or Snort (or other type of single threaded stuff) but not as a general rule such as 'usually prefered'. There are other key differences but the point being, choose your weapon based on your needs not "da version number".

                          http://fasterdata.es.net/performance-testing/network-troubleshooting-tools/throughput-tool-comparision/

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

                            I don't buy these speed so will duplicate when get to the office monday... Will bring my play laptop to work and my work laptop will be my test boxes.. If have to take the guest internet offline for a bit during lunch so be it ;)

                            But I will bring up a bit of why this stuff can be confusing sort testing... So elsewhere on the internet I was talking about my unifi usg I had sitting on a shelf, that I had used temp while my sg4860 was back ordered for home, and my VM pfsense that I ran for years could not keep up with my new 500/50 internet..

                            Anyhoo because of a question elsewhere I pulled it off the shelf, dusted it off - had to upgrade its firmware because current controller wouldn't work with it on such old firmware, etc. (few months)

                            Well got it all up and running in a few minutes.. And ran a speedtest.net test - like WTF only seeing hair over 100.. Now this laptop is a bit dated running windows 7 and hadn't fired it up in a while either.. But I had updated it from windows update before doing any of this - updated its java (needed to run the unifi controller on it), etc. etc.. I know it can easy do gig.. Updated its firefox browser, all the normal steps I do when fire up something that has been sitting for a few months.

                            So it was driving me nuts - I know this thing can do gig, and the usg before had no issues doing my 500 before.. Was there something wrong with the current firmware 4.4.38.. So I put the laptop just connected to my sg4860 - still shitty speeds! WTF.. I knew this thing can do gig, and my other pc sees my full speed through the sg4860.. So I fired up iperf (3.6) on my pc and the laptop running.. Bam 850 something iperf test...

                            So fired up ie and chrome - they are see much better speeds.. not what my pc sees, but much closer - in the 300.. My normal pc sees 600 speedtest to the internet..

                            My point to this all - is lets be clear what your testing here.. Once you go to the internet, and use some browser there could be other factors at play..

                            I have a 3100 at work I can play with.. So be happy to duplicate testing of speed of wan to lan via nat and firewall and see what I get..

                            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.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • J
                              JohnKaul
                              last edited by

                              *drops: sonobuoy*
                              So what usually happens when "you" cannot duplicate?

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

                                I 'prefer' iperf3 myself because you can run it bi-directionally which makes testing easier. And because all the other results I have here are using that version which makes comparrison much easier.

                                By 'between' what I mean is what is the test server and test client in use and how are they connected to the SG-3100? Because if they are both local and connected to the WAN and LAN ports of the SG-3100 those numbers are far lower than I expect.

                                Steve

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

                                  @JohnKaul said in Comcast Gigabit - SG-3100 (not getting gig speed):

                                  So what usually happens when "you" cannot duplicate?

                                  Well if can duplicate we need to figure out what is going on - maybe, just maybe some bug that is hitting our common testing.. But if can not duplicate need to figure out what is going on with his setup..

                                  Its just more info to solve the puzzle... Sorry but I have been this for many many years, and while I believe the user has run into something that is causing him grief. I do not believe that the hardware can only do 350 ;)

                                  None of the benchmarks show this.. So once I have a box that we can duplicate setups with we can hopefully track down what is the issue.

                                  If I can or can not duplicate - either way its info we can give the guys that can do really figure out what is going on..

                                  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.8, 24.11

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