SLO beyond the Hardware Isolation Limits

Haoran Qiu, Yongzhou Chen, Tianyin Xu, Zbigniew T. Kalbarczyk, Ravishankar K. IyerarXiv 2021

Abstract

Performance isolation is a keystone for SLO guarantees with shared resources in cloud and datacenter environments. To meet SLO requirements, the state of the art relies on hardware QoS support (e.g., Intel RDT) to allocate shared resources such as last-level caches and memory bandwidth for co-located latency-critical applications. As a result, the number of latency-critical applications that can be deployed on a physical machine is bounded by the hardware allocation capability. Unfortunately, such hardware capability is very limited. For example, Intel Xeon E5 v3 processors support at most four partitions for last-level caches, i.e., at most four applications can have dedicated resource allocation. This paper discusses the feasibility and unexplored challenges of providing SLO guarantees beyond the limits of hardware capability. We present CoCo to show the feasibility and the benefits. CoCo schedules applications to time-share interference-free partitions as a transparent software layer. Our evaluation shows that CoCo outperforms non-partitioned and round-robin approaches by up to 9x and 1.2x.

Introduction: The Hardware Isolation Bottleneck

In modern cloud computing, meeting Service-Level Objectives (SLOs) is the gold standard for performance. To ensure latency-critical (LC) applications are not impacted by "noisy neighbors," engineers rely on hardware isolation features like Intel’s Resource Director Technology (RDT). These technologies group tasks into Classes of Service (CLOS) to manage shared resources like the Last-Level Cache (LLC) and Memory Bandwidth Allocation (MBA).

However, hardware has hard limits. Most modern processors support only a handful of hardware partitions—often just four. When a server runs dozens of microservices that all require strict latency guarantees, the system runs out of hardware "slots" to isolate them. This forces operators to either under-utilize hardware or risk SLO violations. As the industry moves toward micro-applications and serverless functions, this discrepancy between hardware capability and software scale is becoming a critical crisis.

CoCo: Virtualizing Hardware Partitions

To address this, researchers at UIUC introduced CoCo, a transparent software-driven coordinator that allows dozens of LC applications to share limited hardware partitions without breaking SLOs. CoCo treats hardware partitions as scarce, time-shared resources rather than static buckets.

Figure 1: CoCo architecture showing the scheduling of wait queues into capacity masks for different CLOS.

The core logic of CoCo relies on three pillars:

  1. Sensitivity Profiling: CoCo measures a "slowdown" metric for each application by systematically restricting cache and bandwidth to see how performance degrades. This identifies which apps are "cache-hungry" versus "bandwidth-sensitive."
  2. Dynamic Time-Sharing: Instead of static assignments, CoCo uses a Multi-Level Queue-based Weighted Round-Robin (MQ-WRR) algorithm. It schedules applications to "take turns" using high-priority hardware partitions, giving more sensitive apps larger time slices.
  3. Coordinated Configuration: CoCo manages CAT (cache) and MBA (bandwidth) together. By ensuring these are adjusted monotonically, CoCo avoids "partition conflicts" where adjusting one resource inadvertently hurts the performance of another.

Evaluation and Key Results

The authors evaluated CoCo using three representative LC workloads: Memcached, Nginx, and MongoDB. The experiments were conducted on an AMD EPYC 7302P processor, which natively supports only 4 CLOSs.

Figure 2: Performance comparison of CoCo against various baselines (No Interference, No-partition, Round-robin, etc.) across different workloads.

Key findings from the evaluation include:

  • Massive Throughput Gains: CoCo improved the "maximum affordable client load" (the highest load possible without breaking SLOs) by 2.2× to 9.1× compared to non-partitioned systems.
  • Superiority over Round-Robin: It outperformed standard round-robin scheduling by 1.2×, proving that application-aware sensitivity profiling is critical.
  • Coordination Benefits: Configuring CAT and MBA together yielded a 29% improvement in affordable load compared to configuring them in isolation.
  • Low Overhead: Despite constant re-configuration, the end-to-end latency overhead remained manageable, between 2.4% and 6.1%, including cache warmup periods.

Conclusion and Future Work

CoCo demonstrates that software can effectively "virtualize" hardware isolation, pushing performance beyond physical hardware limits. While it significantly improves throughput, it does not remove the physical upper bound of client load. Future research may explore accounting for interference in PCIe bandwidth or disk I/O, and utilizing Reinforcement Learning (RL) to handle unpredictable system states in partially observable environments. As core counts continue to grow faster than hardware partitions, software layers like CoCo will become increasingly essential for datacenter efficiency.

Summary updated

BibTeX
@misc{qiu2021slo,
  author = {Haoran Qiu and Yongzhou Chen and Tianyin Xu and Zbigniew T. Kalbarczyk and Ravishankar K. Iyer},
  title = {{SLO beyond the Hardware Isolation Limits}},
  year = {2021},
  eprint = {2109.11666},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2109.11666},
}
Figure