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

    Weird performance issue through LAN interface

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.2k 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.
    • P
      pwnell
      last edited by

      I have three interfaces on my pfsense box, LAN, WAN and WiFi.  All three NICs are 100baseTX FD.  LAN is connected to a small 5 port gigabit switch, WiFi is connected to an Apple Airport Extreme basestation and WAN is connected to my Cable modem.

      I installed iperf and tested the throughput from a machine on my LAN to the LAN IP of the pfsense box.  I did the same in reverse.  Here are the results:

      (pfsense is on 192.168.0.10)
      –----------------------------------------------------------
      Client connecting to 192.168.0.10, TCP port 5001
      TCP window size: 65.0 KByte (default)

      [  3] local 192.168.0.72 port 64105 connected with 192.168.0.10 port 5001
      [ ID] Interval      Transfer    Bandwidth
      [  3]  0.0-10.0 sec    111 MBytes  92.8 Mbits/sec

      This is awesome - almost 100Mbps.  I can live with that.  Problem is below:

      Client connecting to 192.168.0.72, TCP port 5001
      TCP window size: 65.0 KByte (default)
      –----------------------------------------------------------
      [  3] local 192.168.0.10 port 52830 connected with 192.168.0.72 port 5001
      [ ID] Interval      Transfer    Bandwidth
      [  3]  0.0-10.2 sec  8.19 MBytes  6.73 Mbits/sec

      So why would the performance drop so significantly when sending data from the pfsense box to the LAN machine?  All the machines in question has powerful CPU's.

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        What kind of NIC is it?  Do you have traffic shaping turned on?  Do you have device polling or checksum offloading turned on?  If you look at the device status do you see errors?  Dropped packets?

        1 Reply Last reply Reply Quote 0
        • P
          pwnell
          last edited by

          @submicron:

          What kind of NIC is it?  Do you have traffic shaping turned on?  Do you have device polling or checksum offloading turned on?  If you look at the device status do you see errors?  Dropped packets?

          Ok you hit it on the nail - was traffic shaping.  What I do not get is why does it affect Firewall -> LAN transfers?  All my queues refer to WAN <-> LAN interactions.

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