首页 | 本学科首页   官方微博 | 高级检索  
     

基于Docker swarm集群的动态加权调度策略
引用本文:黄凯,孟庆永,谢雨来,冯丹,秦磊华.基于Docker swarm集群的动态加权调度策略[J].计算机应用,2018,38(5):1399-1403.
作者姓名:黄凯  孟庆永  谢雨来  冯丹  秦磊华
作者单位:1. 华中科技大学 计算机科学与技术学院, 武汉 430074;2. 武汉国家光电实验室(华中科技大学), 武汉 430074
基金项目:国家自然科学基金资助项目(61402189);CCF-启明星辰鸿雁基金资助项目(2016-015);武汉市应用基础研究计划项目(2017010201010104)。
摘    要:针对目前的Docker swarm内置的调度策略无法很好地实现Docker集群的负载均衡并且对集群资源的使用率不高的问题,提出了一种动态加权调度算法。所提算法对资源设置权重系数,引入参数bias针对不同服务对资源权重进行动态调整,根据各个节点的实际资源利用情况,对节点资源按照权重进行加权计算,用权值反映节点负载,并将此作为调度依据。在和Docker原始调度策略以及无参数调整的加权调度策略的对比实验中,该算法使得集群中各个节点上的各项资源利用率更加均衡;同时,在集群负载比较高的情况下,该算法实现了更快的服务运行速度。

关 键 词:Docker  swarm  集群  权值  调度策略  
收稿时间:2017-11-27
修稿时间:2017-11-27

Dynamic weighted scheduling strategy based on Docker swarm cluster
HUANG Kai,MENG Qingyong,XIE Yulai,FENG Dan,QIN Leihua.Dynamic weighted scheduling strategy based on Docker swarm cluster[J].journal of Computer Applications,2018,38(5):1399-1403.
Authors:HUANG Kai  MENG Qingyong  XIE Yulai  FENG Dan  QIN Leihua
Affiliation:1. College of Computer Science and Technology, Huazhong University of Science and Technology, Wuhan Hebei 430074, China;2. Wuhan National Laboratory for Optoelectronics(Huazhong University of Science and Technology), Wuhan Hebei 430074, China
Abstract:As the built-in scheduling strategy of Docker swarm cannot implement load balance of cluster very well and the utilization rate of cluster resource is not very high, a dynamic weighted scheduling algorithm was proposed. The weight coefficient was set on the resource, and the parameter bias was introduced to dynamically adjust the resource weight for different services. According to the actual resource utilization of each node, the node weight was calculated to reflect node load, and was used for scheduling. Compared with the original Docker scheduling strategy and the weighted scheduling strategy without parameter adjustment, the proposed algorithm makes all the resource utilization of each node in the cluster more balanced. At the same time, the proposed algorithm can achieve faster service running speed under the condition of high cluster load.
Keywords:Docker                                                                                                                        swarm                                                                                                                        cluster                                                                                                                        weight                                                                                                                        scheduling strategy
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号