Skip to content

Commit

Permalink
[TCP]: make cubic the default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Sep 25, 2006
1 parent 3d2573f commit 597811e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions net/ipv4/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -455,15 +455,15 @@ 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.

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
Expand All @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -601,7 +601,7 @@ endchoice

endif

config TCP_CONG_BIC
config TCP_CONG_CUBIC
tristate
depends on !TCP_CONG_ADVANCED
default y
Expand All @@ -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"

0 comments on commit 597811e

Please sign in to comment.