summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2019-09-16 23:42:48 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2019-09-16 23:42:48 +0100
commit154347f2bbdf6529828c554fac458790f6c924a3 (patch)
treecbb6443a6e1c3c73a87d87d1520dde3271f7cfce
parentfactory-default/sys-apps/baselayout: disable fs.suid_dumpable sysctl (diff)
downloadportage-154347f2bbdf6529828c554fac458790f6c924a3.tar.xz
factory-default/sys-apps/baselayout: enable BBR TCP congestion control
-rw-r--r--factory-default/sys-apps/baselayout/etc/sysctl.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/factory-default/sys-apps/baselayout/etc/sysctl.conf b/factory-default/sys-apps/baselayout/etc/sysctl.conf
index d3754c81..7b7495f0 100644
--- a/factory-default/sys-apps/baselayout/etc/sysctl.conf
+++ b/factory-default/sys-apps/baselayout/etc/sysctl.conf
@@ -64,6 +64,10 @@ net.core.somaxconn = 32767
# interface receives packets faster than kernel can process them.
net.core.netdev_max_backlog = 5000
+# TCP congestion control with BBR (Bottleneck Bandwidth and RTT)
+net.core.default_qdisc = fq
+net.ipv4.tcp_congestion_control = bbr
+
# Disable packet forwarding
net.ipv4.ip_forward = 0