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

    High CPU USAGE IN 2.7.0-RELEASE

    Scheduled Pinned Locked Moved General pfSense Questions
    41 Posts 4 Posters 2.2k Views 4 Watching
    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.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      em NICs are single queue. Only one CPU core can service the incoming and outgoing traffic queues. That means that on a 4 core CPU like you have it can never load all the cores.

      igb NICs are multiqueue and here are attaching with 4 queues. Enough to load all the CPU cores sufficiently to prevent other services running.

      You could override that by setting:

      dev.igb.0.iflib.override_nrxqs=1
      dev.igb.0.iflib.override_ntxqs=1
      

      Or you could try to set a lower max interrupt rate like maybe:
      hw.em.max_interrupt_rate=2000

      But just swapping the WAN and LAN NIC assignments so LAN in em0 is probably easier. Unless you're not local to the box.

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