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

New SG2440 - Disable hardware TCP segmentation offload

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
13 Posts 5 Posters 13.1k 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
    pfswor
    last edited by Apr 4, 2015, 8:16 PM

    Hi,

    Just received new SG2440 from pfsense store. I noticed that the following two options are checked (disabled):

    Disable hardware TCP segmentation offload
    Disable hardware large receive offload

    I would think the intel nics in the new boxes should be able to handle these…any reason I should not uncheck?

    Thanks,

    1 Reply Last reply Reply Quote 0
    • D
      dennypage
      last edited by Apr 4, 2015, 11:31 PM

      I'm running with offloading enabled. No issues for me on the wired interfaces.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Apr 6, 2015, 12:48 AM

        Generally speaking you should leave those disabled. They only really help in a situation where you're terminating the tcp connection such as server. You shouldn't be running pfSense as a server.

        Steve

        1 Reply Last reply Reply Quote 0
        • D
          dennypage
          last edited by Apr 6, 2015, 4:47 AM

          While the default pfSense doesn't have a lot TCP connections terminated on the system, there are some (such as OpenVPN). And there are packages that can add a lot of them (such as squid).

          As long as the hardware handles it correctly, is there a disadvantage to hardware offload?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by Apr 6, 2015, 7:24 AM

            @dennypage:

            While the default pfSense doesn't have a lot TCP connections terminated on the system, there are some (such as OpenVPN).

            If you are running OpenVPN over TCP, you are already lost… offloading certainly will not improve the performance. Do what you want, the warnings below the checkboxes are self-explanatory.

            1 Reply Last reply Reply Quote 0
            • S
              stephenw10 Netgate Administrator
              last edited by Apr 6, 2015, 8:58 AM

              @dennypage:

              As long as the hardware handles it correctly, is there a disadvantage to hardware offload?

              Non that I've seen on Intel NICs but since there's no advantage either and almost everyone is running with them disabled you may be the one discovering some new edge case.
              On some hardware and in some VMs it can result in very poor performance.

              Steve

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned
                last edited by Apr 6, 2015, 9:27 AM

                No matter what you do, kindly do NOT enable the polling "feature" – unless you like to get yourself cut off the firewall...

                1 Reply Last reply Reply Quote 0
                • S
                  stephenw10 Netgate Administrator
                  last edited by Apr 6, 2015, 11:38 AM

                  Yeah, definitely don't enable polling!
                  As one customer put it recently 'very bad things happened'.  ;)

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • J
                    jimp Rebel Alliance Developer Netgate
                    last edited by Apr 6, 2015, 2:19 PM

                    tl;dr version: Leave the boxes checked, unless you know what you're doing, and then leave them checked anyhow because you realize that it's not desirable to uncheck them in >99% of cases.

                    Long version: It's explained in detail here: https://doc.pfsense.org/index.php/Advanced_Setup#Networking

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • D
                      dennypage
                      last edited by Apr 6, 2015, 4:13 PM

                      @jimp:

                      Leave the boxes checked, unless you know what you're doing, and then leave them checked anyhow because you realize that it's not desirable to uncheck them in >99% of cases.

                      Long version: It's explained in detail here: https://doc.pfsense.org/index.php/Advanced_Setup#Networking

                      Okay, you win.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dennypage
                        last edited by Apr 6, 2015, 4:19 PM

                        @doktornotor:

                        If you are running OpenVPN over TCP, you are already lost…

                        Unfortunately I end up having to use TCP a fair bit in mobile. I've encountered a number of networks that have UDP blocked or have harsh UDP session timeouts.

                        1 Reply Last reply Reply Quote 0
                        • S
                          stephenw10 Netgate Administrator
                          last edited by Apr 6, 2015, 5:45 PM

                          You could be in the 1% then.  :)
                          The options are there in case you need them, just be aware of what you're doing before enabling it.

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • J
                            jimp Rebel Alliance Developer Netgate
                            last edited by Apr 6, 2015, 5:56 PM

                            There are occasional uses for them but it's cases where pfSense is not acting as a router but as an endpoint (e.g. stand-alone appliance for DHCP, DNS, etc).

                            It's not a deficiency in the hardware or the OS, it's just that TSO and LRO are not intended for use on a firewall/router. The details are on the wiki.

                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                            Need help fast? Netgate Global Support!

                            Do not Chat/PM for help!

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