summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/ipvs-sysctl.txt
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2013-06-24 22:44:41 +0300
committerSimon Horman <horms@verge.net.au>2013-06-26 18:01:46 +0900
commit4d0c875dcc4923476f364e83912d134da2df224c (patch)
treede662531facb4cd1629d0b2b9e8cac996a08a9be /Documentation/networking/ipvs-sysctl.txt
parenteba3b5a78799d21dea05118b294524958f0ab592 (diff)
downloadlinux-4d0c875dcc4923476f364e83912d134da2df224c.tar.gz
linux-4d0c875dcc4923476f364e83912d134da2df224c.tar.bz2
linux-4d0c875dcc4923476f364e83912d134da2df224c.zip
ipvs: add sync_persist_mode flag
Add sync_persist_mode flag to reduce sync traffic by syncing only persistent templates. Signed-off-by: Julian Anastasov <ja@ssi.bg> Tested-by: Aleksey Chudov <aleksey.chudov@gmail.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'Documentation/networking/ipvs-sysctl.txt')
-rw-r--r--Documentation/networking/ipvs-sysctl.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 9573d0c48c6e..7a3c04729591 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -181,6 +181,19 @@ snat_reroute - BOOLEAN
always be the same as the original route so it is an optimisation
to disable snat_reroute and avoid the recalculation.
+sync_persist_mode - INTEGER
+ default 0
+
+ Controls the synchronisation of connections when using persistence
+
+ 0: All types of connections are synchronised
+ 1: Attempt to reduce the synchronisation traffic depending on
+ the connection type. For persistent services avoid synchronisation
+ for normal connections, do it only for persistence templates.
+ In such case, for TCP and SCTP it may need enabling sloppy_tcp and
+ sloppy_sctp flags on backup servers. For non-persistent services
+ such optimization is not applied, mode 0 is assumed.
+
sync_version - INTEGER
default 1