Introduction
In large-scale cloud computing environments, efficient resource management hinges on the Predictive Virtual Machine Provisioning (PreVMP) problem. Cloud providers must balance two competing objectives: maintaining high service availability by having virtual machines (VMs) ready for immediate deployment and minimizing resource waste caused by over-provisioning. Traditional approaches often treat the demand for different VM types as independent variables. However, real-world workloads frequently exhibit strong correlations—for instance, a multi-tier application may require a synchronized increase in web, database, and cache VM types.
At AAAI-21, researchers introduced CAHS (Correlation-Aware Heuristic Search), a framework designed to exploit these correlations to improve CPU utilization and provisioning efficiency. CAHS is currently deployed within Microsoft Azure, demonstrating significant real-world impact.
The CAHS Framework
CAHS moves beyond independent demand modeling by employing a "Prediction+Optimization" pipeline that explicitly accounts for inter-VM type correlations. The framework operates through four integrated phases:
- Partitioning Phase: The system uses the Pearson Correlation Coefficient (PCC) and a greedy algorithm to group VM types with highly correlated historical demands. This reduces the dimensionality of the problem while preserving critical relationship data.
- Configuration Selection Phase: To handle the vast hyperparameter space, CAHS utilizes a Neural Network-based performance regressor. This component predicts which configurations will yield the highest utilization, creating a feedback loop for continuous improvement.
- Prediction Phase: Instead of univariate forecasting, CAHS employs an Unobserved Component Model (UCM) for joint demand forecasting within groups. It models prediction uncertainty using a Multivariate Gaussian Mixture Model (GMM), capturing how errors across different VM types are linked.
- Optimization Phase: A heuristic search identifies the optimal provisioning plan. The core innovation is a scoring function that calculates the expected increment in CPU utilization based on the joint probability distributions of the VM groups.
Experimental Evaluation
The framework was evaluated against three large-scale industrial benchmarks from Microsoft Azure:
- Azure-2017 & Azure-2019: Public datasets containing demand for 110 and 150 VM types over 30 days.
- INDU-2020: A larger benchmark featuring 154 VM types and 60 days of data.
Analysis of these datasets confirmed that correlation is pervasive; in INDU-2020, each VM type was significantly correlated with an average of 45 other types. This empirical evidence underscores the necessity of the correlation-aware approach.
Results and Impact
CAHS demonstrated superior performance across all benchmarks, consistently outperforming nine state-of-the-art competitors, including the previous leading method, UAHS.
As shown in the results table, CAHS achieved average CPU utilization gains of 5.3% on Azure-2017, 3.5% on Azure-2019, and 6.9% on INDU-2020. Beyond utilization, the framework maintains high computational efficiency, with runtimes suitable for production environments. In its deployment within Microsoft Azure's Pre-Provisioning Service (PPS), CAHS has significantly reduced median VM provisioning times for customers.
Conclusion
By breaking the assumption of independent VM demands, CAHS provides a more accurate model of demand uncertainty in cloud systems. The integration of multivariate prediction with a correlation-aware heuristic search allows for more aggressive yet safe provisioning plans. Future work may extend this framework to include multi-objective optimization, such as balancing utilization with power consumption and hardware wear-and-tear.
Summary updated