An Energy Efficient Virtual Machine Migration Method in Cloud

Hongtao Liang, Jianliang Xu, Min Yuan, Mingtao Liu, Xiaohong WangAdvances 2016

Abstract

Cloud computing, as a newly emerged service-oriented paradigm, is emerging as a leading solution for on-demand services. One of the challenges faced by current cloud environments is deciding how to migrate virtual machines (VMs) to other physical machines efficiently. This paper presents an energy-efficient VM migration method that accounts for both the power consumption of physical machines and network overhead. By illustrating the power consumption curve for the VM migration process, the experiments verify the effectiveness of the proposed method in achieving low overhead.

Introduction

In modern cloud data centers, "live migration"—the process of moving a running VM from one physical server to another—is a critical operation for load balancing, fault tolerance, and hardware maintenance. However, migration is a resource-intensive process. Transferring gigabytes of memory state consumes significant network bandwidth and forces physical machines to remain in high-power states for extended periods.

While data compression can mitigate network transfer time, the compression process itself consumes CPU cycles and electricity. Existing research often overlooks this energy trade-off. This paper addresses this gap by proposing a method to find the "sweet spot": an optimal compression ratio that minimizes the total energy spent on both computation (compression) and communication (transfer).

Proposed Framework

The proposed system architecture relies on three integrated components distributed across the physical machines in the cloud environment:

  1. Performance Monitor Module (PMM): This module tracks real-time CPU frequency and load for each VM.
  2. Network Monitor Module (NMM): This component monitors network traffic and available bandwidth between physical hosts.
  3. Scheduler: Acting as the central controller, the Scheduler utilizes data from the PMM and NMM to calculate the optimal migration parameters and execute the process.
Architecture of the proposed VM migration framework.

The core of the strategy is a mathematical model that defines total power consumption ($y$) as a function of compression power and transfer power: $$y = pc_i + t_n \cdot H_i$$ Where $pc_i$ is the power used to compress the VM image, $t_n$ is the time taken to transfer the compressed image, and $H_i$ is the power consumption of the physical machine. By applying calculus to this model, the system derives an optimal compression ratio ($k_{opt}$). This allows the scheduler to compress the VM image just enough to minimize total energy use without wasting CPU cycles on excessive compression.

Experimental Evaluation

The researchers evaluated the proposed method using a simulated cloud environment built on OpenStack. The testbed consisted of four HP DL338 servers equipped with Intel Xeon E5 CPUs and 8GB of RAM. To simulate a realistic, heavy production load, the researchers ran the High Performance Linpack (HPL) benchmark, a computation-intensive workload.

Key Results

The experimental results demonstrate that the proposed strategy consistently outperforms a standard "random migration" baseline in terms of energy efficiency.

Comparison of power consumption with and without the proposed strategy.

As shown in the figure above, the power consumption for the proposed strategy (black line) is consistently lower than the baseline (red line) as the number of VMs increases. At a scale of 64 VMs, the energy savings are particularly pronounced. Furthermore, the computational overhead for calculating the optimal compression ratio remains manageable; even at the largest scale tested (64 VMs), the calculation time was approximately 20 seconds, which scales linearly and is acceptable for practical data center operations.

Conclusion

This paper introduces a practical, mathematically-grounded approach to energy-efficient VM migration. By balancing the energy costs of CPU-bound compression against network-bound transfer time, the method achieves significant power savings with minimal overhead. Future work will focus on comparing this strategy against other sophisticated energy-aware algorithms and testing its robustness under highly volatile network conditions or multi-tenant "noisy neighbor" scenarios.

Summary updated

BibTeX
@inproceedings{liang2016energy,
  author = {Hongtao Liang and Jianliang Xu and Min Yuan and Mingtao Liu and Xiaohong Wang},
  title = {{An Energy Efficient Virtual Machine Migration Method in Cloud}},
  booktitle = {Advances},
  year = {2016},
  doi = {10.2991/icmmct-16.2016.234},
}
Figure