NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Prediction-based Dynamic Resource Scheduling for Virtualized Cloud Systems

Qingjia Huang, Kai Shuang, Peng Xu, Jian Li, Xu Liu, Sen SuJ. Networks 2014

TL;DR

This paper introduces a novel "Prediction-based Dynamic Resource Scheduling" (PDRS) system for virtualized cloud environments. PDRS uses time-series prediction to anticipate VM resource demands, enabling proactive resource allocation and consolidation to minimize active physical servers while ensuring Service Level Agreements (SLAs) are met.

What Problem Does This Paper Address?

Cloud computing relies heavily on virtualization, where multiple virtual machines (VMs) run on a single physical server. This allows for efficient resource utilization through consolidation. However, managing these VMs dynamically to handle fluctuating workloads without violating SLAs (performance guarantees) is a significant challenge. Traditional methods often over-provision resources or react too late to workload changes, leading to wasted resources or performance degradation. This paper tackles the problem of dynamically managing VM resources in a way that is both efficient and reliable, minimizing the number of active physical machines while strictly adhering to performance guarantees.

Methods

The core of the PDRS system lies in its two main components:

  • Resource Demand Predictor (RDP): This module uses the Autoregressive Integrated Moving Average (ARIMA) model to predict future resource demands (CPU and memory) for each VM. Crucially, it goes beyond simple ARIMA by developing an "ARIMA-based state prediction model." This state prediction aims to ensure that predicted resource requirements are no less than the actual demand, mitigating the risk of SLA violations due to underestimation. The prediction is done in multiple steps to forecast resource usage over several future time intervals.
  • Elastic Scheduler (ES): This component uses the predictions from the RDP to make scheduling decisions. It operates in two phases:
  • Resource Confliction Prediction: Identifies physical machines (PMs) that are predicted to become overloaded in the near future. It then determines which VMs to migrate out of these overloaded PMs to prevent conflicts.
  • Resource Consolidation: Migrates the identified VMs to fewer PMs, aiming to minimize the number of active physical servers. This phase also considers the overhead of live VM migration, ensuring that migrations are planned to minimize disruption and cost. The ES prioritizes VMs that are predicted to cause conflicts sooner and selects destination PMs that can accommodate them with minimal impact.

Datasets

The paper uses two types of datasets for evaluation:

  • RUBiS online auction benchmark: A standard benchmark for evaluating web application performance.
  • EPA and SDSC workload traces: Real-world workload traces that capture the dynamic resource demands of applications.

The authors used the first half-hour of these traces as training data for their prediction models and the latter half-hour for validation.

Key Insights and Ideas

  • State-based prediction is crucial for reliability: While ARIMA can predict resource usage, its tendency for over/under-estimation can lead to SLA violations. The paper's state-based prediction, which aims to err on the side of over-estimation, significantly improves the ability to guarantee performance.
  • Proactive migration is key to managing overhead: By predicting future resource needs and potential conflicts, PDRS can initiate VM migrations before performance degradation occurs. This avoids the "reactive" approach where migrations happen only after a problem arises, which can be more disruptive and less efficient.
  • Considering migration overhead in scheduling: The paper explicitly models and accounts for the cost of live VM migration, ensuring that the scheduling decisions balance resource consolidation with the impact of migration itself.
  • Balancing resource saving and SLA adherence: The PDRS system demonstrates that it's possible to achieve significant resource savings (fewer active PMs) without compromising the performance guarantees of cloud applications.

Key Results

  • Prediction Accuracy: The state-based prediction mechanism achieved a significantly lower average Relative Error (RE) for under-estimation (-1.61%) compared to direct ARIMA prediction (-13.19%), while maintaining a high over-estimation ratio (81.89%) with a reasonable average RE (8.83%). This indicates a strong ability to predict resource needs without causing significant waste.
  • Resource Saving: The proposed S-PDRS scheme achieved an average of 5.14 used PMs over a 1.5-hour experiment, compared to 6.67 for reactive scheduling and 5.84 for A-PDRS. This translates to a resource saving ratio of up to 35.75%.
  • SLA Violation Reduction: The S-PDRS scheme resulted in a dramatically reduced SLA violation ratio of 2.02%, compared to 16.22% for reactive scheduling and 6.28% for A-PDRS.
  • Migration Overhead: The S-PDRS scheme also showed the least total migration time (2030s) and total conflict time (872s) among the evaluated schemes.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that the prediction model might still lead to some resource waste due to over-estimation.
  • The study focuses primarily on CPU and memory consumption, and other resource types (e.g., network I/O, disk I/O) are not explicitly addressed in the prediction or scheduling.
  • The migration time estimation is based on a derived function from specific tests and might vary in different environments.
  • Future Work:
    • The authors suggest extending the system to consider other resource types for more comprehensive resource management.
  • Further research could explore more advanced prediction models or adaptive learning mechanisms to improve accuracy and reduce waste.
  • Investigating the impact of different VM consolidation strategies and migration policies could also be a direction for future work.

Summary updated

BibTeX
@article{huang2014prediction,
  author = {Qingjia Huang and Kai Shuang and Peng Xu and Jian Li and Xu Liu and Sen Su},
  title = {{Prediction-based Dynamic Resource Scheduling for Virtualized Cloud Systems}},
  journal = {J. Networks},
  year = {2014},
  doi = {10.4304/jnw.9.2.375-383},
}
Figure