Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 2.09 KB

k8s-best-practices-far-edge-rt-requirements-and-cpu-engineering.adoc

File metadata and controls

27 lines (18 loc) · 2.09 KB

RT requirements and CPU engineering

In regards to CPU engineering and layout, the platform infrastructure Pods and operating system processes will require CPU resources in addition to workload requirements. To facilitate these requirements workload partitioning and performance profiles are used in tandem to accommodate this. The workload partitioning should be set up during the installation of the SNO cluster. An example cluster manifest is here.

Provided that these manifests are created at runtime, the machineConfig can be changed to modify the number of cores allocated to the house keeping pods and processes. Additionally, these partition manifests must correspond to the same configuration as the performance profile..

This configuration can be verified by examining the allowed CPUs for systemd:

# cat /proc/1/status|grep Cpus_allowed_list
Cpus_allowed_list: 0-1,32-33

Housekeeping pods should have the following annotation in their namespace:

annotations:
  workload.openshift.io/allowed: management

This ensures they are given access to the same cores as above. More information can be found in the workload partitioning documentation.

The platform provides the different types of CPU pools to the various application threads. The low-latency application, like vRAN, should be designed and implemented properly to fully utilize this platform. More information can be found in the Low latency tuning documentation.