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

    Site-to-Site Wireguard: Very high CPU usages

    Scheduled Pinned Locked Moved General pfSense Questions
    wireguardcpu statsvpn tunnel
    15 Posts 4 Posters 810 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.
    • M
      MacUsers @stephenw10
      last edited by

      @stephenw10, sorry for the late reply.

      This is without GUI running and first two lines a re constantly 97%-99%

      73ee2d86-daf4-4d9f-a664-b4abed15c5af-image.png

      -S

      S stephenw10S 2 Replies Last reply Reply Quote 0
      • M
        MacUsers
        last edited by

        Looks like the very same/similar issue?
        https://forum.netgate.com/topic/190824/cpu-load-on-1100/2

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

          @MacUsers 99% idle is good.

          See thread https://forum.netgate.com/topic/190824/cpu-load-on-1100/22

          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!

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

            @MacUsers said in Site-to-Site Wireguard: Very high CPU usages:

            first two lines a re constantly 97%-99%

            Yes, but that's the idle usage. If those are at 100% the CPUs are doing nothing. That screenshot of the top output shows the expected low use, that 1100 is barely doing anything!

            M 1 Reply Last reply Reply Quote 0
            • M
              MacUsers @stephenw10
              last edited by MacUsers

              @stephenw10
              yeah, the graph on the status page is constantly showing near 100% CPU usages.
              Also, isn't a high CPU usage in Idle state normally indicates some sort of software issue; probably some background process is excessevely using the resources?? Not saying it's necessarily a bad thing. I never noticed that until upgraded to 24.11, if I think slowly.

              The moment I took the WG out of Interface widget, the graph on admin page, went down to 56% (still high for a machine, pretty much not doing anything)

              -S

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

                @MacUsers By "status page" do you mean the dashboard? If so did you try the patch in the above thread?

                "Idle" as in "it's not doing anything so falls into this bucket."

                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!

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

                  Yup the idle process simply indicates otherwise unused CPU cycles. It's expected in normal running.

                  You're adding the WG interface just to the Interfaces widget?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MacUsers @stephenw10
                    last edited by MacUsers

                    @stephenw10 said in Site-to-Site Wireguard: Very high CPU usages:

                    You're adding the WG interface just to the Interfaces widget?

                    yes, that's true

                    1 Reply Last reply Reply Quote 0
                    • M
                      MacUsers
                      last edited by MacUsers

                      Okay, looks like the issue is particularly on 1100. My other 8200 shows CPU usages just fine with or without any sorts of Wireguard widget. Whatever I do, on 8200, it always stays below 12% if not loaded.

                      -S

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

                        The CPU in the 8200 is a lot more powerful so you see the widget usage in the 1100 far more. That is especially so because the refresh rate can start to hit the time taken to pull the data.

                        Did you try the patch linked above to revert to the previous widget behaviour?

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