EC6: Enhancing Energy Efficiency in Kubernetes Through Dynamic Extension of CPU Deep Idle States (C6)

Authors:

Abstract
Although the energy footprint of cloud infrastructures is becoming a critical concern, mainstream orchestration platforms such as Kubernetes (K8s) continue to prioritize performance over power efficiency. By default, K8s employs static CPU pinning for latency-sensitive services to ensure predictable performance and prevent resource contention. However, during service idle periods, residual background activities-such as runtime threads and maintenance tasks-occupy the assigned cores, preventing them from entering deep idle states (e.g., C6) and leading to unnecessary power consumption. This paper introduces EC6, a lightweight, idle-aware scheduling policy for K8s that consolidates idle services onto a reserved single CPU core, allowing other cores to transition into deep C-states during service inactivity. Upon resumption of service activity, EC6 transparently restores services to their original CPU cores with minimal latency, ensuring resource allocation constraints (i.e., , number of CPU cores) are maintained. Experimental evaluations show that EC6 increases per-core C6 residency by up to 30% and reduces idle power consumption by up to 13.6% compared to K8s' default container scheduling policy, without compromising performance. This demonstrates its effectiveness in improving energy proportionality in cloud-native environments while preserving service quality.