mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// scalability_and_performance/cnf-low-latency-tuning.adoc
|
|
|
|
:_content-type: CONCEPT
|
|
[id="configuring-workload-hints_{context}"]
|
|
= Configuring workload hints manually
|
|
|
|
.Procedure
|
|
|
|
. Create a `PerformanceProfile` appropriate for the environment's hardware and topology as described in the table in "Understanding workload hints". Adjust the profile to match the expected workload. In this example, we tune for the lowest possible latency.
|
|
|
|
. Add the `highPowerConsumption` and `realTime` workload hints. Both are set to `true` here.
|
|
+
|
|
[source,yaml]
|
|
----
|
|
apiVersion: performance.openshift.io/v2
|
|
kind: PerformanceProfile
|
|
metadata:
|
|
name: workload-hints
|
|
spec:
|
|
...
|
|
workloadHints:
|
|
highPowerConsumption: true <1>
|
|
realTime: true <2>
|
|
----
|
|
<1> If `highPowerConsumption` is `true`, the node is tuned for very low latency at the cost of increased power consumption.
|
|
<2> Disables some debugging and monitoring features that can affect system latency.
|