From: David Miller <davem@davemloft.net>
To: rick.jones2@hp.com
Cc: ebiederm@xmission.com, bunk@kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] always export sysctl_{r,w}mem_max
Date: Fri, 26 Oct 2007 16:52:35 -0700 (PDT) [thread overview]
Message-ID: <20071026.165235.124016148.davem@davemloft.net> (raw)
In-Reply-To: <47227C5C.1070507@hp.com>
From: Rick Jones <rick.jones2@hp.com>
Date: Fri, 26 Oct 2007 16:46:36 -0700
> David Miller wrote:
> > If DLM really wants minimum, it can use SO_SNDBUFFORCE and
> > SO_RCVBUFFORCE socket options and use whatever limits it
> > likes.
> >
> > But even this is questionable.
>
> Drift...
>
> Is that something netperf should be using though? Right now it uses the regular
> SO_[SND|RCV]BUF calls and is at the mercy of sysctls. I wonder if it would be
> better to have it use their FORCE versions to make life easier on the
> benchmarker - such as myself - who has an unfortunate habit of forgetting to
> update sysctl.conf :)
The force calls are for root only.
And I want to remind you that explicitly setting socket
buffer sizes hurts performance with TCP. I know you know
this but it bears restating for the benefit of others.
next prev parent reply other threads:[~2007-10-26 23:52 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-26 23:08 [2.6 patch] always export sysctl_{r,w}mem_max Adrian Bunk
2007-10-26 23:20 ` Eric W. Biederman
2007-10-26 23:31 ` Rick Jones
2007-10-26 23:39 ` David Miller
2007-10-26 23:46 ` Rick Jones
2007-10-26 23:52 ` David Miller [this message]
2007-10-27 0:04 ` Eric W. Biederman
2007-11-07 7:50 ` 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=20071026.165235.124016148.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=bunk@kernel.org \
--cc=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rick.jones2@hp.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).