Virtual Machine Dynamic Migration Strategy Based on Load Prediction

Wei Liu, Chaojun Fu, Yu Zhang, Hongxin Wang2018

Abstract

This article studies the trigger strategy in dynamic migration process of virtual machine under cloud computing environment. For the problem of resource wasting caused by instantaneous peak in simple double threshold trigger strategy and single threshold trigger strategy, we propose ARMA time series prediction model based on historical load value data of virtual machine. The experiments indicate our migration trigger strategy can reduce the times of virtual machine migration effectively and corresponding energy consumption.

Introduction

In cloud computing, dynamic migration is essential for balancing workloads and optimizing energy efficiency by moving running virtual machines (VMs) between physical hosts. Traditional reactive strategies rely on simple CPU utilization thresholds (e.g., triggering migration when usage exceeds 80%). However, CPU loads are often characterized by "jitter"—momentary spikes or valleys that do not represent sustained load changes. Standard single-threshold (ST) or double-threshold (DT) algorithms often trigger "pointless migrations" in response to these transient peaks, leading to wasted bandwidth and increased energy consumption. This paper proposes a predictive "look-ahead" mechanism to filter out such noise and stabilize the migration process.

Methodology

The proposed strategy utilizes the ARMA(p, q) (Auto-Regressive Moving Average) time series model to forecast future CPU loads. The technical workflow involves:

  1. Stability Testing: Historical load data is smoothed using difference sequence methods to ensure stationarity, a prerequisite for ARMA modeling.
  2. Pattern Recognition: Autocorrelation and partial autocorrelation coefficients are estimated to determine the model's order (p and q), distinguishing between Moving Average and Auto-Regressive characteristics.
  3. Weighted Prediction: To account for the decay of prediction accuracy over time, the strategy calculates a weighted average of $N$ future load values using a $1/x$ distribution. This prioritizes near-term forecasts.
  4. Dual-Threshold Trigger: Migration is only initiated if both the immediate predicted load and the weighted average of future predictions exceed the threshold. This acts as a low-pass filter, ignoring "momentary concussions" in CPU usage.

Experimental Setup

The strategy was evaluated using the CloudSim simulation framework. Virtual machine CPU and memory load data were recorded at 1–2 second intervals to generate historical sequences for training and testing the ARMA model. The proposed strategy was compared against industry-standard Single Threshold (ST) and Double Threshold (DT) algorithms.

Results and Discussion

The experimental results demonstrate that the ARMA-based predictive strategy consistently outperforms traditional methods in energy efficiency across various thresholds (0.5 to 0.9).

Energy consumption comparison across different thresholds.

As shown in the absolute energy consumption data in the table above, the proposed strategy achieved the lowest energy usage at every threshold. For instance, at a 0.9 threshold, the proposed strategy recorded 10.64 units, compared to 11.02 for the DT algorithm and 13.74 for the ST algorithm.

Relative energy consumption comparison with the proposed strategy as the baseline.

When normalizing the results against the proposed strategy as a baseline (0), the inefficiencies of reactive models become clearer. The ST algorithm consumed over 3 units of additional energy across all thresholds, while the DT algorithm showed additional consumption ranging from 0.37 to 1.7 units. These gains are primarily attributed to the reduction in unnecessary migrations triggered by instantaneous peaks.

Conclusion

By integrating time series prediction into the migration trigger logic, data centers can significantly reduce energy overhead. However, limitations remain regarding the prediction horizon; accuracy decreases as the model looks further into the future. Future work should focus on real-time model adaptation to accommodate changing application behaviors and exploring the computational overhead of running ARMA models at scale in massive data centers.

Summary updated

BibTeX
@misc{liu2018virtual,
  author = {Wei Liu and Chaojun Fu and Yu Zhang and Hongxin Wang},
  title = {{Virtual Machine Dynamic Migration Strategy Based on Load Prediction}},
  year = {2018},
  doi = {10.2991/aetr-17.2018.64},
}
Figure