summaryrefslogtreecommitdiff
path: root/docs/configuration
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-05 20:32:16 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-05 19:35:49 +0000
commit7943e5513cbe7a0d910c0fba025c7eb70d0fe71e (patch)
tree54a9bf06c84b8059cf8c6ed130fc96fb63b92c9d /docs/configuration
parent3f854e2cb339056c3b652e65b5b041674ac0e18c (diff)
downloadvyos-documentation-7943e5513cbe7a0d910c0fba025c7eb70d0fe71e.tar.gz
vyos-documentation-7943e5513cbe7a0d910c0fba025c7eb70d0fe71e.zip
T2447: add configurable kernel boot option 'disable-power-saving'
Lower available CPU C states to a minimum if this option set. This will set Kernel commandline options "intel_idle.max_cstate=0 processor.max_cstate=1". (cherry picked from commit f0324d8a03c0c0cd7ed250b722ca4a2aff55f617)
Diffstat (limited to 'docs/configuration')
-rw-r--r--docs/configuration/system/option.rst19
1 files changed, 18 insertions, 1 deletions
diff --git a/docs/configuration/system/option.rst b/docs/configuration/system/option.rst
index 788765f0..02c889dd 100644
--- a/docs/configuration/system/option.rst
+++ b/docs/configuration/system/option.rst
@@ -24,7 +24,7 @@ General
.. 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.
Kernel
@@ -35,6 +35,23 @@ Kernel
Disable all optional CPU mitigations. This improves system performance,
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
***********