针对现有云计算系统中负载均衡方法的不足,借鉴系统逻辑分层和多代理的思想,提出一种基于分层多代理的云计算负载均衡方法.通过对云计算平台逻辑分层,在任务代理层设置任务监控代理和任务子代理,根据用户任务的差异性,采用基于任务优先级和Qo S目标约束的调度策略协同完成任务调度;在资源代理层设置资源监控代理和资源子代理,考虑物理节点的异构性,采用基于启发式贪婪的资源分配策略协同完成虚拟机到物理节点的映射.通过评估对比仿真实验,结果表明该方法在任务调度效率、任务完成时间、截止时间违背率和负载均衡度方面表现更优,多代理有效地分担了中心管理节点的管理负载,使云计算平台的任务处理能力、资源利用率及鲁棒性均得到了进一步的提升.
To overcome the shortcoming of the load balancing method in cloud computing,a load balancing method for cloud com puting platform is proposed,which is inspired by the system logic hierarchical and m ulti-agent theory. By m aking use of the idea of logical layer of cloud com puting platform,on the one hand,task m onitoring agents and task subagents are set up in the task agent layer. According to the diversity of users' tasks,the m ethod com pletes the task scheduling based on the task priority and Qo S constrained; on the other hand,resource m onitoring agents and resource sub-agents are set up in resource agent layer. Considering the heterogeneity of physical nodes,the m ethod m aps the virtual m achine to the physical nodes by the resource allocation policy based on the greedy heuristic. Im plem entation results showthat the newm ethod outperform s the others in term s of efficiency of task scheduling,m akespan of task,task tim e-constraint violation tim e and load balancing. Moreover,after m ulti-agent effectively shares the m anagem ent load of the center m anagem ent node,task processing ability,resource utilization rate and robustness of the cloud com puting platform are significantly im proved.