Site-to-Site Wireguard: Very high CPU usages
-
@stephenw10, sorry for the late reply.
This is without GUI running and first two lines a re constantly 97%-99%
-S
-
Looks like the very same/similar issue?
https://forum.netgate.com/topic/190824/cpu-load-on-1100/2 -
@MacUsers 99% idle is good.
See thread https://forum.netgate.com/topic/190824/cpu-load-on-1100/22
-
@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!
-
@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
-
@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."
-
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?
-
@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
-
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
-
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?