I’ve set up Home Assistant over the weekend on an old thin client (regular pc with 2gb ram and an older Intel Celeron U) and am trying to set the max cpu frequency within linux on the host os.
I’ve gained access to the host thanks to this guide but I am unable to figure out if there is a package manager installed.
My linux knowledge is… rudimentary. So i’ve always used apt-get, yum etc. for package installation.
There is no package manager. Also most of the filesystem is read only. HAOS has no way to install additional software or make significant changes to the host system by design. It is a dedicated, single-purpose OS and all changes to it should be made through supported mechanisms (HA UI, CLI and API).
I tried accessing the CPU Governor within the HA SSH Terminal but had no access to the files under /sys/devices/system/cpu/cpu*/cpufreq/
My plattform does not allow for cpu frequency limits within bios, so I have to do this via the OS. What’s the supported mechanism here?
If I re-install with docker, will I be able to import all settings and data from the current installation?
Why am I trying to do this?
The celeron U hardware can scale from 800 to 1800 mhz, the system currently constantly changes to higher cpu frequencies despite an actual need for this additional performance.
I want to optimize power consumtion. 800 mhz == 6-7 Watts, 1800mhz == 15-19 Watts.
I simply want to limit the system to 800mhz and save 30€/year on power consumtion costs.
Docker and VM settings affect the applications OS/container/system but do not have any real effect upon the main host system. The application may use less resources but the host can still use as much as it wants.
Host system May still run high cpu/power depending on its own settings.