mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-07-23 23:11:10 -04:00
switch congestion control back to BBRv1 from CUBIC
BBRv1 provides much better throughput in many cases and is particularly useful for our update servers. The fairness issues based on round trip time are not a major issue for us. The fairness issues for competing with traditional loss-based congestion control are relevant to us but it seems to benefit it more than it hurts us. BBRv3 will fix most of this while preserving nearly all the benefits and will likely be shipped as a replacement for BBRv1 in the Linux kernel rather than another option. The reason we rolled it back last time was seeing cases of the initial bandwidth estimate being overly low combined with a very bad interaction with synproxy causing low bandwidth initially. We've partially addressed the synproxy issue by raising the synproxy threshold based on conntrack table size which we're now fully scaling based on available memory. If we decide this is still a significant issue, we can limit using BBRv1 to our update servers where it has massive benefits and the least downside due to initial bandwidth not being as important. BBRv3 will help with this by probing Round Trip Time every 5 seconds instead of 10 seconds but still has similar issues.
This commit is contained in:
parent
dfa2f48ae1
commit
45b8e80e31
1 changed files with 3 additions and 0 deletions
|
@ -10,7 +10,10 @@ net.ipv6.conf.*.accept_redirects = 0
|
|||
net.ipv4.conf.default.rp_filter = 0
|
||||
net.ipv4.conf.*.rp_filter = 0
|
||||
|
||||
# use BBR and disable ECN since BBRv1 doesn't support it
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_ecn = 0
|
||||
|
||||
net.ipv4.tcp_slow_start_after_idle = 0
|
||||
net.ipv4.tcp_shrink_window = 1
|
||||
net.ipv4.tcp_notsent_lowat = 131072
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue