基于LVS系统的负载动态平衡设计与实现
Design and Realization of Dynamic Load Balancing Based on Linux Virtual Server System
-
摘要: 基于LVS的集群负载调度系统 ,内核中的加权调度算法权值是静态的 ,没有动态调整机制 ,容易出现任务分配与真实服务器处理能力相背离 给出了一种通过量化调度器和真实服务器的实时反馈负载信息指标 ,计算服务器综合负载 ,动态调整服务器权值的收敛算法 ,实现负载动态平衡 ,及时调整负载倾斜 ,进一步提高服务器的利用效率和集群系统的吞吐率 设计可应用在使用LVS的负载平衡调度集群系统中Abstract: In a load balancing system based on Linux virtual server, weight is static in the weighted scheduling algorithm In the LVS kernel the IPVS model, there isn’t mechanisms to adjust weight automatically So task assignments often deviate from servers’ capability In this paper a convergent method is introduced to adjust weight of servers dynamically Weight of servers is changed according to the real time feedback information from the real server and the IPVS model The method realizes dynamic load balancing mechanism and improves servers’ efficiency and cluster’s I/O rate And the method can be applied to cluster systems based on Linux virtual server
下载: