Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420448

Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as active

From Simon Horman <horms@verge.net.au>
Newsgroups linux.kernel
Subject Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as active
Date 2016-06-13 07:30 +0200
Message-ID <rJsBH-1Rz-1@gated-at.bofh.it> (permalink)
References <rFZFU-5aq-31@gated-at.bofh.it> <rJfuN-1Ui-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Jun 12, 2016 at 06:27:39PM +0300, Julian Anastasov wrote:
> 
> 	Hello,
> 
> On Fri, 3 Jun 2016, Michal Kubecek wrote:
> 
> > 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>
> 
> 	Simon, please apply!

Thanks, done.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH ipvs-next] ipvs: count pre-established TCP states as active Michal Kubecek <mkubecek@suse.cz> - 2016-06-03 18:00 +0200
  Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as  active Julian Anastasov <ja@ssi.bg> - 2016-06-06 09:40 +0200
  Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as  active Julian Anastasov <ja@ssi.bg> - 2016-06-12 17:30 +0200
    Re: [PATCH ipvs-next] ipvs: count pre-established TCP states as  active Simon Horman <horms@verge.net.au> - 2016-06-13 07:30 +0200

csiph-web