ソースを参照

[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.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Hemminger 18 年 前
コミット
597811ec16
1 ファイル変更6 行追加6 行削除
  1. 6 6
      net/ipv4/Kconfig

+ 6 - 6
net/ipv4/Kconfig

@@ -455,7 +455,7 @@ menuconfig TCP_CONG_ADVANCED
 	  modules.
 	  modules.
 
 
 	  Nearly all users can safely say no here, and a safe default
 	  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.
 	  If unsure, say N.
 
 
@@ -463,7 +463,7 @@ if TCP_CONG_ADVANCED
 
 
 config TCP_CONG_BIC
 config TCP_CONG_BIC
 	tristate "Binary Increase Congestion (BIC) control"
 	tristate "Binary Increase Congestion (BIC) control"
-	default y
+	default m
 	---help---
 	---help---
 	BIC-TCP is a sender-side only change that ensures a linear RTT
 	BIC-TCP is a sender-side only change that ensures a linear RTT
 	fairness under large windows while offering both scalability and
 	fairness under large windows while offering both scalability and
@@ -477,7 +477,7 @@ config TCP_CONG_BIC
 
 
 config TCP_CONG_CUBIC
 config TCP_CONG_CUBIC
 	tristate "CUBIC TCP"
 	tristate "CUBIC TCP"
-	default m
+	default y
 	---help---
 	---help---
 	This is version 2.0 of BIC-TCP which uses a cubic growth function
 	This is version 2.0 of BIC-TCP which uses a cubic growth function
 	among other techniques.
 	among other techniques.
@@ -574,7 +574,7 @@ config TCP_CONG_VENO
 
 
 choice
 choice
 	prompt "Default TCP congestion control"
 	prompt "Default TCP congestion control"
-	default DEFAULT_BIC
+	default DEFAULT_CUBIC
 	help
 	help
 	  Select the TCP congestion control that will be used by default
 	  Select the TCP congestion control that will be used by default
 	  for all connections.
 	  for all connections.
@@ -601,7 +601,7 @@ endchoice
 
 
 endif
 endif
 
 
-config TCP_CONG_BIC
+config TCP_CONG_CUBIC
 	tristate
 	tristate
 	depends on !TCP_CONG_ADVANCED
 	depends on !TCP_CONG_ADVANCED
 	default y
 	default y
@@ -614,7 +614,7 @@ config DEFAULT_TCP_CONG
 	default "vegas" if DEFAULT_VEGAS
 	default "vegas" if DEFAULT_VEGAS
 	default "westwood" if DEFAULT_WESTWOOD
 	default "westwood" if DEFAULT_WESTWOOD
 	default "reno" if DEFAULT_RENO
 	default "reno" if DEFAULT_RENO
-	default "bic"
+	default "cubic"
 
 
 source "net/ipv4/ipvs/Kconfig"
 source "net/ipv4/ipvs/Kconfig"