Bayesian Admission Policies for Cloud Computing Clusters

Ludwig Dierks, Ian A. Kash, Sven Seuken

Introduction

Cloud computing providers face a fundamental trade-off between cluster utilization and service reliability. To accommodate sudden "scale-out" requests—where existing users abruptly increase their resource demands—providers often maintain significant idle capacity. This "safety buffer" ensures high Service Level Agreements (SLAs) but results in clusters running at low average utilization, leading to substantial wasted investment. Current industry standards typically rely on "Zeroth Moment" policies, which use simple occupancy thresholds to admit new users. This paper proposes a more sophisticated approach using Bayesian admission policies that leverage workload variance and statistical priors to optimize cluster efficiency.

Methodology: From Thresholds to Moments

The challenge of cluster admission is modeled as a constrained Partially Observable Markov Decision Process (POMDP). Given the computational complexity of solving POMDPs for large-scale clusters, the authors introduce a hierarchy of heuristic Bayesian policies:

  1. Zeroth Moment (Baseline): Admits users based solely on current cluster load.
  2. First Moment: Considers the expected (mean) future usage of active deployments.
  3. Second Moment (Cantelli Policy): The primary contribution of this work. By applying Cantelli’s Inequality, this policy accounts for workload variance. It estimates the probability that aggregate demand will exceed capacity and admits new users only if the risk remains below a predefined threshold (e.g., 0.01%).

Additionally, a variance-based pricing rule is proposed to incentivize users to accurately report their workload volatility, providing the system with better data for admission decisions.

Data and Empirical Modeling

The study is grounded in a massive real-world dataset from Microsoft Azure, spanning one month and encompassing approximately 30,000 deployments across 4.3 million cores. This trace data allowed for the fitting of realistic statistical distributions: Poisson processes for scale-out rates, Gamma distributions for priors, and Exponential distributions for core lifetimes.

Cumulative distribution of job lifetimes in the Azure dataset.

Key Insights: The Role of Variance

A critical finding is that the Law of Large Numbers does not effectively mitigate risk in these environments. Instead of individual fluctuations canceling out, a small number of massive deployments often dominate cluster utilization. This heavy-tail behavior necessitates policies that look beyond aggregate averages to individual deployment characteristics.

Distribution of cores per deployment in the Azure trace, highlighting the heavy-tail nature of workloads.

Furthermore, the research identifies variance as a primary "enemy" of efficiency. A spiky workload is significantly harder to manage than a steady one of the same average size. By treating variance as a resource-consuming factor, the Second Moment policy drastically reduces the need for idle reserves.

Results and Economic Impact

Simulations over a one-year period demonstrate significant efficiency gains:

  • First Moment Policy: Increased utilization by 2.21% over the baseline.
  • Second Moment (Cantelli) Policy: Increased utilization by 4.25%.
  • Learned Priors: When incorporating historical user behavior (priors), utilization improved by 9% relative to the baseline.

In the multi-billion dollar cloud industry, these percentage gains translate into hundreds of millions of dollars in potential hardware cost savings and increased gross profit.

Conclusion and Future Work

While promising, implementing these policies requires addressing computational overhead and potential non-stationarity in user behavior. Future research aims to integrate machine learning to better predict deployment priors based on metadata, further refining the admission process and squeezing more value out of cloud infrastructure.

Summary updated

BibTeX
@misc{dierks2018bayesian,
  author = {Ludwig Dierks and Ian A. Kash and Sven Seuken},
  title = {{Bayesian Admission Policies for Cloud Computing Clusters}},
  year = {2018},
  eprint = {1804.07571},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1804.07571},
}
Figure