An Interference-aware Approach for Co-located Container Orchestration with Novel Metric

Xiang Li, Linfeng Wen, Minxian Xu, Kejiang Ye · DOI

Introduction

In modern cloud computing environments, maximizing resource utilization is often achieved through "co-location"—the practice of running high-priority online services alongside low-priority offline tasks on shared hardware. While economically efficient, this approach introduces the "noisy neighbor" problem, where competition for shared resources like CPU cache and I/O leads to performance degradation for latency-sensitive online workloads.

Traditional orchestration systems rely on coarse-grained metrics such as CPU and memory utilization. However, these metrics often fail to capture fine-grained resource interference. For instance, a node may report moderate CPU usage while an online service suffers from significant performance hits due to cache contention or frequent context switching caused by background tasks. This paper addresses these limitations by introducing scheduling latency as a high-fidelity metric for interference detection.

System Architecture

The proposed framework, Interference-aware Container Orchestration (ICO), consists of five integrated modules designed to quantify and mitigate resource interference.

The proposed system framework including data collection, prediction, and scheduling modules.
  1. Data Collection Module: Utilizes perf for hardware-level telemetry and eBPF to capture "scheduling latency"—the time a process spends in the run-queue waiting for CPU cycles after its time slice expires.
  2. Resource Prediction Module: Employs linear regression to estimate the CPU and memory requirements of incoming pods based on task type and Queries Per Second (QPS).
  3. Scheduling Latency Prediction Module: Compares several ML models to forecast the potential scheduling latency a new pod will experience on a target host. Random Forest was identified as the most accurate model ($R^2 = 0.9199$).
  4. Interference Quantification Module: Calculates a node-level "interference score" by weighing the average scheduling latencies of all resident services.
  5. Scheduling Module: A custom algorithm that selects nodes by balancing resource availability with predicted interference levels.

The Scheduling Latency Metric

A key insight of this research is the superior correlation between scheduling latency and application performance compared to traditional metrics. Experimental data reveals that scheduling latency (runqlat) maintains a strong correlation ($R^2 = 0.88$) with application response times, whereas CPU utilization shows significantly higher variance and lower correlation ($R^2$ between 0.42 and 0.68).

Correlation between scheduling latency (runqlat) and average application response time.

By leveraging eBPF to measure these latencies in nanoseconds across hundreds of intervals, the system can detect micro-stalls that are invisible to standard monitoring tools that poll at lower frequencies.

Experimental Evaluation

The ICO framework was evaluated using a combination of CloudSuite benchmarks (e.g., Web Search, In-Memory Analytics) and the Alibaba Cluster-trace-v2018 industrial dataset. The system was compared against three baselines: Round Robin (RR), High Utilization Priority (HUP), and Low QPS Priority (LQP).

The results demonstrate significant performance improvements. Compared to the HUP baseline, the ICO approach reduced average response times by 29.4%, the 90th percentile (P90) latency by 31.4%, and the 99th percentile (P99) latency by 14.5%. Furthermore, the system improved cluster stability by achieving a more balanced distribution of workloads, evidenced by lower standard deviations in resource utilization across the cluster.

Conclusion

This work demonstrates that scheduling latency is a highly effective metric for identifying and predicting resource interference in co-located container environments. By integrating eBPF-based monitoring with machine learning-driven prediction, the ICO framework provides a proactive approach to orchestration that protects the performance of high-priority online services while maintaining high cluster utilization. Future work will focus on dynamic resource scaling and automated priority tuning to further enhance system responsiveness.

Summary updated

BibTeX
@inproceedings{li2023interference,
  author = {Xiang Li and Linfeng Wen and Minxian Xu and Kejiang Ye},
  title = {{An Interference-aware Approach for Co-located Container Orchestration with Novel Metric}},
  booktitle = {iThings/GreenCom/CPSCom/SmartData/Cybermatics},
  year = {2023},
  doi = {10.1109/ithings-greencom-cpscom-smartdata-cybermatics60724.2023.00111},
}
Figure