Skip to contentSkip to conversation

ipvsadm: Document support of fo scheduler

PATCH Superseded Quentin Armitage 2 participants 2 messages Jan 4, 2019 – Jan 5, 2019 IPVS

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ipvsadm: Document support of fo scheduler

---
 SCHEDULERS | 2 +-
 ipvsadm.8  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
SCHEDULERS +1 -1
index 84ba299..a782bea 100644
@@ -1 +1 @@
-rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq
+rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo
ipvsadm.8 +4 -0
index dad1712..c05e577 100644
@@ -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.
 .TP
 .B -p, --persistent [\fItimeout\fP]
 Specify that a virtual service is persistent. If this option is
Signature · 1 line
2.13.7
maintainer
#1 lore raw

Hello,

Quoted 18 lines · Quentin Armitage
---
 SCHEDULERS | 2 +-
 ipvsadm.8  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
SCHEDULERS +1 -1
index 84ba299..a782bea 100644
@@ -1 +1 @@
-rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq
+rr|wrr|lc|wlc|lblc|lblcr|dh|sh|sed|nq|fo
ipvsadm.8 +0 -0
index dad1712..c05e577 100644

ipvsadm.8 fixed service rate (weight) of the ith server. · line 273

Quoted 7 lines
ipvsadm.8 +4 -0
@@ -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 <[email protected]>