Abstract
This paper introduces MadVM, a theoretically grounded framework that treats dynamic virtual machine (VM) management as a large-scale Markov Decision Process (MDP). By utilizing a linear approximation of the utility function, MadVM bypasses the "curse of dimensionality," allowing for distributed, scalable VM migrations. Evaluation using real-world traces shows that MadVM reduces data center power consumption by up to 47% compared to existing heuristics while maintaining high service reliability.
1. Introduction
Data centers are significant energy consumers, prompting operators to use virtualization for server consolidation. By "packing" multiple VMs onto a single physical machine (PM), underutilized servers can be powered down. However, VM resource demands are dynamic and fluctuate constantly. Existing management strategies typically rely on static bin-packing, which leads to poor utilization or SLA violations, or reactive heuristics that lack theoretical performance guarantees and struggle with scalability. This research proposes a mathematically optimal approach to VM management that balances dynamic workload handling with computational feasibility.
2. Methodology: The MadVM Framework
The problem is formulated as an infinite-horizon MDP aimed at minimizing a long-term average cost function that weights power consumption against resource shortages.
2.1 Overcoming the Curse of Dimensionality
Standard MDP state spaces grow exponentially with the number of VMs and PMs, making global optimization NP-hard. MadVM addresses this through:
- Linear Approximation: The global utility function is approximated as a linear sum of per-VM utility functions.
- Feature States: State space is reduced from exponential to polynomial by defining feature states for each VM based on current location and expected steady-state demand.
- Distributed Implementation: A decentralized "auction" mechanism allows VMs to locally calculate utility and decide on migrations, capped at a maximum $T_m$ per time-slot.
3. Empirical Analysis of Workload Traces
The authors validated MadVM using the Google Cluster Trace (26 days) and the PlanetLab Trace. Analysis of the Google data confirmed that VM demand transitions are not uniform; instead, demand at time $t+1$ is highly dependent on time $t$.
This "Markovian reality" justifies the use of MDPs over simple probability distributions. Furthermore, these transition probabilities were found to be "quasi-static," remaining stable for periods long enough (e.g., 3 days) to enable effective modeling.
4. Experimental Results
Simulations comparing MadVM against CloudScale and CompVM revealed significant improvements in both efficiency and reliability.
4.1 Energy and Shortage Performance
MadVM reduced power consumption by an average of 19% compared to CompVM and 42% compared to CloudScale. Crucially, it maintained a near-zero resource shortage rate even under intense demand fluctuations.
4.2 Proactive Migration
Unlike reactive tools like CloudScale, MadVM is proactive. By leveraging long-term transition probabilities, it identifies optimal policies that prevent shortages before they occur. In high-fluctuation scenarios (PlanetLab), MadVM required fewer migrations to achieve superior SLA levels compared to greedy heuristic strategies.
5. Conclusion and Future Work
MadVM demonstrates that complexity reduction from exponential to $\Theta(|V_m||V_s| \cdot \Lambda)$ makes globally optimal VM management feasible. Future work includes extending the model to multi-dimensional resources (memory, bandwidth), incorporating explicit migration costs into the objective function, and exploring multi-level optimization with low-level CPU scheduling.
Summary updated