diff options
author | Warner Losh <imp@FreeBSD.org> | 2021-11-12 17:05:03 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2021-11-12 19:16:11 +0000 |
commit | 7e3c9ec906c0710e34fa5b11104ee1c12f68a09f (patch) | |
tree | 719aa02bfa606bff6ecf13f98b53ddd86fe14da7 /sys/powerpc/conf | |
parent | ae062ff2695f61e43e23e144db62cb251b2cf599 (diff) | |
download | src-7e3c9ec906c0710e34fa5b11104ee1c12f68a09f.tar.gz src-7e3c9ec906c0710e34fa5b11104ee1c12f68a09f.zip |
tcp: better congestion control defaults
Define CC_NEWRENO in all the appropriate DEFAULTS and std.* config
files. It's the default congestion control algorithm. Add code to cc.c
so that CC_DEFAULT is "newreno" if it's not overriden in the config
file.
Sponsored by: Netflix
Fixes: b8d60729deef ("tcp: Congestion control cleanup.")
Revired by: manu, hselasky, jhb, glebius, tuexen
Differential Revision: https://reviews.freebsd.org/D32964
Diffstat (limited to 'sys/powerpc/conf')
-rw-r--r-- | sys/powerpc/conf/DEFAULTS | 3 | ||||
-rw-r--r-- | sys/powerpc/conf/GENERIC | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/powerpc/conf/DEFAULTS b/sys/powerpc/conf/DEFAULTS index da8e7fb6d197..9bf5e706b04a 100644 --- a/sys/powerpc/conf/DEFAULTS +++ b/sys/powerpc/conf/DEFAULTS @@ -12,4 +12,7 @@ device uart_ns8250 options GEOM_PART_BSD options GEOM_PART_MBR +# Default congestion control algorithm +options CC_NEWRENO # include newreno congestion control + options NEW_PCIB diff --git a/sys/powerpc/conf/GENERIC b/sys/powerpc/conf/GENERIC index 5e3796c98e1f..cdf1266ec5a6 100644 --- a/sys/powerpc/conf/GENERIC +++ b/sys/powerpc/conf/GENERIC @@ -38,8 +38,6 @@ options PREEMPTION #Enable kernel thread preemption options VIMAGE # Subsystem virtualization, e.g. VNET options INET #InterNETworking options INET6 #IPv6 communications protocols -options CC_NEWRENO # include newreno congestion control -options CC_DEFAULT=\"newreno\" # define our default CC module it should be compiled in. options IPSEC_SUPPORT # Allow kldload of ipsec and tcpmd5 options TCP_HHOOK # hhook(9) framework for TCP options TCP_RFC7413 # TCP Fast Open |