summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-05 13:38:03 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-09-05 13:38:03 +0000
commitb99ed37dd1cff3310437ff8ccf1a27cd20714c41 (patch)
treecf3635abbd1e8434574d430be1eee09d5c62c31c
parent487c817ea320ddabcdaf41a8112937a29c19443e (diff)
downloadvyos-1x-b99ed37dd1cff3310437ff8ccf1a27cd20714c41.tar.gz
vyos-1x-b99ed37dd1cff3310437ff8ccf1a27cd20714c41.zip
T5489: Add sysctl TCP congestion control by default to BBR
Add by default sysctl TCP congestion control to BBR. Default value `cubic` is not optimal. net.core.default_qdisc=fq net.ipv4.tcp_congestion_control=bbr
-rw-r--r--src/etc/sysctl.d/30-vyos-router.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/sysctl.d/30-vyos-router.conf b/src/etc/sysctl.d/30-vyos-router.conf
index f5d84be4b..ad43390bb 100644
--- a/src/etc/sysctl.d/30-vyos-router.conf
+++ b/src/etc/sysctl.d/30-vyos-router.conf
@@ -110,3 +110,7 @@ net.ipv6.neigh.default.gc_thresh3 = 8192
# Enable global RFS (Receive Flow Steering) configuration. RFS is inactive
# until explicitly configured at the interface level
net.core.rps_sock_flow_entries = 32768
+
+# Congestion control
+net.core.default_qdisc=fq
+net.ipv4.tcp_congestion_control=bbr