From: Hangbin Liu <liuhangbin@gmail.com>
To: lvs-devel@vger.kernel.org
Cc: Simon Horman <horms@verge.net.au>,
netdev@vger.kernel.org,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Hangbin Liu <liuhangbin@gmail.com>
Subject: [PATCH net 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size
Date: Fri, 17 Feb 2017 14:33:59 +0800 [thread overview]
Message-ID: <1487313241-11361-3-git-send-email-liuhangbin@gmail.com> (raw)
In-Reply-To: <1487313241-11361-1-git-send-email-liuhangbin@gmail.com>
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>
---
Documentation/networking/ipvs-sysctl.txt | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt
index 7acaaa6..7622ba5 100644
--- a/Documentation/networking/ipvs-sysctl.txt
+++ b/Documentation/networking/ipvs-sysctl.txt
@@ -217,6 +217,19 @@ sync_retries - INTEGER
to protect against loss of sync messages. The range of the
sync_retries is from 0 to 3.
+sync_qlen_max - UNSIGNED LONG
+
+ Hard limit for queued sync messages that 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
0 - disabled
not 0 - enabled (default)
--
2.5.5
next prev parent reply other threads:[~2017-02-17 6:34 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-17 6:33 [PATCH net 0/4] update ipvs sysctl document Hangbin Liu
2017-02-17 6:33 ` [PATCH net 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
2017-02-17 6:33 ` Hangbin Liu [this message]
2017-02-17 6:34 ` [PATCH net 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
2017-02-17 6:34 ` [PATCH net 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
2017-02-19 14:04 ` [PATCH net 0/4] update ipvs sysctl document Julian Anastasov
2017-02-20 8:19 ` Hangbin Liu
2017-02-20 8:31 ` [PATCHv2 net-next " Hangbin Liu
2017-02-20 8:31 ` [PATCHv2 net-next 1/4] ipvs: fix sync_threshold description and add sync_refresh_period, sync_retries Hangbin Liu
2017-02-20 8:31 ` [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Hangbin Liu
2017-02-20 8:31 ` [PATCHv2 net-next 3/4] ipvs: Document sysctl sync_ports Hangbin Liu
2017-02-20 8:31 ` [PATCHv2 net-next 4/4] ipvs: Document sysctl pmtu_disc Hangbin Liu
2017-02-21 20:01 ` [PATCHv2 net-next 0/4] update ipvs sysctl document Julian Anastasov
2017-03-13 9:14 ` Simon Horman
2017-03-15 2:42 ` Hangbin Liu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1487313241-11361-3-git-send-email-liuhangbin@gmail.com \
--to=liuhangbin@gmail.com \
--cc=horms@verge.net.au \
--cc=lvs-devel@vger.kernel.org \
--cc=marcelo.leitner@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).