提交 597811ec 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

[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: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3d2573f7
...@@ -455,7 +455,7 @@ menuconfig TCP_CONG_ADVANCED ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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 ...@@ -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"
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册