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

Virtualized ESXI PFSense can't pass ~1gbit with iPerf3

Scheduled Pinned Locked Moved Hardware
15 Posts 4 Posters 1.3k Views 3 Watching
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.
  • B Offline
    Bob.Dig LAYER 8 @heper
    last edited by Mar 29, 2023, 10:05 AM

    @heper said in Virtualized ESXI PFSense can't pass ~1gbit with iPerf3:

    measure through - not to/from

    Because this is the way.

    F 1 Reply Last reply Mar 29, 2023, 10:50 AM Reply Quote 0
    • F Offline
      fmroeira86 @Bob.Dig
      last edited by Mar 29, 2023, 10:50 AM

      @bob-dig

      "just because" is not a very illuminating answer.

      Can you please clarify why I can't test it "terminating" on pfsense?

      Thank you!

      B 1 Reply Last reply Mar 29, 2023, 11:00 AM Reply Quote 0
      • B Offline
        Bob.Dig LAYER 8 @fmroeira86
        last edited by Mar 29, 2023, 11:00 AM

        @fmroeira86 I can't, only I have read that it is like that. But how often do you copy stuff onto your firewall? Just test between your hosts and see yourself...

        F 1 Reply Last reply Mar 29, 2023, 11:45 AM Reply Quote 0
        • H Offline
          heper @fmroeira86
          last edited by Mar 29, 2023, 11:15 AM

          @fmroeira86 said in Virtualized ESXI PFSense can't pass ~1gbit with iPerf3:

          @heper Why?

          https://docs.netgate.com/pfsense/en/latest/packages/iperf.html?highlight=iperf#usage
          iperf running on pfSense software is NOT a suitable way of testing firewall throughput, as there is a significant difference between performance of traffic initiated or terminated on the firewall and traffic traversing the firewall. There are many suitable uses for iperf running on pfSense software, but testing the throughput capabilities of the firewall is not one of them.

          F 1 Reply Last reply Mar 29, 2023, 11:27 AM Reply Quote 0
          • F Offline
            fmroeira86 @heper
            last edited by Mar 29, 2023, 11:27 AM

            @heper

            Thank you for your clarification!

            1 Reply Last reply Reply Quote 0
            • F Offline
              fmroeira86 @Bob.Dig
              last edited by Mar 29, 2023, 11:45 AM

              @bob-dig Thank you!

              1 Reply Last reply Reply Quote 0
              • F Offline
                fmroeira86
                last edited by fmroeira86 Mar 29, 2023, 12:01 PM Mar 29, 2023, 12:01 PM

                Well, I just did a test as your described with two machines on different subnets, routed by PFSense and I could get more than this:

                [SUM] 0.00-10.00 sec 1.46 GBytes 1.25 Gbits/sec 8097 sender
                [SUM] 0.00-10.00 sec 1.45 GBytes 1.24 Gbits/sec receiver

                1 Reply Last reply Reply Quote 0
                • S Offline
                  stephenw10 Netgate Administrator
                  last edited by Mar 29, 2023, 12:32 PM

                  Check the per-core loading shown in top -HaSP when testing throughput.

                  F 1 Reply Last reply Mar 29, 2023, 1:20 PM Reply Quote 0
                  • F Offline
                    fmroeira86 @stephenw10
                    last edited by fmroeira86 Mar 29, 2023, 1:42 PM Mar 29, 2023, 1:20 PM

                    @stephenw10 said in Virtualized ESXI PFSense can't pass ~1gbit with iPerf3:

                    top -HaSP

                    Ok.

                    After some reading I added these entries to loader.conf.local

                    hw.pci.honor_msi_blacklist="0"
                    dev.vmx.0.iflib.override_ntxds="0,4096"
                    dev.vmx.0.iflib.override_nrxds="0,2048,0"
                    dev.vmx.1.iflib.override_ntxds="0,4096"
                    dev.vmx.1.iflib.override_nrxds="0,2048,0"
                    kern.ipc.nmbclusters="1000000"
                    kern.ipc.nmbjumbop="524288"

                    I also added:

                    net.isr.dispatch=deferred

                    and I got:

                    [SUM] 0.00-10.00 sec 4.65 GBytes 4.00 Gbits/sec 2111 sender
                    [SUM] 0.00-10.01 sec 4.62 GBytes 3.96 Gbits/sec receiver

                    It's improving but still far from 10gbit. I would be satisfied with 8Gbits/sec...

                    During my testing this is the output from top -HaSP command :

                    c06f7758-8d27-4181-b759-8012e8d88556-image.png

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fmroeira86
                      last edited by fmroeira86 Mar 29, 2023, 1:42 PM Mar 29, 2023, 1:41 PM

                      Update:

                      New results with:

                      Hardware Checksum Offloading
                      Hardware TCP Segmentation Offloading
                      Hardware Large Receive Offloading

                      ENABLED (meaning= unchecked)

                      And also removed

                      net.isr.dispatch=deferred

                      [SUM] 0.00-60.00 sec 56.8 GBytes 8.14 Gbits/sec 12804 sender
                      [SUM] 0.00-60.00 sec 56.8 GBytes 8.13 Gbits/sec receiver

                      1 Reply Last reply Reply Quote 1
                      • S Offline
                        stephenw10 Netgate Administrator
                        last edited by Mar 29, 2023, 2:16 PM

                        That's probably as good as you're going to get.

                        You might check he number of queues each vmx NIC is using. It should show in the boot log.

                        F 1 Reply Last reply Mar 29, 2023, 2:26 PM Reply Quote 0
                        • F Offline
                          fmroeira86 @stephenw10
                          last edited by Mar 29, 2023, 2:26 PM

                          @stephenw10

                          In the meantime I just tried to do iperf3 between two servers (with pfsense in the middle) and I only got:

                          [SUM] 0.00-20.00 sec 10.1 GBytes 4.33 Gbits/sec 12919 sender
                          [SUM] 0.00-20.01 sec 10.0 GBytes 4.31 Gbits/sec receiver

                          If I set the pfsense box as a iperf3 server I get the results I told before:

                          [SUM] 0.00-60.00 sec 56.8 GBytes 8.14 Gbits/sec 12804 sender
                          [SUM] 0.00-60.00 sec 56.8 GBytes 8.13 Gbits/sec receiver

                          1 Reply Last reply Reply Quote 0
                          15 out of 15
                          • First post
                            15/15
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                            This community forum collects and processes your personal information.
                            consent.not_received