计算机与现代化 ›› 2022, Vol. 0 ›› Issue (12): 1-5.

• 算法设计与分析 •    下一篇

基于双层规划的容器云资源动态配置算法

  

  1. (1.河源职业技术学院电子与信息工程学院,广东河源517000;2.广州华商学院数据科学学院,广东广州511300)
  • 出版日期:2023-01-04 发布日期:2023-01-04
  • 作者简介:周永福(1979—),男,江西贵溪人,副教授,硕士,研究方向:网络应用与安全,云计算,E-mail: zhouyongfu_2021@126.com; 通信作者:徐胜超(1980—),男,湖北武汉人,讲师,硕士,研究方向:并行分布式处理软件,E-mail: isdooropen@126.com。
  • 基金资助:
    国家自然科学基金青年基金资助项目(61403219); 2021年广东省教育厅重点领域专项课题(2021ZDZX4080); 广州华商学院校级导师制科研项目(2022HSDS16)

Dynamic Allocation Algorithm of Container Cloud Resources Based on Bi-level Programming

  1. (1. Institute of Electronics and Information Engineering, Heyuan Polytechnic, Heyuan 517000, China;
    2. School of Data Science, Guangzhou Huashang College, Guangzhou 511300, China)
  • Online:2023-01-04 Published:2023-01-04

摘要: 本文分析容器云资源动态配置决策问题,通过定义容器云资源的调度任务,求解得到容器云资源调度时间;利用容器云资源调度任务的最短时间矩阵,获取容器云资源调度所需的条件。在双层规划条件下,求解容器云资源调度的目标函数和约束函数;考虑到用户的任务情况和云数据中心的云资源状况,在虚拟机上构建一个到物理主机的矩阵,通过构建容器云资源动态配置结果在优化时的目标函数,结合约束条件,实现容器云资源的动态配置。实验结果表明,资源动态配置算法不仅可以提高容器云资源的利用率,还可以减少配置完成时间,具有更好的动态配置性能。

关键词: 双层规划, 容器云资源, 动态配置, 调度模型, 目标函数

Abstract: The dynamic configuration decision problem of container cloud resources is analyzed in this paper. By defining the scheduling task of container cloud resources, the scheduling time of container source resources is solved. The shortest time matrix of container cloud resource scheduling task is used to obtain the conditions needed for container cloud resource scheduling. Under the bi-level planning condition, the objective function and constraint function of container cloud resource scheduling are solved, and the container cloud resource scheduling model is constructed. Considering the tasks of users and the cloud resources of data centers, a matrix to physical hosts is constructed on virtual machines. By constructing the objective function of container cloud resource dynamic configuration results in optimization, and combining with constraints, the dynamic configuration of container cloud resources is realized. Experimental results show that the proposed algorithm can not only improve the utilization of container cloud resources, but also reduce the configuration completion time, and has better dynamic configuration performance.

Key words: bi-level planning, container cloud resources, dynamic configuration, scheduling model, objective function