netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bert hubert <bert.hubert@netherlabs.nl>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: David Miller <davem@davemloft.net>, netdev@vger.kernel.org
Subject: tested: Re: [PATCH] tcp: make cubic the default
Date: Sat, 23 Sep 2006 13:14:34 +0200	[thread overview]
Message-ID: <20060923111434.GA10254@outpost.ds9a.nl> (raw)
In-Reply-To: <20060920133258.36ff42ce@localhost.localdomain>

Stephen,

I've applied both of your patches
(http://marc.theaimsgroup.com/?l=linux-netdev&m=115878447914612&w=2
and 
http://marc.theaimsgroup.com/?l=linux-netdev&m=115878448125216&w=2
) and tried to break them, but it now appears to do the right thing in all
cases, even when malforming the .config by hand, a 'make oldconfig' restores
sanity.

Reno is chosen if none of the non-scary congestion avoidance algorithms are
available, and the default for when they are are as you intended.

I've testbooted the resulting kernel and everything appears to work as
desired, the proper TCP gets chosen, loading other ones does not change the
default, but does make them available.

Unloading the module containing the configured policy sets the policy to
'cubic', which is probably the next entry in the policy list.

All in all, this final iteration of the congestion selection patches appears
to do the job!

Davem, I'd recommend both patches for merging.

	Bert

On Wed, Sep 20, 2006 at 01:32:58PM -0700, Stephen Hemminger wrote:
> Change default congestion control used from BIC to the newer CUBIC
> which it the successor to BIC but has better properties over long delay links.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
> 
> ---
>  net/ipv4/Kconfig |   12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> --- net-test.orig/net/ipv4/Kconfig	2006-09-20 12:22:06.000000000 -0700
> +++ net-test/net/ipv4/Kconfig	2006-09-20 13:31:21.000000000 -0700
> @@ -454,7 +454,7 @@
>  	  modules.
>  
>  	  Nearly all users can safely say no here, and a safe default
> -	  selection will be made (BIC-TCP with new Reno as a fallback).
> +	  selection will be made (CUBIC with new Reno as a fallback).
>  
>  	  If unsure, say N.
>  
> @@ -462,7 +462,7 @@
>  
>  config TCP_CONG_BIC
>  	tristate "Binary Increase Congestion (BIC) control"
> -	default y
> +	default m
>  	---help---
>  	BIC-TCP is a sender-side only change that ensures a linear RTT
>  	fairness under large windows while offering both scalability and
> @@ -476,7 +476,7 @@
>  
>  config TCP_CONG_CUBIC
>  	tristate "CUBIC TCP"
> -	default m
> +	default y
>  	---help---
>  	This is version 2.0 of BIC-TCP which uses a cubic growth function
>  	among other techniques.
> @@ -573,7 +573,7 @@
>  
>  choice
>  	prompt "Default TCP congestion control"
> -	default DEFAULT_BIC
> +	default DEFAULT_CUBIC
>  	help
>  	  Select the TCP congestion control that will be used by default
>  	  for all connections.
> @@ -600,7 +600,7 @@
>  
>  endif
>  
> -config TCP_CONG_BIC
> +config TCP_CONG_CUBIC
>  	tristate
>  	depends on !TCP_CONG_ADVANCED
>  	default y
> @@ -613,7 +613,7 @@
>  	default "vegas" if DEFAULT_VEGAS
>  	default "westwood" if DEFAULT_WESTWOOD
>  	default "reno" if DEFAULT_RENO
> -	default "bic"
> +	default "cubic"
>  
>  source "net/ipv4/ipvs/Kconfig"
>  
> -
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> !DSPAM:4511a594269391527717022!
> 

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://netherlabs.nl              Open and Closed source services

  reply	other threads:[~2006-09-23 11:14 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-16 22:19 2.6.18-rc[67] crashes in TCP ack handling bert hubert
2006-09-16 23:32 ` Stephen Hemminger
2006-09-17 10:11   ` bert hubert
2006-09-17 11:53     ` Stephen Hemminger
     [not found]       ` <20060917122153.GA2932@outpost.ds9a.nl>
2006-09-17 13:11         ` tcp congestion policy selection link order fragile Stephen Hemminger
2006-09-17 14:51           ` bert hubert
2006-09-18 23:41             ` Stephen Hemminger
2006-09-18  8:51         ` David Miller
2006-09-18  9:59           ` bert hubert
2006-09-18 14:06             ` David Miller
2006-09-18 15:40               ` bert hubert
2006-09-18 18:53                 ` David Miller
2006-09-18 19:52                   ` bert hubert
2006-09-19  4:41                     ` [PATCH] tcp: set congestion default through Kconfig Stephen Hemminger
2006-09-19  5:08                       ` Ian McDonald
2006-09-19 10:03                       ` Andi Kleen
2006-09-19 12:35                         ` Hagen Paul Pfeifer
2006-09-19 16:10                           ` David Miller
2006-09-19 17:28                             ` Stephen Hemminger
2006-09-19 15:29                         ` Stephen Hemminger
2006-09-19 19:29                       ` David Miller
2006-09-19 19:30                       ` David Miller
2006-09-19 19:33                       ` David Miller
2006-09-19 19:39                         ` Stephen Hemminger
2006-09-19 20:41                         ` [PATCH] tcp: set congestion default through Kconfig (v2) Stephen Hemminger
2006-09-19 21:20                           ` David Miller
2006-09-19 21:32                             ` [PATCH] tcp: simpler bic default Stephen Hemminger
2006-09-19 21:43                               ` bert hubert
2006-09-19 22:44                                 ` David Miller
2006-09-19 23:02                                   ` Stephen Hemminger
2006-09-19 23:04                                     ` David Miller
2006-09-19 23:23                                       ` Stephen Hemminger
2006-09-20  8:17                                         ` bert hubert
2006-09-20 20:28                                           ` [PATCH] tcp: default congestion control menu Stephen Hemminger
2006-09-25  3:12                                             ` David Miller
2006-09-20 20:32                                           ` [PATCH] tcp: make cubic the default Stephen Hemminger
2006-09-23 11:14                                             ` bert hubert [this message]
2006-09-23 20:00                                               ` tested: " David Miller
2006-09-25  3:13                                             ` David Miller
2006-09-19 21:38                             ` [PATCH] tcp: set congestion default through Kconfig (v2) bert hubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060923111434.GA10254@outpost.ds9a.nl \
    --to=bert.hubert@netherlabs.nl \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).