1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/snippets/pg-ztp-using-pg-to-maximize-power-saving-mode.adoc
Aidan Reilly 01fade44b2 Updates for PolicyGenerator and deprecated PolicyGenTemplate
Updates for Max

David's comments

Adding merge comparison

Reorg for clarity

Updates for David
2024-06-18 11:16:09 +01:00

15 lines
799 B
Plaintext

:_mod-docs-content-type: SNIPPET
[source,yaml]
----
- path: source-crs/TunedPerformancePatch.yaml
patches:
- spec:
profile:
- name: performance-patch
data: |
# ...
[sysfs]
/sys/devices/system/cpu/intel_pstate/max_perf_pct=<x> <1>
----
<1> The `max_perf_pct` controls the maximum frequency the `cpufreq` driver is allowed to set as a percentage of the maximum supported CPU frequency. This value applies to all CPUs. You can check the maximum supported frequency in `/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`. As a starting point, you can use a percentage that caps all CPUs at the `All Cores Turbo` frequency. The `All Cores Turbo` frequency is the frequency that all cores run at when the cores are all fully occupied.