Introduction
Virtual Machine Scheduling (VMS) is a critical optimization problem in cloud computing, often likened to a multi-dimensional "Tetris." Cloud providers must decide which physical machine (PM) should host an incoming virtual machine (VM) request to maximize resource efficiency. Given the scale of modern data centers, even a 1% improvement in scheduling efficiency translates to millions of dollars in savings on hardware and energy.
While Reinforcement Learning (RL) has shown potential in small-scale scheduling tasks, it faces a significant "scalability wall." As the number of PMs increases, the state-action space—the combinations of machine statuses and placement choices—explodes exponentially. Most existing RL solutions fail to converge or perform poorly when moving beyond 10 machines, making them impractical for industrial-scale cloud infrastructures.
The CVD-RL Framework
To address these scalability challenges, researchers developed CVD-RL (Cluster Value Decomposition Reinforcement Learning). This framework employs three core operators to manage the complexity of large clusters:
- Decomposition Operator: Instead of calculating a single value for the entire cluster, CVD-RL decomposes the total value into the sum of individual PM values. By sharing parameters across all machines, the model learns a universal "machine-level" strategy that scales linearly with the number of PMs.
- Look-Ahead Operator: This operator simplifies state representation by focusing on the "future state." Instead of processing complex raw data about the incoming VM and current PM, the agent evaluates what the PM’s state will become after placement.
- Top-k Filter Operator: To prevent the agent from exploring suboptimal actions in a massive space, CVD-RL uses traditional heuristics (like "Best-Fit") to identify a subset of promising actions. The RL agent then selects the optimal move from this refined list.
Experimental Setup
The framework was evaluated using VMAgent, a simulation environment integrated with real-world cloud scheduling data from Huawei Cloud. This dataset includes actual VM request patterns, durations, and resource requirements (CPU and memory). Experiments were conducted on clusters ranging from 2 to 100 PMs, incorporating complex NUMA (Non-Uniform Memory Access) constraints typical of industrial hardware.
Key Results
CVD-RL demonstrates a significant breakthrough in RL scalability for VMS. Unlike previous state-of-the-art methods like SchedRL, which struggle as the number of PMs grows, CVD-RL maintains a constant state space complexity regardless of cluster size.
- Scalability Breakthrough: CVD-RL successfully handled environments with 50 PMs, where previous methods failed to converge or performed worse than simple heuristics.
- Superior Performance: In a 50-PM "warm start" scenario (cluster 50% full), CVD-RL outperformed all baselines in "Scheduled Length"—the number of VMs successfully placed before resource exhaustion—and total income.
- Generalization: Policies trained on 50 PMs generalized effectively to 100-PM clusters and expansion scenarios, proving the model learns robust scheduling strategies rather than specific layouts.
Discussion and Future Work
CVD-RL represents a major step forward, scaling RL from 10 to 100 machines. However, real-world availability zones can contain thousands of machines, where heuristic solutions still currently dominate.
Future research will explore Hierarchical RL to further decompose tasks, VM Migration to optimize clusters post-placement, and Curriculum Learning to improve training efficiency by gradually increasing task complexity.
Summary updated