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

    MSS setting - what will the size be?

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 3 Posters 791 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.
    • M
      matsan
      last edited by

      Hello,
      found out that our performance problems were due to VLAN tagging and hardware that did not support the tags natively. We thus changed the MTU to 1482 but still got problems. Experimenting with MSS and setting that to 1442 we finally got the performance expected. Also tried with 1482 with good performance.

      My question is now how the MSS is calculated.

      On the interface page, there is a text under the MSS field:
      "If you enter a value in this field, then MSS clamping for TCP connections to the value entered above minus 40 (TCP/IP header size) will be in effect. "

      Should I enter 1442 or 1482 in the MSS field to get optimum performance?

      Thanks,
      /Mattias

      1 Reply Last reply Reply Quote 0
      • R
        robi
        last edited by

        What kind of NICs are there, having such problems?

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          MSS should be MTU -20 (due to some whacky code logic the text in the GUI is misleading as it is…)

          1 Reply Last reply Reply Quote 0
          • M
            matsan
            last edited by

            @robi:

            What kind of NICs are there, having such problems?

            It's an APU1D box with the Realtek 8111E GB interfaces.
            The unit is connected to a Cisco 2960 (trunk-only port). I maxed out at 85 MBps on a 100 MBps Internet line before changing the MTU - then I got 98 MBps throughput without changing anything else, leading me to suspect MTU problems due to the VLAN tags.

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