Skip to contentSkip to conversation

Re the default linux tcp algorithm being changed from bic to cubic.

PATCH Douglas Leith 2 participants 4 messages Sep 28, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Steve,

I think we're all conscious of the fact that recent history contains quite a number of proposals for changes to tcp's congestion control algorithm for high bandwidth-delay product paths that on closer
inspection have proved problematic in one way or another. It seems to
be a hard problem to solve, so maybe that's fair enough and hopefully we'll end up with a workable solution soon.

Where I'm coming from here though is that bic was made the linux default a year or so ago at a time when there were essentially no tests available on its performance other than the infocom paper by Injong. Subsequent tests have since highlighted a bunch of issues with bic. To my knowledge, we're currently in a similar situation with cubic as we were with bic back then i.e. essentially no independent tests investigating its behaviour.

Of course I know Injong has posted some test results, but these are hardly independent as he's the author of both bic and cubic. Have there perhaps been private tests carried out (e.g. by osdl) ? If so, would it be possible to make them public ? If not, well that would be good to know too.

Doug

Hamilton Institute
www.hamilton.ie

------- Original Message --------
Subject: [TCP]: make cubic the default
Date: Tue, 26 Sep 2006 00:59:56 GMT
From: Linux Kernel Mailing List <[email protected]>
To: [email protected]

commit 597811ec167fa01c926a0957a91d9e39baa30e64
tree 24e6ce26a4464d21993f2cd17dbdb9aec13360ab
parent 3d2573f7ebe507e372a23cdd3c8b03305d6e90aa
author Stephen Hemminger <[email protected]> 1159153983 -0700 committer David S. Miller <[email protected]> 1159153983 -0700

[TCP]: make cubic the default

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.

  net/ipv4/Kconfig |   12 ++++++------
  1 file changed, 6 insertions(+), 6 deletions(-)
net/ipv4/Kconfig +6 -6
index 1bbc368..30af4a4 100644
@@ -455,7 +455,7 @@ menuconfig TCP_CONG_ADVANCED
  	  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.
 
@@ -463,7 +463,7 @@ if TCP_CONG_ADVANCED
 
  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
@@ -477,7 +477,7 @@ config TCP_CONG_BIC
 
  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.
@@ -574,7 +574,7 @@ config TCP_CONG_VENO
 
  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.
@@ -601,7 +601,7 @@ endchoice
 
  endif
 
-config TCP_CONG_BIC
+config TCP_CONG_CUBIC
  	tristate
  	depends on !TCP_CONG_ADVANCED
  	default y
@@ -614,7 +614,7 @@ config DEFAULT_TCP_CONG
  	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 git-commits-head" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 20 lines · On Thu, 28 Sep 2006 11:07:18 +0100 Douglas Leith <[email protected]> wrote:

Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Steve,

I think we're all conscious of the fact that recent history contains quite a number of proposals for changes to tcp's congestion control algorithm for high bandwidth-delay product paths that on closer
inspection have proved problematic in one way or another. It seems to
be a hard problem to solve, so maybe that's fair enough and hopefully we'll end up with a workable solution soon.

Where I'm coming from here though is that bic was made the linux default a year or so ago at a time when there were essentially no tests available on its performance other than the infocom paper by Injong. Subsequent tests have since highlighted a bunch of issues with bic. To my knowledge, we're currently in a similar situation with cubic as we were with bic back then i.e. essentially no independent tests investigating its behaviour.

Quoted 5 lines

Of course I know Injong has posted some test results, but these are hardly independent as he's the author of both bic and cubic. Have there perhaps been private tests carried out (e.g. by osdl) ? If so, would it be possible to make them public ? If not, well that would be good to know too.

My tests have been limited and showed no difference. It is worthy of more discussion as to what is best. Could you rerun your tests?

#2 lore raw
Quoted 8 lines · Stephen Hemminger
Quoted 5 lines · On Thu, 28 Sep 2006 11:07:18 +0100 Douglas Leith <[email protected]> wrote:

Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Steve,

Quoted 8 lines
Quoted 5 lines

I think we're all conscious of the fact that recent history contains quite a number of proposals for changes to tcp's congestion control algorithm for high bandwidth-delay product paths that on closer inspection have proved problematic in one way or another. It seems to be a hard problem to solve, so maybe that's fair enough and hopefully we'll end up with a workable solution soon.

Where I'm coming from here though is that bic was made the linux default a year or so ago at a time when there were essentially no tests available on its performance other than the infocom paper by Injong. Subsequent tests have since highlighted a bunch of issues with bic. To my knowledge, we're currently in a similar situation with cubic as we were with bic back then i.e. essentially no independent tests investigating its behaviour.

Of course I know Injong has posted some test results, but these are hardly independent as he's the author of both bic and cubic. Have there perhaps been private tests carried out (e.g. by osdl) ? If so, would it be possible to make them public ? If not, well that would be good to know too.

My tests have been limited and showed no difference. It is worthy of more discussion as to what is best. Could you rerun your tests?

Unfortunately we haven't really looked at cubic at all to date as I didn't appreciate it was being seriously considered for the new default until Ian's post a few days ago. It'll take a little time to free up some bandwidth in people's time here, but we'd be happy to rerun the previous tests with cubic as a priority and generally try to have an initial poke around.

Doug

Hamilton Institute
www.hamilton.ie

#3 lore raw
In reply to Douglas Leith
Quoted 26 lines · On Thu, 28 Sep 2006 11:07:18 +0100 Douglas Leith <[email protected]> wrote:

Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Steve,

I think we're all conscious of the fact that recent history contains quite a number of proposals for changes to tcp's congestion control algorithm for high bandwidth-delay product paths that on closer
inspection have proved problematic in one way or another. It seems to
be a hard problem to solve, so maybe that's fair enough and hopefully we'll end up with a workable solution soon.

Where I'm coming from here though is that bic was made the linux default a year or so ago at a time when there were essentially no tests available on its performance other than the infocom paper by Injong. Subsequent tests have since highlighted a bunch of issues with bic. To my knowledge, we're currently in a similar situation with cubic as we were with bic back then i.e. essentially no independent tests investigating its behaviour.

Of course I know Injong has posted some test results, but these are hardly independent as he's the author of both bic and cubic. Have there perhaps been private tests carried out (e.g. by osdl) ? If so, would it be possible to make them public ? If not, well that would be good to know too.

Quoted 4 lines

Doug

Hamilton Institute
www.hamilton.ie

To get some exposure, how about moving the cubic patch off to -mm kernel tree for one release, and leave BIC as the default for 2.6.19