LVS
lvs-devel
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] [PATCH 1/3] ipvsadm: Document support of fo scheduler

To: Quentin Armitage <quentin@xxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] [PATCH 1/3] ipvsadm: Document support of fo scheduler
Cc: lvs-devel@xxxxxxxxxxxxxxx, lvs-users@xxxxxxxxxxxxxxxxxxxxxx, Simon Horman <horms@xxxxxxxxxxxx>, Kenny Mathis <kmathis@xxxxxxxxxxxxxx>, Jesper Dangaard Brouer <brouer@xxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Sat, 5 Jan 2019 16:58:17 +0200 (EET)
        Hello,

On Fri, 4 Jan 2019, Quentin Armitage wrote:

> Signed-off-by: Quentin Armitage <quentin@xxxxxxxxxxxxxxx>
> ---
>  SCHEDULERS | 2 +-
>  ipvsadm.8  | 4 ++++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/SCHEDULERS b/SCHEDULERS
> index 84ba299..a782bea 100644
> --- a/SCHEDULERS
> +++ b/SCHEDULERS
> @@ -1 +1 @@
> -rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq
> +rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo
> diff --git a/ipvsadm.8 b/ipvsadm.8
> index dad1712..c05e577 100644
> --- a/ipvsadm.8
> +++ b/ipvsadm.8
> @@ -267,6 +267,10 @@ fixed service rate (weight) of the ith server.
>  \fBnq\fR - Never Queue: assigns an incoming job to an idle server if
>  there is, instead of waiting for a fast one; if all the servers are
>  busy, it adopts the Shortest Expected Delay policy to assign the job.
> +.sp
> +\fBfo\fR - Weighted Failover: assigns an incoming job to the highest
> +weighted available server and overflows to the next when the number
> +of connections exceeds its weight.

        Not very correct. Description from net/netfilter/ipvs/Kconfig
should be more useful:

<SNIP>
The weighted failover scheduling algorithm directs network
connections to the server with the highest weight that is
currently available.
</SNIP>

        I.e. something like "bigest available server that is not 
overloaded".

Regards

--
Julian Anastasov <ja@xxxxxx>

_______________________________________________
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>