Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755434Ab1EDThm (ORCPT ); Wed, 4 May 2011 15:37:42 -0400 Received: from mail.vyatta.com ([76.74.103.46]:49124 "EHLO mail.vyatta.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753999Ab1EDThl (ORCPT ); Wed, 4 May 2011 15:37:41 -0400 Date: Wed, 4 May 2011 12:37:38 -0700 From: Stephen Hemminger To: Valdis.Kletnieks@vt.edu Cc: Randy Dunlap , TB , netdev , linux-kernel@vger.kernel.org Subject: Re: Divide error in bictcp_cong_avoid ? Message-ID: <20110504123738.7bb4d1ee@nehalam> In-Reply-To: <16668.1304537481@localhost> References: <4DC178D3.6030308@techboom.com> <20110504104940.cd0d9e9a.rdunlap@xenotime.net> <20110504113351.4643a0c9@nehalam> <16668.1304537481@localhost> Organization: Vyatta X-Mailer: Claws Mail 3.7.6 (GTK+ 2.22.0; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1267 Lines: 36 On Wed, 04 May 2011 15:31:21 -0400 Valdis.Kletnieks@vt.edu wrote: > On Wed, 04 May 2011 11:33:51 PDT, Stephen Hemminger said: > > > What kernel version? I suspect they are running something really old > > kernel like RHEL 5 since BIC has not been the default congestion control for > > several years. > > Pretty bleeding edge here, and BIC is *still* the default: > > % uname -a > Linux turing-police.cc.vt.edu 2.6.39-rc5-mmotm0429 #1 SMP PREEMPT Sat Apr 30 00:36:49 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux > % zgrep -i BIC /proc/config.gz > CONFIG_TCP_CONG_BIC=y > CONFIG_TCP_CONG_CUBIC=m > CONFIG_DEFAULT_BIC=y > CONFIG_DEFAULT_TCP_CONG="bic" > > Why? Because BIC was working "well enough", so I never changed it by hand, and > "make oldconfig" never changed it automagically either. Now, > The CUBIC code has the same function names so that is where the problem is. Don't use BIC, it is known to be unfair between flows. The configuration process never changes your values, it only asks about new ones. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/