Adopt README for script change

This commit is contained in:
Thomas Gebert 2025-10-07 15:35:08 +02:00
parent f62971eb0a
commit 34edd4e2a7

View File

@ -67,7 +67,7 @@ ansible -b storage\_nodes -m shell -a "systemctl enable --now cpupower.service"
#### Sidenotes
##### cpupower.sh
The script uses *cpupower idle-set --disable-by-latency*, which is out of convenience since this option allows to disable all C-States that take more time than specified at once. While just using disable just disables a single C-States but does not disable deeper one. E.g. (based on the example from [cpupower idle-info](#cpupowerandc-stateconfiguration-cpupowe)) *cpupower idle-set --disable 4* would disable C1E status but would leave C6 status active...
The script can be configured to either use a C-State as MAX, which is preferred or by latency. Both can be configured in /etc/default/cpupower.
## How To Check the actual status
To check the actual status of the CPU power settings it is recommended to query it directly with *cpupower*.