为了解决云计算中虚拟机部署预留方案浪费大量资源和单目标部署方案不够全面问题,提出了一种基于组的多目标遗传算法虚拟机资源分配算法。该算法分成组编码和资源编码,资源编码根据虚拟机历史资源需求进行整合编码,通过改进的交叉和变异操作,将物理机器个数和虚拟机占用物理机器资源整合。实验结果表明,该算法有效减少了物理机器个数使用和提高了物理机器资源使用率,达到了节能目的。
To resolve the problem that virtual machine deployment reservation scheme wastes a lot of resources and single-ob- jective deployment algorithm is not comprehensive, this paper proposed a virtual machine resource allocation algorithm based on virtual machine group multi-objective genetic algorithm. The algorithm was divided into group coding and resources coding. Resources coding integrated coding according to need of the history resource of virtual machine to physical machine and inte- grated number of physical machine and resource need of physical machine occupied by virtual machine through improved cross- over and mutation operations. The experimental results show that the algorithm is effective to reduce the number of physical machine and resource utilization of physical machine, saving energy as much as possible.