Workload Intelligence: Punching Holes Through the Cloud Abstraction

Lexiang Huang, Anjaly Parayil, Jue Zhang, Xiaoting Qin, Chetan Bansal, Jovan Stojkovic, Pantea Zardoshti, Pulkit A. Misra, Eli Cortez, Raphael Ghelman, Íñigo Goiri, Saravan Rajmohan, Jim Kleewein, Rodrigo Fonseca, Timothy Zhu, Ricardo BianchiniarXiv 2024 · DOI

Introduction

In the traditional cloud computing model, a rigid abstraction layer separates the workload owner from the infrastructure provider. Users select a Virtual Machine (VM) type, and the platform treats it as an opaque "black box." While this simplifies management, it creates significant inefficiencies. Providers must assume the most conservative requirements for every VM, leading to wasted resources and higher costs. Furthermore, users struggle to navigate an increasingly complex array of VM types (Spot, Harvest, Burstable) to find the best value.

This paper introduces Workload Intelligence (WI), a framework designed to "punch holes" through this abstraction. By enabling bi-directional communication, WI allows workloads to share their inherent flexibility—such as delay tolerance or statelessness—and allows the platform to signal upcoming resource optimizations in real-time.

The Workload Intelligence Framework

The WI framework facilitates a continuous exchange of "hints" between the application and the cloud provider. Workloads can specify seven standardized hints, including deployment time requirements, availability targets (the "number of nines"), and preemptibility. Conversely, the platform can signal events like upcoming VM evictions or the availability of CPU overclocking.

The Workload Intelligence architecture featuring Local, Global, and Optimization Managers.

The architecture consists of three primary components:

  • Local Managers: Reside on every server to collect runtime hints from VMs with minimal overhead.
  • Global Manager: Acts as a regional broker that aggregates hints and coordinates between different optimization engines.
  • Optimization Managers: Interface with specific cloud features like auto-scaling, spot VM management, and data center coordination.

To handle resource contention, WI employs a priority-based system and "fair share" allocation for compressible resources like CPU, ensuring that mission-critical workloads remain protected while flexible ones benefit from lower costs.

Characterizing Workload Flexibility

A key premise of WI is that many cloud workloads are more flexible than current interfaces allow them to express. To validate this, the authors conducted an internal survey of 188 real-world workloads representing 1.4 million cores across a major cloud provider.

Survey results detailing the flexibility of cloud workloads across scalability, reliability, performance, and geographical categories.

The findings were striking: 62.9% of workloads are partially or fully stateless, and 62.8% require only "three nines" of availability or less. By capturing this flexibility through WI hints, the platform can move workloads between different resource tiers dynamically, rather than forcing users to manage complex VM types manually.

Evaluation and Impact

The implementation of WI yields substantial benefits across cost, performance, and sustainability metrics. Using production traces from MapReduce, social networks, and video conferencing, the authors demonstrated the following:

  • Cost Efficiency: On average, WI reduced workload costs by 48.8%. In a specific Big Data (Hadoop) case study, the full WI setup achieved a staggering 93.5% cost reduction compared to standard regular VMs.
  • Performance Gains: For video conferencing, WI improved the processing rate by 35.4% while remaining 26.3% more cost-effective. In microservices, tail latency was reduced by 13.3% through smarter resource harvesting and overclocking.
  • Sustainability: By enabling "region-agnostic" placement, WI reduced the carbon footprint by up to 51% in specific cases and 27.6% at the provider scale.

Conclusion

Workload Intelligence demonstrates that breaking the rigid cloud abstraction can lead to a more efficient, cost-effective, and sustainable cloud ecosystem. While challenges remain regarding security and broad industry adoption, the massive gains in efficiency suggest that bi-directional communication is the future of cloud-workload interaction. Future work will look to extend these principles to storage and networking layers.

Summary updated

BibTeX
@misc{huang2024workload,
  author = {Lexiang Huang and Anjaly Parayil and Jue Zhang and Xiaoting Qin and Chetan Bansal and Jovan Stojkovic and Pantea Zardoshti and Pulkit A. Misra and Eli Cortez and Raphael Ghelman and Íñigo Goiri and Saravan Rajmohan and Jim Kleewein and Rodrigo Fonseca and Timothy Zhu and Ricardo Bianchini},
  title = {{Workload Intelligence: Punching Holes Through the Cloud Abstraction}},
  year = {2024},
  eprint = {2404.19143},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2404.19143},
}
Figure