Abstract
This paper puts forward the monitoring and measurement methods on energy consumption of virtual machine in the cloud data center, establishes energy consumption model of virtual machine system and virtual machine migration. The usual migration method of virtual machine uses heuristic algorithm to allocate virtual machine, its solution result is easily to be got into locally optimal solution, and this paper gives migration algorithm of virtual machine based on genetic algorithm on the basis of making research on genetic algorithm, it makes improvement on the target function in genetic algorithm, making application number of target node and migration time minimum on condition of meeting protocol of service class, so that it can realize energy conservation in data center.
Introduction
Cloud data centers are notorious energy consumers, often due to servers remaining powered on while idle. To combat this, data centers use Virtual Machine (VM) migration—moving running VMs between physical hosts to consolidate workloads and power down idle hardware. However, traditional migration strategies rely on simple heuristic algorithms that often get stuck in "local optima." Furthermore, many existing models focus solely on CPU power, ignoring the energy footprint of memory, disk I/O, and the migration process itself. This paper introduces a comprehensive energy model and a Modified Genetic Algorithm (MGA) to optimize these costs.
System Architecture and Energy Modeling
The proposed framework breaks down energy consumption into specific subsystems to provide a more realistic view of data center costs. The architecture includes a central control manager that handles VM allocation and placement based on performance and energy models.
The energy model ($E$) accounts for:
- CPU: A linear model based on utilization.
- Memory: Modeled based on Cache access patterns.
- Disk: Modeled based on bytes read and written.
- Migration: A linear model based on network flow, recognizing that moving data across the network consumes significant energy.
- Host: A quadratic model representing the non-linear power draw of physical servers.
Modified Genetic Algorithm (MGA)
To find the optimal VM-to-host mapping, the authors developed the MGA. Unlike "greedy" heuristics, MGA performs a global search by evolving solutions over generations:
- Fitness Function: Prioritizes solutions that minimize the number of active target nodes and migration time while respecting Service Level Agreements (SLAs).
- Adaptive Operators: Uses proportional selection and adaptive crossover/mutation probabilities to ensure effective exploration of the solution space.
Experimental Results
The MGA was tested using the CloudSim framework with 200 physical hosts and 1,000 VMs. It was compared against Static Threshold (ST) and Dynamic Threshold (DT) strategies.
Evolution Process
The MGA successfully converges on solutions that minimize both the number of nodes and migration times over 60 generations. This evolution process demonstrates the algorithm's ability to escape local optima that trap traditional heuristic methods.
Key Performance Metrics
- Energy Savings: At a 0.3-0.9 CPU utilization threshold, MGA consumed 6.69 kWh, compared to 9.55 kWh for the ST method—a reduction of approximately 30%.
- Efficiency: MGA consistently used fewer target nodes and required less migration time than the DT strategy under similar conditions.
- Trade-offs: There is an inherent trade-off; as energy conservation increases, the SLA violation rate also rises, suggesting that future work should focus on tightening the fitness function to better protect service quality.
Conclusion
By integrating holistic energy modeling with a global optimization algorithm, this research provides a robust path toward more sustainable cloud computing. The MGA strategy significantly outperforms traditional heuristics in both energy consumption and resource utilization.
Summary updated