Date: Wed, 4 May 2011 20:39:17 +0000 From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: George Neville-Neil <gnn@neville-neil.com> Cc: arch@freebsd.org Subject: Re: Updating our TCP and socket sysctl values... Message-ID: <73F7C4EA-6627-4428-8130-D77443722E15@lists.zabbadoz.net> In-Reply-To: <132388F1-44D9-45C9-AE05-1799A7A2DCD9@neville-neil.com> References: <132388F1-44D9-45C9-AE05-1799A7A2DCD9@neville-neil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mar 19, 2011, at 6:37 AM, George Neville-Neil wrote: Hey, > 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? Yes, did you ever commit a change? I would even go further up to 4M. 300ms x 100Mbit/s =3D~ 3.6M which is about what I can get here as = residential customer here as you can probably get in Japan, and that's = about 300ms from some parts of Europe. Equally it would allow me to get Gbit/s throughout most parts of the = continent here and it's still 400Mbit/s East-to-West coast in theory if = I got the maths right. In addition to Gordon's values: I think the current OSX maximum send/recvspace values you can set are = around 3720000. The defaults are even more abysmal than FreeBSD's and I = have yet to figure out to make the changes persistent over a reboot but = ELIST. So all in all I think the 2M are a save bet at least. /bz --=20 Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?73F7C4EA-6627-4428-8130-D77443722E15>