A. Enable Static CPU Manager
The default policy is none. It must be changed to static.
B. Enable Topology Manager (For NUMA Pinning)
If you want the CPU and Memory to be "pinned" physically close to each other (on the same NUMA node) for maximum performance, the Topology Manager must be enabled.
- Kubelet Flag:
--topology-manager-policy=best-effort (or restricted/single-numa-node)
C. Memory Manager (Optional/Advanced)
Kubernetes introduced a Memory Manager to guarantee memory allocation from specific NUMA nodes.
- Kubelet Flag:
--memory-manager-policy=Static
A. Enable Static CPU Manager
The default policy is none. It must be changed to static.
Kubelet Flag:
--cpu-manager-policy=staticRequirement: The node must also have
--kube-reservedand/or--system-reservedset correctly so the Kubelet knows which CPUs not to give to your pod.B. Enable Topology Manager (For NUMA Pinning)
If you want the CPU and Memory to be "pinned" physically close to each other (on the same NUMA node) for maximum performance, the Topology Manager must be enabled.
--topology-manager-policy=best-effort(or restricted/single-numa-node)C. Memory Manager (Optional/Advanced)
Kubernetes introduced a Memory Manager to guarantee memory allocation from specific NUMA nodes.
--memory-manager-policy=Static