Skip to content

Commit 237e572

Browse files
liuhangbinhorms
authored andcommitted
ipvs: Document sysctl sync_qlen_max and sync_sock_size
Document sysctl sync_qlen_max and sync_sock_size based on commit 1c003b1 ("ipvs: wakeup master thread"). Signed-off-by: Hangbin Liu <[email protected]> Signed-off-by: Simon Horman <[email protected]>
1 parent a2f346d commit 237e572

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Documentation/networking/ipvs-sysctl.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,20 @@ sync_retries - INTEGER
217217
to protect against loss of sync messages. The range of the
218218
sync_retries is from 0 to 3.
219219

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+
220234
snat_reroute - BOOLEAN
221235
0 - disabled
222236
not 0 - enabled (default)

0 commit comments

Comments
 (0)