基于kubernetes的多级混合资源分配公平模型研究
首发时间:2021-12-22
摘要:Kubernetes是现在业界主流的容器编排引擎,在多租户批量任务处理场景目前主流的调度器Volcano采用多级DRF算法通过平衡多个租户的主导资源份额及同一用户多作业(Job)之间主导资源份额来实现资源分配公平。但是DRF算法在实现资源分配公平时只考虑分配时刻各租户资源使用情况,未从时间维度考虑资源分配的公平性,可能导致资源分配不公平。HMRF算法结合LT-DRF算法和LT-AF算法实现了长期资源分配公平,但是该算法未能考虑多租户任务的复杂性。本文结合HMRF算法与多级DRF算法提出多级混合资源分配公平(MHRAF)模型,来实现多租户间长期资源分配公平、同租户多作业多任务复杂场合的按优先级排队及多Job之间的DRF特性。实现基于MHRAF模型的调度器MyVolcano,在Kubernetes集群进行对比实验。实验结果表明MHRAF算法可以实现多租户资源分配的长期公平性及更合理的任务资源分配。
关键词: 云计算 Kubernetes; 资源分配公平 多租户 长期
For information in English, please click here
Research on multi-level hybrid resource allocation fairness model based on kubernetes
Abstract:Kubernetes is now the mainstream container orchestration engine in the industry. In the multi- tenant batch task processing scenario, Volcano, the mainstream scheduler, adopts a multi-level DRF algorithm to achieve fair resource allocation by balancing the dominant resource share of multiple tenants and the dominant resource share between multiple jobs of the same user.However, DRF algorithm only considers the resource usage of each tenant at the allocation time, and does not consider the fairness of resource allocation from the time dimension, which may lead to unfair resource allocation.H-MRF algorithm combines LT-DRF algorithm and LT-AF algorithm to achieve long-term resource allocation fairness, but the algorithm fails to consider the complexity of multi tenant tasks.Combined with H-MRF algorithm and multi-level DRF algorithm, this paper proposes a multi-level hybrid resource allocation fairness (MHRAF) model to realize the long-term resource allocation fairness among multiple tenants, the priority queuing in the complex situation of multi job and multi task of the same tenant, and the DRF characteristics between multiple jobs.The scheduler MyVolcano is implemented based on the MHRAF model, and some comparative experimentsare carried out in kubernetes cluster.Experimental results show that MHRAF algorithm can achieve long-term fairness of multi-tenant resource allocation and more reasonable task resource allocation.
Keywords: Cloud Computing Kubernetes Resource Allocation Fairness Multi-tenant Long-Term
基金:
引用
No.****
动态公开评议
共计0人参与
勘误表
基于kubernetes的多级混合资源分配公平模型研究
评论
全部评论0/1000