Journal of Computer Applications ›› 2014, Vol. 34 ›› Issue (11): 3082-3085.DOI: 10.11772/j.issn.1001-9081.2014.11.3082

Previous Articles     Next Articles

Dynamic load balancing mechanism in cloud-based virtual cluster system

LI Liyao1,2,4,ZHAO Shaoka1,LIN Dongsen1,XU Cong2,4,YANG Jiahai2,4   

  • Received:2014-07-28 Revised:2014-08-06 Online:2014-11-01 Published:2014-12-01
  • Contact: LI Liyao

云环境下虚拟机集群系统动态负载均衡机制

李立耀1,2,赵少卡1,3,林东森1,徐聪2,杨家海2   

  1. 1. 福建师范大学福清分校 数学与计算机科学系,福建 福清 350300
    2. 清华大学 网络科学与网络空间研究院,北京 100084
    3.
  • 通讯作者: 李立耀
  • 作者简介:李立耀(1970-),男,福建平潭人,副教授,主要研究方向:云计算、计算机网络;赵少卡(1980-),男,福建福州人,讲师,硕士,主要研究方向:云计算、软件工程;徐聪(1986-),男,黑龙江东宁人,博士研究生,主要研究方向:计算机网络;杨家海(1966-),男,浙江云和人,教授,博士,主要研究方向:计算机网络。
  • 基金资助:

    清华-思科联合实验室研究基金项目;教育部—中国移动研究基金资助项目;福建省教育厅科技项目

Abstract:

As the conventional physical cluster system fails to cope flexibly with large-scale Internet applications, a comprehensive load balancing mechanism for cloud-based virtual cluster system was proposed. It first periodically collected CPU and memory usage, number of connections, and response time of all virtual machines and physical hosts, then calculated the weighted load of the physical hosts, and finally scheduled and assigned the task requests based on the calculated comprehensive load, thus could adapt to the complex, dynamic and variable computing environment. The experimental results show that, compared with other scheduling mechanisms such as Weighted Round Robin (WRR) and Weighted Least Connections (WLC), the proposed mechanism is delay optimal under heavy workload, and moreover, it can increase or decrease the number of Virtual Machines (VMs) dynamically to balance the server load usually within 5 seconds.

摘要:

针对传统的物理集群系统无法灵活应对大型互联网应用的问题,提出一种云环境下虚拟机集群的综合负载均衡机制。该方法首先定期地采集集群中虚拟机节点的CPU、内存、连接数、响应时间,以及所在物理主机的负载状况等指标信息,然后加权计算节点的综合负载并得出其权值,最后通过调度器进行任务请求的合理分配,从而解决了传统集群系统负载不均且不能适应多变的网络环境等诸多问题。实验结果表明,与加权轮询法(WRR)和加权最少连接法(WLC)调度方案相比,该机制能够在并发量较大时维持较低的响应时间,并能够根据集群中综合负载的状态实时地增加或减少虚拟机数量,通常在5s之内达到整体集群的负载均衡。

CLC Number: