mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
Changes for Martin Martin's 3rd review comments Martin's 4th review Final comments from Martin More updates for Martin Tweaks for Martin Martin's comments 22-Apr - workload pods Apr 30 review comments final review comments Michael's comments
27 lines
948 B
Plaintext
27 lines
948 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * scalability_and_performance/low_latency_tuning/cnf-provisioning-low-latency-workloads.adoc
|
|
|
|
[id="cnf-disabling-cpu-cfs-quota_{context}"]
|
|
= Disabling CPU CFS quota
|
|
|
|
To eliminate CPU throttling for pinned pods, create a pod with the `cpu-quota.crio.io: "disable"` annotation. This annotation disables the CPU completely fair scheduler (CFS) quota when the pod runs.
|
|
|
|
.Example pod specification with `cpu-quota.crio.io` disabled
|
|
[source,yaml]
|
|
----
|
|
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
annotations:
|
|
cpu-quota.crio.io: "disable"
|
|
spec:
|
|
runtimeClassName: performance-<profile_name>
|
|
#...
|
|
----
|
|
|
|
[NOTE]
|
|
====
|
|
Only disable CPU CFS quota when the CPU manager static policy is enabled and for pods with guaranteed QoS that use whole CPUs. For example, pods that contain CPU-pinned containers. Otherwise, disabling CPU CFS quota can affect the performance of other containers in the cluster.
|
|
====
|