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

Is TCP Segmentation Offloading turned off or on?

Scheduled Pinned Locked Moved General pfSense Questions
11 Posts 4 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.
  • S
    Simois
    last edited by Simois Mar 24, 2023, 3:43 PM Mar 24, 2023, 3:26 PM

    Hello,

    For pfSenseCE 2.6.0;

    On the System>>Advanced>>Networking :: Network Interfaces section [] the "Hardware TCP Segmentation Offloading" chekbox is checked.

    6f9245e3-1daf-4ffa-a535-fcb288e1befa-image.png

    and

    on the System >> Advanced>> System Tunables ::
    the value of the "Enable TCP Segmentation Offload" is "1"

    dca03eb1-e248-40ff-bd91-3208c9b38332-image.png

    I'm confused. Are the two parameters setting exactly the same thing? If so, is TCP Segmentation Offload on or off now?

    NOTE: Two screenshots were taken without changing the settings

    Thanks

    J 1 Reply Last reply Mar 24, 2023, 3:47 PM Reply Quote 0
    • J
      johnpoz LAYER 8 Global Moderator @Simois
      last edited by Mar 24, 2023, 3:47 PM

      @simois If I remember correctly that doesn't really matter, since the checkbox disables it at the card.

      When you do a ifconfig do any of your interfaces show (TSO, TSO4, TSO6) in the options? If not then pretty sure its disabled..

      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

      S 1 Reply Last reply Mar 24, 2023, 4:29 PM Reply Quote 3
      • S
        Simois @johnpoz
        last edited by stephenw10 Mar 24, 2023, 6:08 PM Mar 24, 2023, 4:29 PM

        @johnpoz

        Yes it doesn't show up in the interface options.

        em0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1492
        	description: METRO_WAN
        	options=812098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,VLAN_HWFILTER>
        	ether 00:1b:78:57:8a:68
        	inet6 **** em0 prefixlen 64 scopeid 0x1
        	inet ********* netmask 0xfffffffc broadcast *********
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        	description: LAN
        	options=910098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWFILTER,NETMAP>
        	ether 00:1b:78:57:8a:69
        	inet6 ******** em1 prefixlen 64 scopeid 0x2
        	inet 192.168.1.*** netmask 0xffffff00 broadcast 192.168.1.255
        	media: Ethernet autoselect (1000baseT <full-duplex>)
        	status: active
        	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        	options=82098<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
        	ether 30:9c:23:26:43:ff
        	inet6 ****** prefixlen 64 scopeid 0x3
        	media: Ethernet autoselect (100baseTX <full-duplex>)
        	status: active
        	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        
        

        My basic knowledge is lacking, I didn't think to look at the hardware specifications on this subject.

        Thank you very much.

        J 1 Reply Last reply Mar 24, 2023, 5:55 PM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @Simois
          last edited by Mar 24, 2023, 5:55 PM

          @simois you could set that to zero in the tunables - but leaving it 1 for enabled doesn't matter because the checkbox turns it off.

          https://docs.netgate.com/pfsense/en/latest/hardware/tune.html#tso-lro

          Might need to change it in the tunables - if the checkbox didn't work for example.

          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

          S 1 Reply Last reply Mar 24, 2023, 8:19 PM Reply Quote 1
          • S
            Simois @johnpoz
            last edited by Simois Mar 24, 2023, 8:20 PM Mar 24, 2023, 8:19 PM

            @johnpoz
            You answered my question.

            I also read this document after you guided me.
            As a result, when I test with the ifconfig command when chekbox is selected and not selected in the System>>Advanced>>Networking:: Network Interfaces, TSO closes and opens as required.

            Thank you again

            J 1 Reply Last reply Mar 24, 2023, 8:20 PM Reply Quote 1
            • J
              johnpoz LAYER 8 Global Moderator @Simois
              last edited by Mar 24, 2023, 8:20 PM

              @simois no problem - its was a very valid and good question to be honest.

              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

              Q 1 Reply Last reply Feb 19, 2024, 12:23 PM Reply Quote 1
              • Q
                Qinn @johnpoz
                last edited by Qinn Feb 19, 2024, 12:24 PM Feb 19, 2024, 12:23 PM

                I tought I revive this topic, ;)

                I just checked and

                [2.7.2-RELEASE][root@pfSense.localdomain]/root: ifconfig | grep TSO
                      options=4e527bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
                

                So should I uncheck these Hardware TCP Segmentation Offloading and Hardware Large Receive Offloading as these are checked default (meaning these Offloading are disabled)

                btw

                [2.7.2-RELEASE][root@pfSense.localdomain]/root: pciconf -lv igb0
                igb0@pci0:1:0:0:        class=0x020000 rev=0x03 hdr=0x00 vendor=0x8086 device=0x157b subvendor=0x8086 subdevice=0x0000
                    vendor     = 'Intel Corporation'
                    device     = 'I210 Gigabit Network Connection'
                    class      = network
                    subclass   = ethernet
                

                Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                Firmware: Latest-stable-pfSense CE (amd64)
                Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by stephenw10 Feb 19, 2024, 1:51 PM Feb 19, 2024, 1:50 PM

                  You probably want it disabled, yes. Though if you have been running with it enabled and seen no problems it likely won't hurt to leave it enabled. It doesn't do that much on a firewall where TCP connections are mostly not terminated anyway. Some drivers/NICs will cause problems with it enabled which is why we disable it by default. igb is well supported though.

                  Q 1 Reply Last reply Feb 19, 2024, 3:07 PM Reply Quote 1
                  • Q
                    Qinn @stephenw10
                    last edited by Feb 19, 2024, 3:07 PM

                    @stephenw10 So it would benefit if it was a workstation? Just for academic reasons, how could I test if there is er difference checking vs unchecking these 2 settings?

                    Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                    Firmware: Latest-stable-pfSense CE (amd64)
                    Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

                    1 Reply Last reply Reply Quote 0
                    • S
                      stephenw10 Netgate Administrator
                      last edited by Feb 19, 2024, 3:41 PM

                      Yes. Or a server. Try running an iperf test through the firewall; expect no difference. Try an iperf test to/from the firewall; you might see a difference.

                      1 Reply Last reply Reply Quote 0
                      • Q
                        Qinn
                        last edited by Feb 21, 2024, 8:54 AM

                        Thnx

                        Hardeware: Intel(R) Celeron(R) J4125 CPU @ 2.00GHz 102 GB mSATA SSD (ZFS)
                        Firmware: Latest-stable-pfSense CE (amd64)
                        Packages: pfBlockerNG devel-beta (beta tester) - Avahi - Notes - Ntopng - PIMD/udpbroadcastrelay - Service Watchdog - System Patches

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