-
Notifications
You must be signed in to change notification settings - Fork 1.9k
TELCODOCS-1731 - Update low latency tuning docs #71797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
modules/cnf-about-hyperthreading-for-low-latency-and-real-time-applications.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * scalability_and_performance/low_latency_tuning/cnf-understanding-low-latency.adoc | ||
|
|
||
| :_mod-docs-content-type: CONCEPT | ||
| [id="cnf-about-hyper-threading-for-low-latency-and-real-time-applications_{context}"] | ||
| = About Hyper-Threading for low latency and real-time applications | ||
|
|
||
| Hyper-Threading is an Intel processor technology that allows a physical CPU processor core to function as two logical cores, executing two independent threads simultaneously. Hyper-Threading allows for better system throughput for certain workload types where parallel processing is beneficial. The default {product-title} configuration expects Hyper-Threading to be enabled. | ||
|
|
||
| For telecommunications applications, it is important to design your application infrastructure to minimize latency as much as possible. Hyper-Threading can slow performance times and negatively affect throughput for compute-intensive workloads that require low latency. Disabling Hyper-Threading ensures predictable performance and can decrease processing times for these workloads. | ||
|
|
||
| [NOTE] | ||
| ==== | ||
| Hyper-Threading implementation and configuration differs depending on the hardware you are running {product-title} on. Consult the relevant host hardware tuning information for more details of the Hyper-Threading implementation specific to that hardware. Disabling Hyper-Threading can increase the cost per core of the cluster. | ||
| ==== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
modules/cnf-about_hyperthreading_for_low_latency_and_real_time_applications.adoc
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
modules/cnf-collecting-low-latency-tuning-debugging-data-for-red-hat-support.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| // * scalability_and_performance/low_latency_tuning/cnf-provisioning-low-latency-workloads.adoc | ||
|
|
||
| :_mod-docs-content-type: PROCEDURE | ||
| [id="cnf-configuring-high-priority-workload-pods_{context}"] | ||
| = Disabling power saving mode for high priority pods | ||
|
|
||
| You can configure pods to ensure that high priority workloads are unaffected when you configure power saving for the node that the workloads run on. | ||
|
|
||
| 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. | ||
|
|
||
| By disabling P-states and C-states at the pod level, you can configure high priority workloads for best performance and lowest latency. | ||
|
|
||
| .Configuration for high priority workloads | ||
| [cols="1,2,3", options="header"] | ||
|
|
||
| |=== | ||
| | Annotation | Possible Values | Description | ||
|
|
||
| |`cpu-c-states.crio.io:` a| * `"enable"` | ||
| * `"disable"` | ||
| * `"max_latency:microseconds"` | This annotation allows you to enable or disable C-states for each CPU. Alternatively, you can also specify a maximum latency in microseconds for the C-states. For example, enable C-states with a maximum latency of 10 microseconds with the setting `cpu-c-states.crio.io`: `"max_latency:10"`. Set the value to `"disable"` to provide the best performance for a pod. | ||
|
|
||
| | `cpu-freq-governor.crio.io:` | Any supported `cpufreq governor`. | Sets the `cpufreq` governor for each CPU. The `"performance"` governor is recommended for high priority workloads. | ||
| |=== | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have configured power saving in the performance profile for the node where the high priority workload pods are scheduled. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Add the required annotations to your high priority workload pods. The annotations override the `default` settings. | ||
| + | ||
| .Example high priority workload annotation | ||
| [source,yaml] | ||
| ---- | ||
| apiVersion: v1 | ||
| kind: Pod | ||
| metadata: | ||
| #... | ||
| annotations: | ||
| #... | ||
| cpu-c-states.crio.io: "disable" | ||
| cpu-freq-governor.crio.io: "performance" | ||
| #... | ||
| #... | ||
| spec: | ||
| #... | ||
| runtimeClassName: performance-<profile_name> | ||
| #... | ||
| ---- | ||
|
|
||
| . Restart the pods to apply the annotation. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.