From owner-freebsd-arch@FreeBSD.ORG Sat Mar 19 15:04:06 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 872081065691 for ; Sat, 19 Mar 2011 15:04:06 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 46F3F8FC08 for ; Sat, 19 Mar 2011 15:04:06 +0000 (UTC) Received: from outgoing.leidinger.net (p5B1554DB.dip.t-dialin.net [91.21.84.219]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 486C384400E; Sat, 19 Mar 2011 16:04:02 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.2.110]) by outgoing.leidinger.net (Postfix) with ESMTP id 7744B3EAB; Sat, 19 Mar 2011 16:03:59 +0100 (CET) Date: Sat, 19 Mar 2011 16:04:00 +0100 From: Alexander Leidinger To: George Neville-Neil Message-ID: <20110319160400.000043f5@unknown> In-Reply-To: <132388F1-44D9-45C9-AE05-1799A7A2DCD9@neville-neil.com> References: <132388F1-44D9-45C9-AE05-1799A7A2DCD9@neville-neil.com> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 486C384400E.A3C4D X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1, required 6, autolearn=disabled, ALL_TRUSTED -1.00) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1301151843.01304@xv8KS2sTdL2O03rbb+CL6A X-EBL-Spam-Status: No 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: Sat, 19 Mar 2011 15:04:06 -0000 On Sat, 19 Mar 2011 15:37:47 +0900 George Neville-Neil wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Howdy, > > 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: > > kern.ipc.maxsockbuf: 262144 > net.inet.tcp.recvbuf_max: 262144 > net.inet.tcp.sendbuf_max: 262144 > > 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. > > Thoughts? 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/ Bye, Alexander.