Merge pull request #1308 from vyos/mergify/bp/sagitta/pr-1307

T2447: add configurable kernel boot option 'disable-power-saving' (backport #1307)
This commit is contained in:
Christian Breunig 2024-03-05 20:36:11 +01:00 committed by GitHub
commit 1586b040b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,7 @@ General
.. cfgcmd:: set system option root-partition-auto-resize .. cfgcmd:: set system option root-partition-auto-resize
Enables the root partition auto-extension and resizes to the maximum Enables the root partition auto-extension and resizes to the maximum
available space on system boot. available space on system boot.
Kernel Kernel
@ -35,6 +35,23 @@ Kernel
Disable all optional CPU mitigations. This improves system performance, Disable all optional CPU mitigations. This improves system performance,
but it may also expose users to several CPU vulnerabilities. but it may also expose users to several CPU vulnerabilities.
This will add the following option to the Kernel commandline:
* ``mitigations=off``
.. note:: Setting will only become active with the next reboot!
.. cfgcmd:: set system option kernel disable-power-saving
Disable CPU power saving mechanisms also known as C states.
This will add the following two options to the Kernel commandline:
* ``intel_idle.max_cstate=0`` Disable intel_idle and fall back on acpi_idle
* ``processor.max_cstate=1`` Limit processor to maximum C-state 1
.. note:: Setting will only become active with the next reboot!
*********** ***********
HTTP client HTTP client
*********** ***********