Towards VM Rescheduling Optimization Through Deep Reinforcement Learning
arXiv:2505.17359 · doi:10.1145/3689031.3717476
Abstract
Modern industry-scale data centers need to manage a large number of virtual machines (VMs). Due to the continual creation and release of VMs, many small resource fragments are scattered across physical machines (PMs). To handle these fragments, data centers periodically reschedule some VMs to alternative PMs, a practice commonly referred to as VM rescheduling. Despite the increasing importance of VM rescheduling as data centers grow in size, the problem remains understudied. We first show that, unlike most combinatorial optimization tasks, the inference time of VM rescheduling algorithms significantly influences their performance, due to dynamic VM state changes during this period. This causes existing methods to scale poorly. Therefore, we develop a reinforcement learning system for VM rescheduling, VM2RL, which incorporates a set of customized techniques, such as a two-stage framework that accommodates diverse constraints and workload conditions, a feature extraction module that captures relational information specific to rescheduling, as well as a risk-seeking evaluation enabling users to optimize the trade-off between latency and accuracy. We conduct extensive experiments with data from an industry-scale data center. Our results show that VM2RL can achieve a performance comparable to the optimal solution but with a running time of seconds. Code and datasets are open-sourced: https://github.com/zhykoties/VMR2L_eurosys, https://drive.google.com/drive/folders/1PfRo1cVwuhH30XhsE2Np3xqJn2GpX5qy.
References in corpus (8)
- Exact Combinatorial Optimization with Graph Convolutional Neural Networks
- Solving a New 3D Bin Packing Problem with Deep Reinforcement Learning Method
- CleanRL: High-quality Single-file Implementations of Deep Reinforcement Learning Algorithms
- Reinforcement Learning for Variable Selection in a Branch and Bound Algorithm
- AutoPhase: Juggling HLS Phase Orderings in Random Forests with Deep Reinforcement Learning
- MARLP: Time-series Forecasting Control for Agricultural Managed Aquifer Recharge
- A General Large Neighborhood Search Framework for Solving Integer Linear Programs
- Multi-zone HVAC Control with Model-Based Deep Reinforcement Learning