summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-09-12 21:01:03 +0200
committerGitHub <noreply@github.com>2024-09-12 21:01:03 +0200
commit3992e0634190c31ee7511a961feb6449491e771b (patch)
tree9e8a82fbd7cd0aa6e7da223d1d76c30cd366487b /docs
parentae6887eb8f87b853d1d53b115f375b2d399263e4 (diff)
parent1930ed17847404d185b1bef0f1e428a37870de67 (diff)
downloadvyos-documentation-3992e0634190c31ee7511a961feb6449491e771b.tar.gz
vyos-documentation-3992e0634190c31ee7511a961feb6449491e771b.zip
Merge pull request #1543 from nvollmar/T6703
T6703: Add documentation for AMD pstate driver
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/system/option.rst24
1 files changed, 22 insertions, 2 deletions
diff --git a/docs/configuration/system/option.rst b/docs/configuration/system/option.rst
index 44c66186..b5ebaaee 100644
--- a/docs/configuration/system/option.rst
+++ b/docs/configuration/system/option.rst
@@ -43,8 +43,6 @@ Kernel
.. 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
@@ -52,6 +50,28 @@ Kernel
.. note:: Setting will only become active with the next reboot!
+.. cfgcmd:: set system option kernel amd-pstate-driver <mode>
+
+ Enables and configures p-state driver for modern AMD Ryzen and Epyc CPUs.
+
+ The available modes are:
+
+ * ``active`` This is the low-level firmware control mode based on the profile
+ set and the system governor has no effect.
+ * ``passive`` The driver allows the system governor to manage CPU frequency
+ while providing available performance states.
+ * ``guided`` The driver allows to set desired performance levels and the firmware
+ selects a performance level in this range and fitting to the current workload.
+
+ This will add the following two options to the Kernel commandline:
+
+ * ``initcall_blacklist=acpi_cpufreq_init`` Disable default ACPI CPU frequency scale
+ * ``amd_pstate={mode}`` Sets the p-state mode
+
+ .. note:: Setting will only become active with the next reboot!
+
+ .. seealso:: https://docs.kernel.org/admin-guide/pm/amd-pstate.html
+
***********
HTTP client
***********