计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 260400174-997.doi: 10.11896/jsjkx.260400174

• 网络&通信 • 上一篇    下一篇

RL-PAMF:工业云环境下基于深度强化学习的利润感知虚拟机调度框架

刘愉滨1, 唐逸杰2, 李莹3, 寇福禄4   

  1. 1 广州市数字政府运营中心 广州 510635
    2 中国电信股份有限公司广州分公司 广州 510620
    3 广州市品高软件股份有限公司 广州 510620
    4 广东工业大学计算机学院 广州 510006
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 寇福禄(ynukou@163.com)
  • 作者简介:(liuyubin@gz.gov.cn)
  • 基金资助:
    广东省重点领域研发计划(2023B010139001)

RL-PAMF:Profit-aware Virtual Machine Migration Framework for Industrial Cloud Based on Deep Reinforcement Learning

LIU Yubin1, TANG Yijie2, LI Ying3, KOU Fulu4   

  1. 1 Guangzhou Digital Government Operation Center,Guangzhou 510635,China
    2 China Telecom Co.,Ltd.,Guangzhou Branch,Guangzhou 510620,China
    3 Bingo Software Co.,Ltd.,Guangzhou 510620,China
    4 School of Computer Science and Technology,Guangdong University of Technology,Guangzhou 510006,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:LIU Yubin,born in 1986,senior engineer.His main research interests include cloud computing,artificial intelligence and software development.
    KOU Fulu,born in 1989,doctoral student.His main research interests include cloud computing resource oversubscription and scheduling,and so on.
  • Supported by:
    This work was supported by the Guangdong Province Key Research and Development Project(2023B010139001).

摘要: 在工业4.0与工业物联网协同推进背景下,工业云数据中心的运营成本优化面临严峻挑战。当前主流的虚拟机调度策略往往只关注某一类优化目标,比如提高能效或实现负载均衡,而工业云环境中同时存在延迟敏感型控制任务与尽力而为型批处理任务,二者在经济价值与服务质量要求上呈现显著差异,很少同时考虑任务定价的差异性、实时电价的波动以及迁移操作所产生的额外成本对整体利润的综合影响。针对这一不足,构建了一个利润感知型虚拟机调度框架RL-PAMF。该框架首先整合已有研究成果,构建一个全局利润量化函数,将能效支出、SLA违约罚金、迁移损耗以及差异化任务收益统一纳入考量范围;在此基础上引入服务质效因子,将任务收入与调度决策建立因果耦合关系,弥补了现有利润模型中收入独立于调度决策的理论缺陷。针对大规模动作空间中无效探索过多的问题,设计了一种基于掩码近端策略优化的智能目标主机选择器:通过动作掩码机制,在决策阶段直接排除违反物理容量上限或迁移冷却时间约束的非法动作,从算法层面保证了调度方案的可行性以及系统运行的稳定性。此外,该框架利用多头自注意力机制对系统状态进行深度编码,使得智能体能够自适应地捕捉物理主机与待迁移虚拟机之间的关键资源匹配关系。依据任务的经济价值和延迟敏感程度,采用优先级感知调度策略,实施差异化调度,优先确保高价值工作负载的服务质量。在真实世界负载轨迹数据上进行的大规模实验结果显示:与传统启发式算法、元启发式算法以及已有的深度强化学习方法相比,RL-PAMF在最终利润指标上表现最优;与此同时,迁移操作的发生频率相比启发式方法下降至69%~89%。实验证明,RL-PAMF在利润、服务质量与资源效率三者之间取得了有效的平衡,并在复杂工业云场景中表现出良好的适应性和实用价值。

关键词: 工业云, 虚拟机迁移, 深度强化学习, 利润感知, 动作掩码

Abstract: Against the backdrop of the synergistic advancement of Industry 4.0 and the Industrial Internet of Things,optimizing the operational costs of industrial cloud data centers faces severe challenges.Current mainstream virtual machine scheduling stra-tegies often focus on only one type of optimization objective,such as improving energy efficiency or achieving load balancing,whereas industrial cloud environments host both latency-sensitive control tasks and best-effort batch tasks that differ significantly in economic value and quality-of-service requirements,while rarely considering the comprehensive impact on overall profit caused by the heterogeneity of task pricing,fluctuations in real-time electricity prices,and the additional costs incurred by migration operations.To address this shortcoming,this paper constructs a profit-aware virtual machine scheduling framework named RL-PAMF.The framework first integrates existing models to form a global profit quantification function that integrates energy efficiency expenditure,SLA violation penalties,migration overhead,and differentiated task revenues.On this basis,a service quality factor is introduced to couple task revenue causally with scheduling decisions,overcoming the theoretical deficiency in existing profit models where revenue is decoupled from scheduling.To alleviate the issue of excessive invalid exploration in large action spaces,this paper implements an intelligent target host selector based on masked proximal policy optimization:through an action masking mechanism,illegal actions that violate physical capacity constraints or migration cooling time constraints are directly excluded at the decision-making stage,thereby ensuring the feasibility of the scheduling scheme and the stability of system operation from an algorithmic perspective.Furthermore,the framework employs a multi-head self-attention mechanism to deeply encode the system state,enabling the agent to adaptively capture the critical resource matching relationships between physical hosts and virtual machines to be migrated.Based on the economic value and latency sensitivity of tasks,a priority-aware scheduling strategy is adopted to perform differentiated scheduling,giving priority to ensuring the quality of service for high-value workloads.Extensive experimental results on real-world workload trace data show that compared with traditional heuristic algorithms,meta-heuristic algorithms,and existing deep reinforcement learning methods,RL-PAMF achieves the highest final profit among the compared methods.Meanwhile,the frequency of migration operations is reduced to 69%~89% of that of heuristic methods.These results demonstrate that RL-PAMF effectively balances profit,quality of service,and resource efficiency,exhibiting strong adaptability and practical value in complex industrial cloud scenarios.

Key words: Industrial cloud, Virtual machine migration, Deep reinforcement learning, Profit-aware, Action masking

中图分类号: 

  • TP393
[1] MAHALAKSHMI M,VEENA K,PANDI V S,et al.Improvement in Resource Management,Automated Process Monitoring,and Anomaly Detection in Industries:Analyzing AI with Industrial IoT Systems [C]//Proceedings in 2025 10th International Conference on Smart Structures and Systems(ICSSS).IEEE,2025:1-7.
[2] GUPTA A,KUMAR P,NAMASUDRA S.Sustainable cloudcomputing:an enhanced energy-efficient VM consolidation approach using live migration [J].Iran Journal of Computer Science,2026,9(1).
[3] WANG J J,GU H Y,YU J Y,et al.Research on virtual machine consolidation strategy based on combined prediction and energy-aware in cloud computing platform [J].Journal of Cloud Computing,2022,11(1).
[4] SHI Q Y,JIANG F X,LI C,et al.In-Network Load Balancing With Fast Congestion Flow Detection for Lossless Data Center Networks [J].IEEE Transactions on Industrial Informatics,2026,22(3):2300-2310.
[5] AIJAZ A,RAZA U.DeAMON:A Decentralized Adaptive Multi-Hop Scheduling Protocol for 6TiSCH Wireless Networks [J].IEEE Sensors Journal,2017,17(20):6825-6836.
[6] WANG J,PENG Y H,LIU L,et al.Enhancing Real-Time Services in Edge Cloud Data Centers:A Novel Lightweight Virtual Machine Scheduling Approach [J].IEEE Transactions on Ser-vices Computing,2026,19(3):2118-2131.
[7] REDDY Y H,RAO D B J,POLEPALLY V.Securing DevOps environments with Fractional archery optimization and server switching models [J].Expert Systems with Applications,2025,294.
[8] LI C L,ZHANG Q Z,LUO Y L.A jointly non-cooperativegame-based offloading and dynamic service migration approach in mobile edge computing [J].Knowledge and Information Systems,2023,65(5):2187-2222.
[9] BA Y P,ZHENG R H,WANG Z K,et al.Multi-Objective Heterogeneous Fleet Vehicle Routing Problem:Formulation and Algorithm [J].IEEE Transactions on Intelligent Transportation Systems,2026,27(1):1666-1680.
[10] XU D L,LI Q,XU M W,et al.Niagara+:Scheduling Live ML Analytics Across Heterogeneous Device Processors and Edge Servers [J].IEEE Transactions on Services Computing,2025,18(6):4055-4068.
[11] YOKOUCHI K,HE F J,OKI E.Backup Resource Allocation of Virtual Machines with Two-Stage Probabilistic Protection [J].IEEE Transactions on Network and Service Management,2023,20(4):5085-5102.
[12] NGUYEN D H P,LIEN Y H,LIU B H,et al.Virtual Network Function Placement for Serving Weighted Services in NFV-Enabled Networks [J].IEEE Systems Journal,2023,17(4):5648-5659.
[13] CHEN S W,LI J M,YUAN Q F,et al.Two-Timescale Joint Optimization of Task Scheduling and Resource Scaling in Multi-Data Center System Based on Multi-Agent Deep Reinforcement Learning [J].IEEE Transactions on Parallel and Distributed Systems,2024,35(12):2331-2346.
[14] LIU C,ZHAO J,CHUA T J.Enhancing User Experience and Energy Efficiency in Metaverse Play to Earn Games via Mobile Edge Computing [J].IEEE Transactions on Vehicular Techno-logy,2026,75(2):2527-2541.
[15] TANG Z,MO Y,LI K,et al.Dynamic Forecast Scheduling Algorithm for Virtual Machine Placement in Cloud Computing Environment[J].The Journal of Supercomputing,2014,70(3):1279-1296.
[16] BELOGLAZOV A,ABAWAJY J,BUYYA R.Energy-Aware Resource Allocation Heuristics for Efficient Management of Data Centers for Cloud Computing[J].Future Generation Computer Systems,2012,28(5):755-768.
[17] NASHAAT H,ASHRY N,RIZK R.Smart Elastic Scheduling Algorithm for Virtual Machine Migration in Cloud Computing[J].The Journal of Supercomputing,2019,75(7):3842-3865.
[18] EBERHART R,KENNEDY J.Particle swarm optimization[C]//Proceedings of the IEEE International Conference on Neural Networks.1995:1942-1948.
[19] ZHOU Z,LI F,ABAWAJY J H,et al.Improved PSO algorithm integrated with opposition-based learning and tentative perception in networked data centres[J].IEEE Access,2020,8:55872-55880.
[20] WANG X H,LI J J.Hybrid particle swarm optimization withsimulated annealing [C]//Proceedings of 2004 International Conference on Machine Learning and Cybernetics.IEEE,2004:2402-2405.
[21] PANDEY S,WU L,GURU S M,et al.A particle swarm optimization-based heuristic for scheduling workflow applications in cloud computing environments[C]//2010 24th IEEE International Conference on Advanced Information Networking and Applications.IEEE,2010:400-407.
[22] RITU G,KUMAR S A.Multi-objective workflow grid scheduling using e-fuzzy dominance sort based discrete particle swarm optimization[J].Journal of Supercomputer,2014,68(2):709-732.
[23] HUANG H K,LIN W W,LIN J P,et al.Power Management Optimization for Data Centers:A Power Supply Perspective [J].IEEE Transactions on Sustainable Computing,2025,10(4):784-803.
[24] KATAL A,DAHIYA S,CHOUDHURY T.Energy efficiency in cloud computing data centers:a survey on software technologies [J].Cluster Computing,2023,26(3):1845-1875.
[25] CHEN G X,QI J,SUN Y,et al.A collaborative schedulingmethod for cloud computing heterogeneous workflows based on deep reinforcement learning [J].Future Generation Computer Systems,2023,141:284-297.
[26] RANJBARI M,TORKESTANI J A.A Learning Automata-Based Algorithm for Energy and SLA Efficient Consolidation of Virtual Machines in Cloud Data Centers[J].Journal of Parallel and Distributed Computing,2018,113:55-62.
[27] LONG S Q,LI Z T,XING Y,et al.A Reinforcement Learning Based Virtual Machine Placement Strategy in Cloud Data Centers[C]//Proceedings in 2020 IEEE 22nd International Confe-rence on High Performance Computing and Communications;IEEE 18th International Conference on Smart City;IEEE 6th International Conference on Data Science and Systems.2020:223-230.
[28] SHAW R,HOWLEY E,BARRETT E.Applying Reinforcement Learning Towards Automating Energy Efficient Virtual Machine Consolidation in Cloud Data Centers[J].Information Systems,2022,107:101722.
[29] JAYANETTI A,HALGAMUGE S,BUYYA R.Multi-Agent Deep Reinforcement Learning Framework for Renewable Energy-Aware Workflow Scheduling on Distributed Cloud Data Centers [J].IEEE Transactions on Parallel and Distributed Systems,2024,35(4):604-615.
[30] HOGADE N,PASRICHA S.Game-Theoretic Deep Reinforce-ment Learning to Minimize Carbon Emissions and Energy Costs for AI Inference Workloads in Geo-Distributed Data Centers [J].IEEE Transactions on Sustainable Computing,2025,10(4):628-641.
[31] ZHAO D M,ZHOU J T,ZHAI J D,et al.A Reinforcement Learning Based Framework for Holistic Energy Optimization of Sustainable Cloud Data Centers [J].IEEE Transactions on Services Computing,2025,18(1):15-28.
[32] KELLER G,TIGHE M,LUTFIYYA H,et al.An analysis of first fit heuristics for the virtual machine relocation problem [C]//Proceedings of the 2012 8th International Conference on Network and Service Management(CNSM 2012).IEEE,2012:406-413.
[33] BELOGLAZOV A,ABAWAJY J,BUYYA R.Energy-aware resource allocation heuristics for efficient management of data centers for Cloud computing [J].Future Generation Computer Systems,2012,28(5):755-768.
[34] BELOGLAZOV A,BUYYA R.Optimal online deterministic algorithms and adaptive heuristics for energy and performance efficient dynamic consolidation of virtual machines in Cloud data centers [J].Concurrency and Computation:Practice and Expe-rience,2012,24(13):1397-1420.
[35] PATIL A,PATIL R.An Optimal Heuristic Model for Greedy and Efficient Consolidation Process in Cloud Datacenters[C]//Proceedings of the 3rd International Conference on Intelligent Sustainable Systems.2020:1308-1313.
[36] DA SILVA M M,GAMATIE A,SASSATELLI G,et al.Optimization of Data and Energy Migrations in Mini Data Centers for Carbon-Neutral Computing [J].IEEE Transactions on Sustainable Computing,2023,8(1):68-81.
[37] QAISER H,UR R,SHU G.Nash Equilibrium Based Replace-ment of Virtual Machines for Efficient Utilization of Cloud Data Centers [J].Computing,2020,102(12):2521-2540.
[38] LIU C W,SUN J,LEI B B,et al.Task Scheduling Strategy for Energy Consumption Optimization of Cloud Data Center Based on Improved Particle Swarm Algorithm [J].Computer Science,2023,50(7):246-253.
[39] SHI L,WEN L M,LEI S,et al.Virtual Machine Consolidation Algorithm Based on Decision Tree and Improved Q-learning by Uniform Distribution [J].Computer Science,2023,50(6):36-44.
[40] ZHANG L X,ZHOU L Q,WEN H,et al.Energy Efficient Scheduling Algorithm of Workflows with Cost Constraint in Heterogeneous Cloud Computing Systems[J].Computer Science,2020,47(8):112-118.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!