[lvs-users] IPVS adding a 1s delay on connection establishment under moderately high number of TCP req/s
ppicachu at gmail.com
Thu May 24 12:53:07 BST 2018
Many thanks Julian.
Really good options you provide me :-)
> There was recent discussion about this 1-second delay.
> May be you will find the needed answers here:
So bascially the proposed solutions are the same as below.
> Basicly, you have 3 options:
> - echo 0 > conn_reuse_mode: do not attempt to reschedule on
> port reuse (new SYN hits unexpired conn), just use the same real
> server. This can be bad, we do not select alive server if the
> server used by old connection is not available anymore (weight=0
> or removed).
Already tried this, but has the ugly effect of not detecting new servers
> Next two options are if you do not want to
> use the first option:
> - echo 0 > conntrack: if you do not use rules to match
> conntrack state for the IPVS packets. This is slowest,
> conntracks are created and destroyed for every packet.
> - use NOTRACK for IPVS packets: fastest, conntracks are
> not created, less memory is used
More information about the lvs-users