Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ipvs: Document sysctl sync_qlen_max and sync_sock_size

Document sysctl sync_qlen_max and sync_sock_size based on
commit 1c003b1580e2 ("ipvs: wakeup master thread").

Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>

authored by

Hangbin Liu and committed by
Simon Horman
237e5722 a2f346d8

+14
+14
Documentation/networking/ipvs-sysctl.txt
··· 217 217 to protect against loss of sync messages. The range of the 218 218 sync_retries is from 0 to 3. 219 219 220 + sync_qlen_max - UNSIGNED LONG 221 + 222 + Hard limit for queued sync messages that are not sent yet. It 223 + defaults to 1/32 of the memory pages but actually represents 224 + number of messages. It will protect us from allocating large 225 + parts of memory when the sending rate is lower than the queuing 226 + rate. 227 + 228 + sync_sock_size - INTEGER 229 + default 0 230 + 231 + Configuration of SNDBUF (master) or RCVBUF (slave) socket limit. 232 + Default value is 0 (preserve system defaults). 233 + 220 234 snat_reroute - BOOLEAN 221 235 0 - disabled 222 236 not 0 - enabled (default)