Skip to content

Commit

Permalink
Merge pull request #1307 from vyos/T2447-cpu-cstate
Browse files Browse the repository at this point in the history
T2447: add configurable kernel boot option 'disable-power-saving'
  • Loading branch information
c-po authored Mar 5, 2024
2 parents 4089516 + f0324d8 commit de7fab8
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion docs/configuration/system/option.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
***********
Expand Down

0 comments on commit de7fab8

Please sign in to comment.