From: Sowmini Varadhan <sowmini.varadhan@oracle.com>
To: Tom Herbert <tom@herbertland.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>,
"David S. Miller" <davem@davemloft.net>,
Linux Kernel Network Developers <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next] rds-tcp: Add module parameters to control sndbuf/rcvbuf size of RDS-TCP socket
Date: Fri, 11 Mar 2016 23:39:52 -0500 [thread overview]
Message-ID: <20160312043952.GC26486@oracle.com> (raw)
In-Reply-To: <CALx6S37gHYMJdz3MzfjKwLHsw0Pmg0SxvQ036sg35AjRackARQ@mail.gmail.com>
On (03/11/16 20:07), Tom Herbert wrote:
> You are describing your deployment of RDS, not kernel implementation.
> What I see is a very rigid implementation that would make it hard for
> many us to ever even consider deploying. The abilities of applications
> to tune TCP connections is well understood, very prevalent, and really
> fundamental in making TCP based datacenters at large scale.
sorry, historically, OS DDI/DKI's for kernel modules have always
had some way to set up startup parameters at module load time. And
clusters have been around for a while.
So let's just focus on the technical question around module config here,
which involves more than TCP sockets, btw.
> Any way, it was just an idea... ;-)
Thank you.
Moving on,
> Maybe add one module parameter that indicates the module should just
> load but not start, configure whatever is needed via netlink, and then
> send one more netlink command to start operations.
Even that needs an extra daemon.
Without getting into the vast number of questions that it raises (such
as every module with startup params now needs a uspace counterpart?
modprobe-r behavior, namespace behavior? Why netlink for every kernel
module? etc)..
One module parameter is as much a "distribution management"
problem as 10 of them, yes? I hope you see that I dont need that module
param and daemon baggage- I can just use sysctl to set up all my params,
including one bit for module_can_start_now to achieve the same thing.
But it is still more than the handful of lines of code in my patch,
so it would be nice to understand what is the "distribution" issue.
Stepping back, how do we make sysctl fully namespace friendly?
btw setting kernel socket keepalive params via sysctl is not a problem
to implement at all, if it ever shows up as a requirement for customers.
--Sowmini
next prev parent reply other threads:[~2016-03-12 4:40 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
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 [this message]
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=20160312043952.GC26486@oracle.com \
--to=sowmini.varadhan@oracle.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=tom@herbertland.com \
/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).