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

Bump default MBUF's?

Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
4 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.
  • Q
    q54e3w
    last edited by Dec 6, 2015, 4:40 PM

    With the increase in usage of multicore processors like the C2758, is it worth bumping the default MBUF value for 2.3? I always have to nudge it up slightly on clean installs and recall seeing quite a few threads from new users on this point.

    1 Reply Last reply Reply Quote 0
    • R
      RyujinJakka
      last edited by Dec 7, 2015, 10:32 AM

      I would also really like this

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Dec 7, 2015, 5:58 PM

        The problem is that it is very hardware-dependent and some hardware requires it be set in loader.conf before the NICs are initialized so we can't detect the hardware and then tune it.

        For hardware we sell, since we know the hardware, we pre-fill that and other things with better defaults but for general use it requires manual tuning by someone familiar with the hardware (read: you)

        It can be adjusted after boot by using a tunable, but that has a couple problems as well: Mostly that it's too late for some hardware, and also can be lost if an old config is restored, plus if it's too high it can run the system out of kernel memory.

        So any auto-tuning would not be trivial having to take quite a lot of factors into account: amount of RAM, kmem, NICs types/drivers/queues, etc, etc, etc.

        It's likely far too late for anything of that nature to make it into 2.3.

        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
        • J
          jwt Netgate
          last edited by Dec 10, 2015, 6:57 AM

          It's unlikely that we'll ever do this for the community version of pfSense (though one can hold out hope that FreeBSD auto-tunes this type of thing someday.)

          As JimP mentions, for the hardware that we sell (where we understand all of the characteristics, we can ship with tuned settings.

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