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

    Interface Traffic Out Slightly Slower Than In

    Scheduled Pinned Locked Moved Hardware
    6 Posts 2 Posters 478 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.
    • A
      AdriftAtlas
      last edited by AdriftAtlas

      HW:
      4 Core Intel N5105
      4 x Intel 2.5GbE I226-V LAN

      SW:
      Proxmox 7.3-4
      pfSense Plus 22.05

      Config:
      2 Cores, 4GB RAM assigned
      WAN/LAN in PCI Passthrough
      Hardware checksum, TCP segmentation, and large receive offload enabled
      No traffic shaping enabled

      I was previously using an ASUS RT-AX88U. Speedtest.net would come back with 942Mbps down and 942 up max. With pfSense I am getting 910 Mbps down and 942Mbps up. CPU usage stays below 30%.

      Testing against LAN with iPerf3 and watching the pfSense traffic graph I see that the LAN interface sustains 945Mbps out and 975Mbps in. This would explain the slight asymmetry.

      I have tried the following:

      • Disabling all hardware offload (all three boxes were checked)
      • Disabled Flow Control for igc using system tunables
      • Set net.isr.dispatch=deferred instead of net.isr.dispatch=direct
      • Used VirtIO interfaces with offload disabled instead of PCI Passthrough

      Not quite sure why this is happening? Is the NIC itself to blame?

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

        Do you still see that running pfSense bare metal?

        A 1 Reply Last reply Reply Quote 0
        • A
          AdriftAtlas @stephenw10
          last edited by

          @stephenw10
          I did not try it on bare metal and the firewall is already running so I don't want to rebuild it. I am using PCI Passthrough though so it should be pretty close.

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

            You see any errors on the NICs?

            Can you see the full 941Mbps between internal interfaces?

            A 1 Reply Last reply Reply Quote 0
            • A
              AdriftAtlas @stephenw10
              last edited by

              @stephenw10

              sysctl dev.igc shows no errors, not even checksum errors.

              I'm not sure what you mean by between internal interfaces. I am running the iperf3 server on pfsense and the client is running on windows 11.

              I'll try to do a packet capture later and see if anything stands out.

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

                Ah, running one side on pfSense itself will almost always be slower.

                Try testing between two internal hosts on different interfaces to exclude the WAN.

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