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

    Kern.hz=100 -> up tp 10ms lag?

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 1.9k 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
      senser
      last edited by

      I was wondering if a 100Hz Kernel Timer Frequency on the firewall could add a worst case latency of 10ms to data hitting the firewall. I tried to find some more information on this but wasn't too successful (since I don't really understand what is directly and possibly indirectly effected by that variable) - does the Kernel Timer Frequency has an impact on the time that data needs to traverse the firewall? Will 1000Hz reduce lag (from 10ms to 1ms)? Thank you so much.

      Note that, in my case, throughput is not as important as low latency (firewall is mostly idle with some DSL 6000 traffic, so if a 1000Hz timer adds some overhead, I wouldn't have to worry I guess).

      We use the mighty pf, we cannot be fooled.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        No. Not unless you're enabling polling, which isn't recommended.

        1 Reply Last reply Reply Quote 0
        • S
          senser
          last edited by

          I was hoping for some technical details. But a no is better than nothing :)
          Im not using polling, tried it and the GUI and became completely unresponsive on ALIX hardware.
          How about traffic shaping? Does kern.hz has an impact on the, say, "precision" of the traffic shaper?
          Is powersavings the only reason you default to 100Hz on embedded systems?

          We use the mighty pf, we cannot be fooled.

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