From: Stephen Hemminger <stephen@networkplumber•org>
To: Sowmini Varadhan <sowmini.varadhan@oracle•com>
Cc: netdev@vger•kernel.org, rds-devel@oss•oracle.com,
santosh.shilimkar@oracle•com, davem@davemloft•net
Subject: Re: [PATCH net-next] rds-tcp: Add module parameters to control sndbuf/rcvbuf size of RDS-TCP socket
Date: Fri, 11 Mar 2016 11:09:27 -0800 [thread overview]
Message-ID: <20160311110927.5c559421@xeon-e3> (raw)
In-Reply-To: <20160311182949.GG3383@oracle.com>
On Fri, 11 Mar 2016 13:29:49 -0500
Sowmini Varadhan <sowmini.varadhan@oracle•com> wrote:
>
> -#define RDS_TCP_DEFAULT_BUFSIZE (128 * 1024)
> +static int sndbuf_size = 16384;
> +module_param(sndbuf_size, int, 0444);
> +MODULE_PARM_DESC(sndbuf_size, "SO_SNDBUF size of kernel tcp socket");
> +
> +static int rcvbuf_size = 87380;
> +module_param(rcvbuf_size, int, 0444);
> +MODULE_PARM_DESC(rcvbuf_size, "SO_RCVBUF size of kernel tcp socket");
Module parameters are a problem for distributions and should only be used
as a last resort.
next prev parent reply other threads:[~2016-03-11 19:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-11 18:29 [PATCH net-next] rds-tcp: Add module parameters to control sndbuf/rcvbuf size of RDS-TCP socket Sowmini Varadhan
2016-03-11 19:09 ` Stephen Hemminger [this message]
2016-03-11 19:12 ` Sowmini Varadhan
2016-03-12 2:43 ` Sowmini Varadhan
2016-03-12 3:21 ` Tom Herbert
2016-03-12 3:44 ` Sowmini Varadhan
2016-03-12 4:07 ` Tom Herbert
2016-03-12 4:39 ` Sowmini Varadhan
2016-03-14 17:57 ` Tom Herbert
2016-03-14 18:06 ` Sowmini Varadhan
2016-03-14 18:59 ` David Miller
2016-03-11 19:14 ` David Miller
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=20160311110927.5c559421@xeon-e3 \
--to=stephen@networkplumber$(echo .)org \
--cc=davem@davemloft$(echo .)net \
--cc=netdev@vger$(echo .)kernel.org \
--cc=rds-devel@oss$(echo .)oracle.com \
--cc=santosh.shilimkar@oracle$(echo .)com \
--cc=sowmini.varadhan@oracle$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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