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

    Can PFsense handle 10/10 Gbe Internet?

    Scheduled Pinned Locked Moved General pfSense Questions
    35 Posts 6 Posters 8.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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yes, that's a very good point. Have you tested the line without pfSense connected? Can you see the expected rates against speedtest.net then?

      R 1 Reply Last reply Reply Quote 1
      • R
        remi_imer @stephenw10
        last edited by

        @stephenw10 hi there,

        Thanks for your input. I will try this when I get home later.

        What do you mean by this? "Check the CPU is running at the expected frequency when under load" Does it mean if it's rated at 3.6 Ghz it should be reaching that during testing?

        Thanks again. I will also check the boot log as per your suggestion.

        stephenw10S 1 Reply Last reply Reply Quote 0
        • R
          remi_imer @Dobby_
          last edited by

          @Dobby_ , hi there,

          Thanks for your input.

          Do you reckon if I put PFsense on a modern PC could have an impact? Perhaps I could also do this, I have another PC running Ryzen 5 6 core with 16GB ram. I was meant to configure this as Proxmox Server but I have not time to do it due to busy time at work.

          Going to your MTU comment. My pfsense has it blank at present, which I believe defaults to 1500. Do I have to change this value if running 10 Gbit?

          As for the PPPoE, I think I am not using this one. I don't remember selecting PPPoE when I installed Pfsense.

          WIll also try other speed test servers and see what result I get. But i think Ookla is by far the most reliable one.

          Dobby_D 1 Reply Last reply Reply Quote 0
          • R
            remi_imer @RobbieTT
            last edited by remi_imer

            @RobbieTT

            Thanks a bunch for your input and also for sharing the article. Perhaps that was true at the time of publication, however, things have significantly changed at present.

            Speedtest.net definitely made some improvements to its server, such that it can give you close to 25 gigabit download and upload.

            Link Here

            Check out this guy's article on how he achieved this. Link below. PS: he is using a Linux Router which he wrote himself called router 7

            Router Build Blog

            Test Results

            This guy is using the same provider as I am, but he opted for the fastest tier available, which is 25 Gigabit. I am eligible for 25 Gigabit also, but I wanted to test the 10 Gigabit first since the upgrade path was for free ๐Ÿ˜

            So yeah I am definitely convinced that there are some hardware limitations of some sort.

            1 Reply Last reply Reply Quote 1
            • R
              remi_imer @stephenw10
              last edited by

              @stephenw10 hi there, I will test with just my PC and see how it goes. Will keep everyone posted.

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

                @remi_imer said in Can PFsense handle 10/10 Gbe Internet?:

                Does it mean if it's rated at 3.6 Ghz it should be reaching that during testing?

                Yes. We have seen systems that didn't enable turbo mode or default to the lowest CPU speed for example.
                The CPU speed is usually shown on the dashboard but you can also check:
                sysctl dev.cpu.0

                But check the per-core usage with top, make sure no core is at 100%

                Steve

                R 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense
                  last edited by

                  Dang, I am moving to where ever this place is...
                  Screenshot 2023-06-06 at 1.41.32 PM.png

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                  RobbieTTR 1 Reply Last reply Reply Quote 1
                  • RobbieTTR
                    RobbieTT @NollipfSense
                    last edited by

                    @NollipfSense said in Can PFsense handle 10/10 Gbe Internet?:

                    Dang, I am moving to where ever this place is...
                    Screenshot 2023-06-06 at 1.41.32 PM.png

                    Well at least in the UK I can glance over and check the season with Stonehenge. None of that Swiss Watch precision needed; that tech will never catch on.

                    Anyway, I am sporting a new imported abacus. You won't believe how thin and light it is.

                    ๐Ÿ˜ญ

                    1 Reply Last reply Reply Quote 3
                    • Dobby_D
                      Dobby_ @remi_imer
                      last edited by

                      @remi_imer said in Can PFsense handle 10/10 Gbe Internet?:

                      Do you reckon if I put PFsense on a modern PC could have an impact?

                      For sure but if I am in your situation I would try out that
                      with the actual given hardware once more.

                      Perhaps I could also do this, I have another PC running Ryzen 5 6 core with 16GB ram. I was meant to configure this as Proxmox Server but I have not time to do it due to busy time at work.

                      Could be nice or also not!

                      Going to your MTU comment. My pfsense has it blank at present, which I believe defaults to 1500. Do I have to change this value if running 10 Gbit?

                      If the MTU is not the same on all device in that row,
                      you may be seeing other numbers as a result then!

                      As for the PPPoE, I think I am not using this one. I don't remember selecting PPPoE when I installed Pfsense.

                      If so you will be nailed to one CPU core "only"!
                      And that means also only one queue for the entire
                      wan traffic, would good to be knowing about.

                      Will also try other speed test servers and see what result I get. But i think Ookla is by far the most reliable one.

                      Ok, but perhaps you may be trying it out at other
                      or different time frames!

                      #~. @Dobby

                      Turris Omnia - 4 Ports - 2 GB RAM / TurrisOS 7 Release (Btrfs)
                      PC Engines APU4D4 - 4 Ports - 4 GB RAM / pfSense CE 2.7.2 Release (ZFS)
                      PC Engines APU6B4 - 4 Ports - 4 GB RAM / pfSense+ (Plus) 24.03_1 Release (ZFS)

                      R 1 Reply Last reply Reply Quote 0
                      • R
                        remi_imer @Dobby_
                        last edited by

                        @Dobby_

                        Am curious about this one. How do I ensure I move away from this?

                        If so you will be nailed to one CPU core "only"!
                        And that means also only one queue for the entire
                        wan traffic, would good to be knowing about.

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

                          I'd be amazed if you're using PPPoE with 10G.

                          But it's caused by the fact that PPPoE is not IP and cannot take advantage of hardware/driver hashing to divide traffic across queues:
                          https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#pppoe-with-multi-queue-nics

                          Very unlikely to apply here but you should check the per-core usage to be sure.

                          Steve

                          1 Reply Last reply Reply Quote 1
                          • R
                            remi_imer @stephenw10
                            last edited by remi_imer

                            @stephenw10 hi there,

                            I did exactly as you said and this is what I found during testing. I dont know what am i suppose to be looking at here

                            
                            last pid: 52273;  load averages:  0.24,  0.23,  0.18                                                                up 3+12:58:31  01:27:23
                            204 threads:   7 running, 162 sleeping, 35 waiting
                            CPU 0:  0.0% user,  0.0% nice,  0.0% system, 58.8% interrupt, 41.2% idle
                            CPU 1:  0.0% user,  0.0% nice,  0.0% system, 50.0% interrupt, 50.0% idle
                            CPU 2:  0.0% user,  0.0% nice,  0.4% system, 12.2% interrupt, 87.4% idle
                            CPU 3:  0.0% user,  0.0% nice,  0.0% system,  6.1% interrupt, 93.9% idle
                            Mem: 21M Active, 47M Inact, 404M Wired, 82M Buf, 3363M Free
                            Swap: 3656M Total, 3656M Free
                            
                            
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • R
                              remi_imer @stephenw10
                              last edited by

                              @stephenw10

                              I also did what you suggested here.

                              /root: sysctl dev.cpu.0
                              dev.cpu.0.temperature: 57.0C
                              dev.cpu.0.coretemp.throttle_log: 0
                              dev.cpu.0.coretemp.tjmax: 100.0C
                              dev.cpu.0.coretemp.resolution: 1
                              dev.cpu.0.coretemp.delta: 43
                              dev.cpu.0.cx_method: C1/mwait/hwc C2/mwait/hwc
                              dev.cpu.0.cx_usage_counters: 43323265 0
                              dev.cpu.0.cx_usage: 100.00% 0.00% last 277us
                              dev.cpu.0.cx_lowest: C1
                              dev.cpu.0.cx_supported: C1/1/1 C2/2/148
                              dev.cpu.0.freq_levels: 3201/84000 3200/84000 3000/76349 2900/73036 2700/66595 2500/60408 2300/53689 2200/50804 2000/45218 1800/39849 1700/37248 1500/31535 1300/26734 1100/22147 1000/19936 800/15661
                              dev.cpu.0.freq: 3201
                              dev.cpu.0.%parent: acpi0
                              dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none
                              dev.cpu.0.%location: handle=\_PR_.CPU0
                              dev.cpu.0.%driver: cpu
                              dev.cpu.0.%desc: ACPI CPU
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • R
                                remi_imer
                                last edited by

                                Here's an update.

                                I connected my PC directly to the FTTH OTO Socket without pfsense router and perform the test.

                                Unfortunately the result is the same with or without pfsense router. ๐Ÿ˜ฆ Perhaps there is an issue with my 10 Gb NIC. Or there is an issue at the fiber cable somewhere.. or at my ISP. Will call them tomorrow to find out.

                                alt text

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

                                  Ah, well that's mostly good then.

                                  No CPU core is at 0% idle (100% used). The loading could be spread better.

                                  The CPU is running at 3201MHz. The extra 1 there implies turbo is enabled.

                                  So it should be capable of more if there is more to be had.

                                  You might try a local test between two 10G interfaces to confirm that.

                                  Steve

                                  1 Reply Last reply Reply Quote 1
                                  • R
                                    remi_imer
                                    last edited by

                                    Latest Update.

                                    Goal of closer to 10 Gigabit reached ๐Ÿ˜Š So to answer my own question. Yes PFsense can indeed handle 10 Gigabit internet.

                                    alt text

                                    Thank you all for your inputs. I highly appreciate it.

                                    Next goal is the 25 Gigabit. I hope TNSR is polished and have GUI interface by then ๐Ÿ˜

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

                                      Ooo, nice. I can only dream of such connectivity! ๐Ÿ˜‰

                                      What sort of CPU loading do you see at that throughput?

                                      R 1 Reply Last reply Reply Quote 1
                                      • R
                                        remi_imer @stephenw10
                                        last edited by

                                        @stephenw10 , hi there.

                                        26-29% CPU utilization and 11% Memory Usage.

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

                                          Wow, that's much lower than I would have expected. Maybe still spread unevenly?

                                          R 1 Reply Last reply Reply Quote 0
                                          • R
                                            remi_imer @stephenw10
                                            last edited by

                                            @stephenw10

                                            I am quite surprised myself. I was actually planning to swap the CPU to i7 4970 (that's the max the motherboard supports) since I saw one in FB market place for 40 CHF but it seems I don't need to do that at all which is good.

                                            But I am not running any other stuff in my PFsense Box. Just plain routing.

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