From owner-freebsd-net@FreeBSD.ORG Mon Nov 12 17:43:48 2012 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C3F8154F; Mon, 12 Nov 2012 17:43:48 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A66FC8FC0C; Mon, 12 Nov 2012 17:43:48 +0000 (UTC) Received: from [10.0.1.17] (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id 480BE1A3CEB; Mon, 12 Nov 2012 09:43:48 -0800 (PST) References: <50A0A0EF.3020109@mu.org> <50A0A502.1030306@networx.ch> <50A0B8DA.9090409@mu.org> <50A0C0F4.8010706@networx.ch> In-Reply-To: <50A0C0F4.8010706@networx.ch> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Message-Id: X-Mailer: iPhone Mail (9B206) From: Alfred Perlstein Subject: Re: auto tuning tcp Date: Mon, 12 Nov 2012 09:43:46 -0800 To: Andre Oppermann Cc: "freebsd-net@freebsd.org" , Adrian Chadd , Peter Wemm X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 17:43:48 -0000 On Nov 12, 2012, at 1:27 AM, Andre Oppermann wrote: > On 12.11.2012 09:52, Alfred Perlstein wrote: >> On 11/11/12 11:28 PM, Andre Oppermann wrote: >>> On 12.11.2012 08:10, Alfred Perlstein wrote: >>>> I noticed that TCBHASHSIZE does not autotune. >>>> >>>> What do you think of the following algorithm? >>>> >>>> Basically round down to next power of two based on nmbclusters / 64. >>> >>> Please wait out for a real fix of the various mbuf-whatever tuning >>> issue I'll propose shortly. This approach may become inapproriate. >>> Also the mbuf limits can be changed at runtime by sysctl. >>> >> What is the timeline you are asking for to wait? > > http://svnweb.freebsd.org/changeset/base/242910 Very cool! So instead of nmbclusters, will maxsockets work? Ideas/suggestions? -Alfred.