计算机应用 ›› 2016, Vol. 36 ›› Issue (5): 1216-1221.DOI: 10.11772/j.issn.1001-9081.2016.05.1216

• 先进计算 • 上一篇    下一篇

适应异构集群的Mesos多资源调度DRF增强算法

柯尊旺1, 于炯1, 廖彬2   

  1. 1. 新疆大学 软件学院, 乌鲁木齐 830008;
    2. 新疆财经大学 统计与信息学院, 乌鲁木齐 830012
  • 收稿日期:2015-11-05 修回日期:2015-12-23 出版日期:2016-05-10 发布日期:2016-05-09
  • 通讯作者: 柯尊旺
  • 作者简介:柯尊旺(1984-),男,湖北黄石人,硕士研究生,主要研究方向:云资源调度、数据挖掘;于炯(1964-),男,北京人,教授,博士生导师,博士,高级CCF会员,主要研究方向:网络安全、分布式计算;廖彬(1986-),男,四川内江人,副教授,博士,CCF会员,主要研究方向:数据库系统理论、绿色计算、数据挖掘。
  • 基金资助:
    国家自然科学基金资助项目(61462079,61262088,61562086,61363083)。

Adaptive multi-resource scheduling dominant resource fairness algorithm for Mesos in heterogeneous clusters

KE Zunwang1, YU Jiong1, LIAO Bin2   

  1. 1. College of Software, Xinjiang University, Urumqi Xinjiang 830008, China;
    2. College of Statistics and Information, Xinjiang University of Finance and Economics, Urumqi Xinjiang 830012, China
  • Received:2015-11-05 Revised:2015-12-23 Online:2016-05-10 Published:2016-05-09
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61462079,61262088,61562086,61363083).

摘要: 云计算集群环境下多资源分配的公平性是考量资源调度子系统最重要的指标之一,DRF作为通用的多资源公平分配算法,在异构异质的集群环境下可能有失公平性。在研究Mesos框架中DRF多资源公平分配算法的基础上,设计并实现了增加机器性能评估影响因子的meDRF分配算法。将计算节点的机器性能得分,作为DRF主导份额计算的因子,使得计算任务有均等的机会获得优质计算资源和劣质计算资源。通过选取K-means、Bayes及PageRank等多种作业进行实验,实验结果表明:meDRF较DRF分配算法更能体现多资源分配的公平性,且资源分配具有更好的稳定性,能有效提高系统资源的利用率。

关键词: 资源分配, DRF分配算法, 公平性, Mesos

Abstract: The fairness of multi-resource allocation is one of the most important indicators in the resource scheduling subsystem, Dominant Resource Fairness (DRF), as a general resource allocation algorithm for multi-resources scenarios, it may be unfair in heterogeneous cluster environment. On the basis of the research on the DRF multi-resource fair allocation algorithm under Mesos framework environment, meDRF allocation algorithm was designed and implemented to evaluate the influence factors of the performance of the server. The machine performance scores of computing nodes, as the dominant factor of DRF share calculation, made computing tasks have equal chance to obtain high quality computing resources and poor computing resources. Experiments were conducted by using K-means, Bayes and PageRank jobs under Hadoop. The experimental results show that, compared with DRF allocation algorithm, the meDRF algorithm can reflect more fairness of the allocation of resources, and the allocation of resources has better stability, which effectively improves the utilization of system resources.

Key words: resource allocation, Dominant Resource Fairness (DRF) allocation algorithm, fairness, Mesos

中图分类号: