From owner-freebsd-stable@FreeBSD.ORG Wed Sep 21 16:43:38 2011 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECE70106564A for ; Wed, 21 Sep 2011 16:43:38 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id B35768FC0C for ; Wed, 21 Sep 2011 16:43:38 +0000 (UTC) Received: from lstewart1.loshell.room52.net (ppp59-167-184-191.static.internode.on.net [59.167.184.191]) by lauren.room52.net (Postfix) with ESMTPSA id 1E0CF7E84A; Thu, 22 Sep 2011 02:43:37 +1000 (EST) Message-ID: <4E7A1438.4080503@freebsd.org> Date: Thu, 22 Sep 2011 02:43:36 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110914 Thunderbird/6.0.2 MIME-Version: 1.0 To: Jason Hellenthal References: <20110920042748.GA2746@DataIX.net> <4E794E60.6000600@freebsd.org> <20110921033211.GA59313@DataIX.net> <4E796341.404@freebsd.org> <20110921061120.GA99286@DataIX.net> In-Reply-To: <20110921061120.GA99286@DataIX.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lauren.room52.net Cc: stable@freebsd.org Subject: Re: h_ertt cc_vegas loader.conf interaction on stable/8 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2011 16:43:39 -0000 On 09/21/11 16:11, Jason Hellenthal wrote: > > > On Wed, Sep 21, 2011 at 02:08:33PM +1000, Lawrence Stewart wrote: >> On 09/21/11 13:32, Jason Hellenthal wrote: >>> >>> Hi Larence, >>> >>> On Wed, Sep 21, 2011 at 12:39:28PM +1000, Lawrence Stewart wrote: >>>> Hi Jason, >>>> >>>> On 09/20/11 14:27, Jason Hellenthal wrote: >>>>> >>>>> On stable/8 as of the date of this message when attempting the following >>>>> configuration the sysctl MIB net.inet.tcp.cc.algorithm is not available >>>>> for /etc/sysctl.conf to tune for whatever reason. >>>>> >>>>> /boot/loader.conf: >>>>> h_ertt_load="YES" >>>>> cc_vegas_load="YES" >>>>> >>>>> /etc/sysctl.conf: >>>>> net.inet.tcp.cc.algorithm=vegas >>>>> >>>>> >>>>> After boot the system still has the congestion algo set to 'newreno' >>>> >>>> Does "sysctl net.inet.tcp.cc.available" after boot show only 'newreno' >>>> in the list? Or is 'vegas' listed as well after 'newreno', even though >>>> 'newreno' is listed by "sysctl net.inet.tcp.cc.algorithm"? >>> >>> Only 'newreno' >> >> Ok, definitely a bug then. Should be simple to reproduce, so I'll track >> it down and send through a patch for testing when I've got something. >> > > Alright, Ill await the patch for testing. hmm, I just tested with 8.2-STABLE r225712 in virtualbox with identical configuration to what you tried and it works for me. System boots with net.inet.tcp.cc.available as "newreno, vegas" and net.inet.tcp.cc.algorithm as "vegas". Anything special about your kernel config? Did you build and install the modules via "make buildkernel installkernel"? What other kernel modules do you have loaded? Cheers, Lawrence