From: Rick Jones <redacted>
Date: Fri, 26 Oct 2007 16:46:36 -0700
David Miller wrote:
quoted
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.