Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pkg/consts/qos.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ const (
// For cgroup v1, the cpu burst value is calculated using cpu.cfs_quota_us * (cpu_burst_percent / 100)
// For cgroup v2, the cpu burst value is calculated using cpu.max * (cpu_burst_percent / 100)
PodAnnotationCPUEnhancementCPUBurstPercent = "cpu_burst_percent"

// PodAnnotationCPUEnhancementNumaAffinity provides a mechanism to enable numa-affinity
// for A SINGLE Pod to avoid contentions on cpu cores.
//
// - this enhancement is only supported for dedicated-cores and shared-cores, for now and foreseeable future.
// - shared cores with numa-affinity and dedicated cores with numa-affinity can share different cpu cores in
// - same numa nodes.
PodAnnotationCPUEnhancementNumaAffinity = "cpu_numa_affinity"
PodAnnotationCPUEnhancementNumaAffinityEnable = "true"
)

// const variables for pod annotations about qos level enhancement in network
Expand Down