Skip to content

Commit c9ccf8e

Browse files
committed
TELCODOCS-1169: Corrections to power saving configuration docs
1 parent ee4b3ff commit c9ccf8e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

modules/cnf-provisioning-real-time-and-low-latency-workloads.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ When you configure a node with a power saving configuration, you must configure
339339

340340
By disabling P-states and C-states at the pod level, you can configure high priority workloads for best performance and lowest latency.
341341

342-
.Power saving configurations
342+
.Configuration for high priority workloads
343343
[cols="1,2", options="header"]
344344
|====
345345
|Annotation
@@ -348,7 +348,7 @@ By disabling P-states and C-states at the pod level, you can configure high prio
348348
a|[source,yaml]
349349
----
350350
annotations:
351-
cpu-c-states.crio.io: "enable"
351+
cpu-c-states.crio.io: "disable"
352352
cpu-freq-governor.crio.io: "<governor>"
353353
----
354354
|Provides the best performance for a pod by disabling C-states and specifying the governor type for CPU scaling. The `performance` governor is recommended for high priority workloads.
@@ -416,12 +416,11 @@ spec:
416416
[sysfs]
417417
/sys/devices/system/cpu/intel_pstate/max_perf_pct = <x> <1>
418418
----
419-
<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`.
419+
<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 will run at when the cores are all fully occupied.
420420

421-
422-
. Add the desired annotations to your pods. The annotations override the `default` settings.
421+
. Add the desired annotations to your high priority workload pods. The annotations override the `default` settings.
423422
+
424-
.Example power saving annotation
423+
.Example high priority workload annotation
425424
[source,yaml]
426425
----
427426
apiVersion: v1
@@ -430,7 +429,7 @@ metadata:
430429
...
431430
annotations:
432431
...
433-
cpu-c-states.crio.io: "enable"
432+
cpu-c-states.crio.io: "disable"
434433
cpu-freq-governor.crio.io: "<governor>"
435434
...
436435
...

0 commit comments

Comments
 (0)