Commit 237e5722 authored by Hangbin Liu's avatar Hangbin Liu Committed by Simon Horman

ipvs: Document sysctl sync_qlen_max and sync_sock_size

Document sysctl sync_qlen_max and sync_sock_size based on
commit 1c003b15 ("ipvs: wakeup master thread").
Signed-off-by: default avatarHangbin Liu <liuhangbin@gmail.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent a2f346d8
...@@ -217,6 +217,20 @@ sync_retries - INTEGER ...@@ -217,6 +217,20 @@ sync_retries - INTEGER
to protect against loss of sync messages. The range of the to protect against loss of sync messages. The range of the
sync_retries is from 0 to 3. sync_retries is from 0 to 3.
sync_qlen_max - UNSIGNED LONG
Hard limit for queued sync messages that are not sent yet. It
defaults to 1/32 of the memory pages but actually represents
number of messages. It will protect us from allocating large
parts of memory when the sending rate is lower than the queuing
rate.
sync_sock_size - INTEGER
default 0
Configuration of SNDBUF (master) or RCVBUF (slave) socket limit.
Default value is 0 (preserve system defaults).
snat_reroute - BOOLEAN snat_reroute - BOOLEAN
0 - disabled 0 - disabled
not 0 - enabled (default) not 0 - enabled (default)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment