LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] IPVS adding a 1s delay on connection establishment under

To: Julian Anastasov <ja@xxxxxx>
Subject: Re: [lvs-users] IPVS adding a 1s delay on connection establishment under moderately high number of TCP req/s
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Toni Martí <ppicachu@xxxxxxxxx>
Date: Thu, 24 May 2018 13:53:07 +0200
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:
>
> https://marc.info/?t=151683118100004&r=1&w=2

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
>

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>