标签:
LVS的调度算法(Scheduling Method)一共有10种
1、rr(Round Robin):轮询
2、wrr(Werghted Round Robin):加权轮询
3、sh(Source Hashing):源地址hash
4、dh(dh):目标地址hash
1、lc(Least Connection):最少连接
算法:Overhead=Active*256+Inactive
Overhead:最小负载
Active:活动连接
Inactive:非活动连接
结果中,最小者胜出
2、wlc(Werghted LC):加权最少连接(默认算法)
算法:Overhead=(Active*256+Inactive)/weight
weight:权重
3、sed(Shortest Expect Delay):最小期望延迟(改进的wlc)
算法:Overhead=(Active+1)*256/weight
4、nq(Nerver Queue):永不排队
5、lblc(Locality-based Least Connection):基于本地的最少连接
6、lblcr(Replicated and Locality-based Least Connection):带复制的基于本地的最少连接
标签:
原文地址:http://www.cnblogs.com/fansik/p/5830518.html