Through Proxmox, I installed HA 10.1 and 9.5 on a Intel(R) Celeron(R) CPU J3455 @ 1.50GHz. It has 4 cores and 8GB RAM. Each instance (not turned on at the same time), is using 40% CPU with all 4 cores and 6GB RAM allotted to it. This is after a fresh install that has been left sitting for over a day post install. No configurations have been made other than install and creating an account.
For comparison, I have my existing production HA on a raspberry pi 3 with tons of add-ons and customizations. It currently runs with 20% or less CPU usage.
I wanted to get off the raspberry pi to something more robust since I had this J3455 PC laying around, but am unsure why something with clearly better (not the best) specs, is having random high CPU usage right out of a fresh install. I would expect CPU to be 0-5% at a maximum. I have tried following several guides online, tweaking VM settings on proxmox, but nothing works. Is it just the hardware being too low-end?
I’m running HA supervised (no VM) on J1900 @ 2 GHz and 4GB RAM only, quiet huge install, around 1000 sensors, 30 integrations, 17 media players and so on.
So quiet the same specs processor.
After a restart, I see around 40%, with some momentary spikes up to 100%, after it settles down, it is stable between 7-12 %.
So, yes, with a fresh install it should be even less.
Not sure, how the process of building an maintaining the HA database affects the numbers. And I can’t say anything about VM’s. I don’t use them.
Nothing very much special. Just install Debian 11 and then HA supervised.
The only downside is, your machine have to stay dedicated to HA only, no other containers, or your system will get unsupported.
I’m happy with that, as I don’t even want my smart home to go down, when some other container goes. I want it to be independent.
Figured out my issue. hassio_dns was eating my CPU up. I have a personal firewall rule blocking / redirecting DNS and it was trying to reach 1.1.1.1 , 1.0.0.1 port 853 about 10,000+ times every second. I didn’t disable the fallbackdns on HA. I just excluded this on my firewall. My CPU dropped to < 5% after doing this.
I used the add-on “glance” to see what processes were taking up the CPU.
Running HA in Proxmox as VM and my router is in Proxmox too as VM too and today i install https-dns-proxy addon.
Once disabled the ** https-dns-proxy** cpu usage drop down.