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

    pfSense NTP node (Or any heavy UDP) traffic tuning

    Scheduled Pinned Locked Moved Documentation
    3 Posts 2 Posters 770 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.
    • Z
      Zermus
      last edited by Zermus

      I was tuning my pfSense for a Gigabit NTP node that runs behind it and I came up with this configuration to keep my pfsense stable.

      kern.ipc.nmbclusters="1000000"
      kern.ipc.nmbjumbop="524288"
      hw.ix.max_interrupt_rate="64000"
      net.isr.maxthreads="-1"
      net.isr.bindthreads="1"
      net.pf.source_nodes_hashsize="1048576"
      

      NOTE: hw.ix is specific to your NIC drivers, so you might have to tune this to your own NIC driver.

      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by johnpoz

        How is this suppose to help anyone?

        You have not explained any of your reasoning behind any of your numbers. Nor explained what makes your traffic heavier than normal, etc.. I run a ntp server behind pfsense that is part of the ntp pool - does that make it heavy?

        If your going to post such info - you need to explain the reasoning behind each setting.. Or its just pointless noise.

        The person that understand what these settings do has zero reason to look for these.. So the only one that might find these and use them is someone that doesn't understand them - and you have provided zero insight to what they might do to solve some issue he/she is having..

        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

        1 Reply Last reply Reply Quote 0
        • Z
          Zermus
          last edited by Zermus

          Do you run your NTP server at the 1000Mb level?

          Anyone who is running a heavy traffic UDP server and is getting kernel panic crashes will come across this thread. They have every reason to have this info. This will help them and save them weeks of troubleshooting.

          If you don't tune your NIC drivers for heavy traffic you'll run into kernel panics. See thread: https://forum.netgate.com/topic/144075/ryzen-3-2200g-randomly-crashing/22

          And existing (Not as fine tuned) documentation: https://docs.netgate.com/pfsense/en/latest/hardware/tuning-and-troubleshooting-network-cards.html

          This just adds on to that existing NIC tuning doc for handling heavier traffic loads.

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