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

    Not getting properthroughput on gigabit devices. 200mbps when it should be at least 600mbps

    Scheduled Pinned Locked Moved General pfSense Questions
    gigabitthroughputcore 2 duohp laptop
    67 Posts 7 Posters 10.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.
    • BerzerkB
      Berzerk
      last edited by

      Hey, I've been running pfsense for a about 6 months now.
      I recently switched my wan to 600Mbps/100Mbps from 200/25 with my ISP.

      Now even though direct from the modem I'm getting 600, pfsense is only putting through 200 still.

      Only non-standard packages I have are acme and haproxy. I'm using an old HP laptop as my device. 4GB ram, 40gb SSD. 1 onboard gigabit intel and 1 gigabit realtek pcmcia adaptor. The onboard is the WAN and the realtek is the LAN. Can anyone help me get 600Mbps throughput?
      Thanks.
      pfsense.png
      em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
      options=219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC>
      ether xx:xx:xx:xx:xx:xx
      hwaddr xx:xx:xx:xx:xx:xx
      inet6
      inet
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
      media: Ethernet autoselect (1000baseT <full-duplex>)
      status: active
      lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
      options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
      inet6
      inet6
      inet
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
      groups: lo
      enc0: flags=0<> metric 0 mtu 1536
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
      groups: enc
      pfsync0: flags=0<> metric 0 mtu 1500
      groups: pfsync
      pflog0: flags=100<PROMISC> metric 0 mtu 33160
      groups: pflog
      re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
      options=8219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,LINKSTATE>
      ether
      hwaddr
      inet6
      inet
      nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
      media: Ethernet autoselect (1000baseT <full-duplex>)
      status: active

      1 Reply Last reply Reply Quote 0
      • DerelictD
        Derelict LAYER 8 Netgate
        last edited by Derelict

        If you have not installed any shaping or limiting for the 200Mb speeds in Firewall > Traffic Shaper It might be time for you to throw some additional CPU at the problem or at least get rid of that realtek NIC.

        PCMCIA on the NIC can't be helping your cause either.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

          What is that like a 13 year old cpu? I doubt it would jump it up to 600, but the PTI isn't going to help - you could disable that.

          Also I would just take the ISP out of the equation for your tests.. put something on the wan, and then on the lan and do say an IPerf.

          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

          BerzerkB 1 Reply Last reply Reply Quote 0
          • BerzerkB
            Berzerk @johnpoz
            last edited by

            @johnpoz said in Not getting properthroughput on gigabit devices. 200mbps when it should be at least 600mbps:

            PTI

            Thanks, I'll try that.

            With regard to the CPU, people were getting gigabit when it came out, and it more than meets the minimum for pfsense. I've got half a dozen core 2 duos, and they all have gigabit on board.

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

              Having gig interface doesn't mean your going to see 900mbps ;) I remember when gig first came out and seeing 300mbps was kewl ;)

              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
              • BerzerkB
                Berzerk @Derelict
                last edited by

                @Derelict
                Mmmm.....all of my pcmcia adaptors are realtek. :(
                Is there some old issue with them?

                1 Reply Last reply Reply Quote 0
                • Cool_CoronaC
                  Cool_Corona
                  last edited by

                  Around 2GHz will get you 200 no matter how many CPU's you throw at it.

                  I have 16 core server setup and cant go beyond 200 with Suricata running on a 10Gbps connection.

                  You need CPU horsepower.... = GHz

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

                    realtek and freebsd has never been good fit.

                    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
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      The E4500 I used to run could pass 1Gbps, just. But that was between PCIe Intel NICs.

                      Run at the command line top -aSH while you are testing. What CPU usage are you seeing, how it is spread?

                      But, yeah, a Realtek PCMCIA NIC cannot be helping here! Probably better off usings VLANs and switch.

                      Steve

                      BerzerkB 1 Reply Last reply Reply Quote 0
                      • BerzerkB
                        Berzerk
                        last edited by

                        OH....I was hoping on utilizing old hardware. I've got enough to have a couple fail over devices.

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

                          You can use all kinds of old hardware - doesn't mean your going to see 940mbps through it ;)

                          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

                          BerzerkB 1 Reply Last reply Reply Quote 0
                          • BerzerkB
                            Berzerk @johnpoz
                            last edited by

                            @johnpoz So what kind of hardware do I need to get those speeds?
                            Got to scrap the realtek, anything else I need to avoid?

                            1 Reply Last reply Reply Quote 0
                            • BerzerkB
                              Berzerk @stephenw10
                              last edited by

                              @stephenw10 Highest I've seen cpu usage is 25% while running the test.

                              So no way of getting better results from realtek?

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

                                Something that has not been EOL for 10 years already would be a good start ;)

                                As to min you can get by with and do 600mbps - that would be a question for someone that deals with old stuff.. @stephenw10 would be my go to guy for such a question.. He plays with all kinds of hardware..

                                If it was me, I would get a sg3100, or 5100 and be done with it.

                                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

                                BerzerkB 1 Reply Last reply Reply Quote 0
                                • BerzerkB
                                  Berzerk
                                  last edited by

                                  You have no idea just how cheap I am.

                                  ...plus, I've got a warehouse of old stuff.

                                  It really baffles me that the network tech manufacturers got away with selling stuff as Xbps, and actually providing only 20% of what they say. I bought my first realtek gigabit cards in 2005. I know those are based on 'perfect' environments, but it crosses from 'reasonable' drops to ... well lies.
                                  Don't get me started on wireless speeds.

                                  A DerelictD 2 Replies Last reply Reply Quote 0
                                  • A
                                    akuma1x @Berzerk
                                    last edited by akuma1x

                                    @Berzerk Realtek gigabit cards can hit theoretical gigabit speeds, but with FreeBSD they aren't fully supported.

                                    What kinds of "warehouse of old stuff" are we talking about here? You might have something better that can solve this problem you're having. I also find it kind of ironic that you're trying to route and hit today's high internet speeds with "old stuff" you've got sitting around...

                                    Jeff

                                    BerzerkB 1 Reply Last reply Reply Quote 0
                                    • BerzerkB
                                      Berzerk @johnpoz
                                      last edited by

                                      @akuma1x @johnpoz I have another question, if you'll humor me.

                                      I have several realtek onboard ports, on about 30% of my network. A few D-Link brand, but are just Realtek. Some broadcom chips, but mostly intel. I'm able to transfer on the lan at about 920mbps between them. The CPUs vary from core 2 duos to I7s. Is it all in the FreeBSD drivers that the issue rests?

                                      A 1 Reply Last reply Reply Quote 0
                                      • BerzerkB
                                        Berzerk @akuma1x
                                        last edited by

                                        @akuma1x The Core 2 Duos are the oldest ones I have. (At least on the network. I have a few Athlons, and some x86 single cores, but I've put them out to pasture.)

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          akuma1x @Berzerk
                                          last edited by akuma1x

                                          @Berzerk Yes, that's the problem.

                                          There has been some work for a driver, see here:
                                          https://forum.netgate.com/topic/135850/official-realtek-driver-binary-1-95-for-2-4-4-release

                                          I apologize, I haven't been following it all too closely, and I don't use any of it since I don't have any Realtek-equipped machines.

                                          Jeff

                                          1 Reply Last reply Reply Quote 0
                                          • DerelictD
                                            Derelict LAYER 8 Netgate
                                            last edited by

                                            Get something with two intel PCIe NICs, idk, a lower-power Core i3 maybe. Might as well get something that has AES-NI going. An Atom C2000 maybe. You'll get 600 down or it's not the firewall.

                                            Chattanooga, Tennessee, USA
                                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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