arXiv:2505.17359cs.LG2025-05被引 9

用深度强化学习优化虚拟机调度,秒级完成高效资源重组。

Towards VM Rescheduling Optimization Through Deep Reinforcement Learning

  • 设计两阶段强化学习框架,适配多样约束与负载条件
  • 实测性能接近最优解,运行时间仅需几秒
  • 支持延迟与精度权衡,适合工业级数据中心部署

现代大规模数据中心需管理大量虚拟机(VM)。由于虚拟机的持续创建与释放,物理机上产生大量碎片化资源。为应对这一问题,数据中心定期将部分虚拟机重新调度至其他物理机,即虚拟机重调度。尽管该问题随数据中心规模扩大日益重要,但研究仍不足。我们发现,与多数组合优化任务不同,虚拟机重调度算法的推理时间显著影响其性能,因调度过程中虚拟机状态动态变化。这导致现有方法扩展性差。为此,我们提出基于强化学习的虚拟机重调度系统VM2RL,包含定制化技术:两阶段框架以适应多样化约束与工作负载;特征提取模块捕捉重调度特有关系信息;风险偏好评估机制使用户可优化延迟与准确性的权衡。我们在真实工业级数据中心数据上进行广泛实验。结果表明,VM2RL性能接近最优解,但运行时间仅需数秒。代码与数据集已开源:https://github.com/zhykoties/VMR2L_eurosys, https://drive.google.com/drive/folders/1PfRo1cVwuhH30XhsE2Np3xqJn2GpX5qy。

原文摘要 · Abstract (English)

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.

虚拟机调度强化学习数据中心资源优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。