aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2016-06-03 17:56:50 +0200
committerMister Oyster <oysterized@gmail.com>2017-04-11 10:58:39 +0200
commit0effc36ebef26caf6c851ec18396d027e83c3f8d (patch)
treeb9844cae07c0e12a2c33fdf09691f124b3eb1833 /include/uapi/linux
parent4d0a2b6053379a4138fcd3a02b59b9a5d45d2cc2 (diff)
ipvs: count pre-established TCP states as active
commit be2cef49904b34dd5f75d96bbc8cd8341bab1bc0 upstream. Some users observed that "least connection" distribution algorithm doesn't handle well bursts of TCP connections from reconnecting clients after a node or network failure. This is because the algorithm counts active connection as worth 256 inactive ones where for TCP, "active" only means TCP connections in ESTABLISHED state. In case of a connection burst, new connections are handled before previous ones have finished the three way handshaking so that all are still counted as "inactive", i.e. cheap ones. The become "active" quickly but at that time, all of them are already assigned to one real server (or few), resulting in highly unbalanced distribution. Address this by counting the "pre-established" states as "active". Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions