diff options
author | Julian Anastasov <ja@ssi.bg> | 2013-06-24 15:44:41 -0400 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2013-06-26 05:01:46 -0400 |
commit | 4d0c875dcc4923476f364e83912d134da2df224c (patch) | |
tree | de662531facb4cd1629d0b2b9e8cac996a08a9be /Documentation/networking/ipvs-sysctl.txt | |
parent | eba3b5a78799d21dea05118b294524958f0ab592 (diff) |
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.txt | 13 |
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 | |||
181 | always be the same as the original route so it is an optimisation | 181 | always be the same as the original route so it is an optimisation |
182 | to disable snat_reroute and avoid the recalculation. | 182 | to disable snat_reroute and avoid the recalculation. |
183 | 183 | ||
184 | sync_persist_mode - INTEGER | ||
185 | default 0 | ||
186 | |||
187 | Controls the synchronisation of connections when using persistence | ||
188 | |||
189 | 0: All types of connections are synchronised | ||
190 | 1: Attempt to reduce the synchronisation traffic depending on | ||
191 | the connection type. For persistent services avoid synchronisation | ||
192 | for normal connections, do it only for persistence templates. | ||
193 | In such case, for TCP and SCTP it may need enabling sloppy_tcp and | ||
194 | sloppy_sctp flags on backup servers. For non-persistent services | ||
195 | such optimization is not applied, mode 0 is assumed. | ||
196 | |||
184 | sync_version - INTEGER | 197 | sync_version - INTEGER |
185 | default 1 | 198 | default 1 |
186 | 199 | ||