From owner-freebsd-arch@FreeBSD.ORG Sun Mar 20 03:45:50 2011 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D33106566B for ; Sun, 20 Mar 2011 03:45:50 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 3B60A8FC08 for ; Sun, 20 Mar 2011 03:45:50 +0000 (UTC) Received: from 197.214.32.202.bf.2iij.net ([202.32.214.197] helo=[192.168.12.144]) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Q19aO-0005n1-R8; Sat, 19 Mar 2011 23:45:49 -0400 Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: George Neville-Neil In-Reply-To: <20110319160400.000043f5@unknown> Date: Sun, 20 Mar 2011 12:45:45 +0900 Content-Transfer-Encoding: quoted-printable Message-Id: <72B8E80C-E4C7-4763-A7B5-7A4441188C00@neville-neil.com> References: <132388F1-44D9-45C9-AE05-1799A7A2DCD9@neville-neil.com> <20110319160400.000043f5@unknown> To: Alexander Leidinger X-Pgp-Agent: GPGMail 1.3.2 X-Mailer: Apple Mail (2.1082) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com Cc: arch@freebsd.org Subject: Re: Updating our TCP and socket sysctl values... X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2011 03:45:50 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 20, 2011, at 00:04 , Alexander Leidinger wrote: > On Sat, 19 Mar 2011 15:37:47 +0900 George Neville-Neil > wrote: >=20 >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >>=20 >> Howdy, >>=20 >> I believe it's time for us to upgrade our sysctl values for TCP >> sockets so that they are more in line with the modern world. At the >> moment we have these limits on our buffering: >>=20 >> kern.ipc.maxsockbuf: 262144 >> net.inet.tcp.recvbuf_max: 262144 >> net.inet.tcp.sendbuf_max: 262144 >>=20 >> I believe it's time to up these values to something that's in line >> with higher speed local networks, such as 10G. Perhaps it's time to >> move these to 2MB instead of 256K. >>=20 >> Thoughts? >=20 > I suggest to read > http://www.bufferbloat.net/projects/bloat/wiki/Bufferbloat > and do a before/after test to make sure we do not suffer from the > described problem. Jim Getty has test descriptions: > http://gettys.wordpress.com/category/bufferbloat/ >=20 No need to read those, I heard him talk about it at dinner a few weeks ago. What he's mostly talking about is buffer bloat in non endpoint devices. Note that I'm not talking about changing where we start, but what the maximum is. It is definitely the case, and Jeff Roberson can back me up on this, that our defaults are hampering the out of the box experience for our users. Best, George -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk2FeGkACgkQYdh2wUQKM9K7KgCggOYPJlks8agtDEZdJX1jsxa/ 9vMAn2RRTOGgylTHd08bz6IZYayIHuaA =3DDXWB -----END PGP SIGNATURE-----