Thread (5 messages) flat view 5 messages, 3 authors, 2007-10-26

Re: [2.6 patch] always export sysctl_{r,w}mem_max

From: David Miller <davem@davemloft.net>
Date: 2007-10-26 23:52:45
Also in: lkml

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help