From owner-freebsd-net@FreeBSD.ORG Mon Nov 12 09:27:20 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 CFEC661C for ; Mon, 12 Nov 2012 09:27:20 +0000 (UTC) (envelope-from oppermann@networx.ch) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.freebsd.org (Postfix) with ESMTP id 372C58FC0C for ; Mon, 12 Nov 2012 09:27:19 +0000 (UTC) Received: (qmail 94758 invoked from network); 12 Nov 2012 11:01:43 -0000 Received: from c00l3r.networx.ch (HELO [127.0.0.1]) ([62.48.2.2]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Nov 2012 11:01:43 -0000 Message-ID: <50A0C0F4.8010706@networx.ch> Date: Mon, 12 Nov 2012 10:27:16 +0100 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Alfred Perlstein Subject: Re: auto tuning tcp References: <50A0A0EF.3020109@mu.org> <50A0A502.1030306@networx.ch> <50A0B8DA.9090409@mu.org> In-Reply-To: <50A0B8DA.9090409@mu.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 09:27:21 -0000 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 -- Andre