计算机与现代化 ›› 2022, Vol. 0 ›› Issue (01): 108-112.

• 人工智能 • 上一篇    下一篇

基于遗传算法的容器云资源配置优化

  

  1. (广州华商学院数据科学学院,广东广州511300)
  • 出版日期:2022-01-24 发布日期:2022-01-24
  • 作者简介:徐胜超(1980—),男,湖北武汉人,讲师,硕士,研究方向:并行分布式处理,E-mail: isdooropen@126.com; 熊茂华(1958—),男,江西南昌人,教授,硕士生导师,研究方向:嵌入式与物联网,智能控制,人工智能技术,E-mail: xiongmaohua_2021@126.com。
  • 基金资助:
    广州华商学院校内导师制科研项目(2021HSDS15); 广东省高等学校质量工程特色创新项目(2021KTSCX167)

Optimization of Container Cloud   Resource Allocation Based on  Genetic Algorithm

  1. (School of Data Science, Guangzhou Huashang College, Guangzhou 511300, China)
  • Online:2022-01-24 Published:2022-01-24

摘要: 提出一种基于遗传算法的容器云资源配置优化方法。充分考虑虚拟机配置于物理主机以及容器配置于虚拟机的资源分配情况,将容器云平台数据中心整体能耗最低作为目标函数,设置物理主机与虚拟机对应、虚拟机与容器对应等约束条件,利用遗传算法通过染色体表达、初始化、交叉操作、变异操作以及设置适应度函数5个步骤求解目标函数,获取最优容器云环境资源配置结果。实验结果表明,本文方法可实现容器云资源的合理配置,提高物理资源的利用效率,实现数据中心节能的目标。

关键词: 遗传算法, 容器云, 虚拟资源, 配置优化, 物理主机, 适应度函数

Abstract: This paper proposes a genetic algorithm approach for resource allocation optimization in container-based cloud environment. Considering resource allocation when VMS are configured on physical hosts and containers are configured on VMS, the objective function is to minimize the overall energy consumption of the container cloud platform data center. The machine should correspond to the container and other constraints, and the genetic algorithm is used to solve the objective function through five steps of chromosome expression, initialization, crossover operation, mutation operation and setting fitness function to obtain the optimal virtual resource allocation result. The experimental results show that the proposed method can realize the reasonable allocation of virtual resources in the container cloud environment and keep the energy consumption of the container cloud platform data center to a minimum and achieve the goal of resource efficient utilization.

Key words: genetic algorithm, container-based cloud, virtual resource, configuration optimization, physical machine, fitness function