You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/cnf-provisioning-real-time-and-low-latency-workloads.adoc
+118-3Lines changed: 118 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,8 +231,6 @@ status:
231
231
runtimeClass: performance-manual
232
232
----
233
233
234
-
* The pod must have the `cpu-load-balancing.crio.io: true` annotation.
235
-
236
234
The Node Tuning Operator is responsible for the creation of the high-performance runtime handler config snippet under relevant nodes and for creation of the high-performance runtime class under the cluster. It will have the same content as default runtime handler except it enables the CPU load balancing configuration functionality.
237
235
238
236
To disable the CPU load balancing for the pod, the `Pod` specification must include the following fields:
You can enable power savings for a node that has low priority workloads that are colocated with high priority workloads without impacting the latency or throughput of the high priority workloads. Power saving is possible without modifications to the workloads themselves.
332
+
333
+
[IMPORTANT]
334
+
====
335
+
The feature is supported on Intel Ice Lake and later generations of Intel CPUs. The capabilities of the processor might impact the latency and throughput of the high priority workloads.
336
+
====
337
+
338
+
When you configure a node with a power saving configuration, you must configure high priority workloads with performance configuration at the pod level, which means that the configuration applies to all the cores used by the pod.
339
+
340
+
By disabling P-states and C-states at the pod level, you can configure high priority workloads for best performance and lowest latency.
341
+
342
+
.Power saving configurations
343
+
[cols="1,2", options="header"]
344
+
|====
345
+
|Annotation
346
+
|Description
347
+
348
+
a|[source,yaml]
349
+
----
350
+
annotations:
351
+
cpu-c-states.crio.io: "enable"
352
+
cpu-freq-governor.crio.io: "<governor>"
353
+
----
354
+
|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.
355
+
|====
356
+
357
+
358
+
.Prerequisites
359
+
360
+
* You enabled C-states and OS-controlled P-states in the BIOS
361
+
362
+
.Procedure
363
+
364
+
. Generate a `PerformanceProfile` with `per-pod-power-management` set to `true`:
365
+
+
366
+
[source,terminal]
367
+
----
368
+
$ podman run --entrypoint performance-profile-creator -v \
<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`.
420
+
421
+
422
+
. Add the desired annotations to your pods. The annotations override the `default` settings.
Copy file name to clipboardExpand all lines: modules/ztp-du-bios-config-reference.adoc
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,8 +65,8 @@ The following table is a general recommendation for vDU cluster host BIOS config
65
65
|Disable Energy Efficient Turbo to prevent the processor from using an energy-efficiency based policy.
66
66
67
67
|Hardware P-States
68
-
|Disabled
69
-
|Disable `P-states` (performance states) to optimize the operating system and CPU for performance over power consumption.
68
+
|Enabled or Disabled
69
+
|Enable OS-controlled P-States to allow power saving configurations. Disable `P-states` (performance states) to optimize the operating system and CPU for performance over power consumption.
70
70
71
71
|Package C-State
72
72
|C0/C1 state
@@ -89,3 +89,8 @@ The following table is a general recommendation for vDU cluster host BIOS config
89
89
====
90
90
Enable global SR-IOV and VT-d settings in the BIOS for the host. These settings are relevant to bare-metal environments.
91
91
====
92
+
93
+
[NOTE]
94
+
====
95
+
Enable both `C-states` and OS-controlled `P-States` to allow per pod power management.
* For more information about recommended BIOS configuration, see xref:../scalability_and_performance/ztp-vdu-validating-cluster-tuning.adoc#ztp-du-bios-config-reference_vdu-config-ref[Recommended BIOS configuration for vDU cluster hosts].
0 commit comments