I’ve recently upgraded to a more powerful NUC so that I can go down the Debian route so that I can use the NUC for more than just HomeAssistant if I wish too in the future
Installation of Debian wasn’t the easiest as I’m new to Linux but it’s up and running and everything functions as it should. HomeAssistant is in a docker container as well as portainer and everything else is installed through the supervisor in HomeAssistant. I also have the Gnome GUI as I prefer a GUI.
The problem I am facing is with CPU usage. For some reason over a short period of time my CPU usage goes from basically nothing up to a constant about 14% which of course is generating more heat, noise and power usage than should be required. Please see the image which shows where it rises too and you can see where I restarted the NUC and how it goes back up slowly afterwards. (top is CPU usage, bottom ram)
Using the top command it seems there are a few services that spike CPU usage
Most common is “python3” which spikes up to a maximum of 25.6% CPU usage
“gnome shell” spikes up to 13.3%
“networkmanager” spikes up to 15.3%
and occasionally “nmdb” spikes up to 8.3%
I hope some Linux guru here can help in identifying what’s going on and how to solve this CPU usage issue, I really don’t want to go back to just the HomeAssistant image on this NUC when it is clearly capable of so much more