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

    Single core on multiple threads requests

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 430 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.
    • Mr_JinXM
      Mr_JinX
      last edited by

      Hi,

      I have an APU4 running 23.05.1, when I run an iperf through the box between vlans "iperf3.exe -c 172.16.0.203 -t 30 -p 5201 -P 32" which should be using multiple threads, while monitoring the CPU on the box "top -p" i can see that only one of the CPU cores is being pegged, is this expected?

      snippet.png

      I was under the impression that the PfSense software took advantage of all core under multi-thread scenarios.

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @Mr_JinX
        last edited by

        @Mr_JinX Three of those are 98+% used…? (2% idle)

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        Mr_JinXM 1 Reply Last reply Reply Quote 0
        • Mr_JinXM
          Mr_JinX @SteveITS
          last edited by

          @SteveITS

          I'm looking at cpu 3 under the system column,

          1 Reply Last reply Reply Quote 0
          • AndyRHA
            AndyRH
            last edited by

            I suspect the process does not have enough work for all of the CPUs to use 100%. Ideally you do not want a thread hopping cores as this tends to invalidate the core's cache. It is common to see busy systems with a core or 2 with less work.

            o||||o
            7100-1u

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by stephenw10

              system vs interrupt load. 3 cores there are pegged though. The loading from pf itself appears as interrupt load.

              Check the NICs are using more than one queue.

              Try testing between different NICs rather than VLANs on the same NIC, which share the same queues.

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