Subject: Re: TCP socket buffers automatic sizing
To: Mindaugas R. <rmind@NetBSD.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-net
Date: 07/21/2007 12:46:08
On Sat, 21 Jul 2007 19:36:52 +0300
"Mindaugas R." <rmind@NetBSD.org> wrote:

> "Steven M. Bellovin" <smb@cs.columbia.edu> wrote:
> > Same here.  When the subject was first mentioned, I cranked up my
> > buffer sizes to the largest NetBSD would permit via sysctl; I
> > noticed a very significant improvement on some of my connections.
> 
> Did you meant sendbuf_max? Do you have some details?
> 
I have
	net.inet.tcp.sendspace=131072
	net.inet.tcp.recvspace=131072

in sysctl.conf.  Those improved throughput significantly on large,
high-latency paths.  (I set them six months ago and no longer recall
the details.)

		--Steve Bellovin, http://www.cs.columbia.edu/~smb