From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hangbin Liu Subject: [PATCHv2 net-next 2/4] ipvs: Document sysctl sync_qlen_max and sync_sock_size Date: Mon, 20 Feb 2017 16:31:36 +0800 Message-ID: <1487579498-18967-3-git-send-email-liuhangbin@gmail.com> References: <1487313241-11361-1-git-send-email-liuhangbin@gmail.com> <1487579498-18967-1-git-send-email-liuhangbin@gmail.com> Cc: netdev@vger.kernel.org, Marcelo Ricardo Leitner , Julian Anastasov , Hangbin Liu To: lvs-devel@vger.kernel.org Return-path: In-Reply-To: <1487579498-18967-1-git-send-email-liuhangbin@gmail.com> Sender: lvs-devel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Document sysctl sync_qlen_max and sync_sock_size based on commit 1c003b1580e2 ("ipvs: wakeup master thread"). Signed-off-by: Hangbin Liu --- Documentation/networking/ipvs-sysctl.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/networking/ipvs-sysctl.txt b/Documentation/networking/ipvs-sysctl.txt index 7acaaa6..159d70b 100644 --- a/Documentation/networking/ipvs-sysctl.txt +++ b/Documentation/networking/ipvs-sysctl.txt @@ -217,6 +217,20 @@ 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 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 0 - disabled not 0 - enabled (default) -- 2.5.5