diff options
author | Griffin Smith <grfn@gws.fyi> | 2021-03-25T23·44-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2021-03-26T02·42+0000 |
commit | f2963cffcd7ac9401fcc24d97f50b25963bc33bf (patch) | |
tree | dbdb2bed9b5111d4adbb94896450e45abe9682c7 /ops/nixos | |
parent | a040c55d35e41e99c4d6ed95483a7697e14ebdf5 (diff) |
fix(ops/whitby): Set tcp congestion control to bbr r/2332
Some quick testing shows that this improves my data transfer speed to whitby by roughly 200%. Change-Id: Id94de975b1ae0930f8d0fe038582dbac0037676c Reviewed-on: https://cl.tvl.fyi/c/depot/+/2659 Tested-by: BuildkiteCI Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: lukegb <lukegb@tvl.fyi> Reviewed-by: ben <tvl@benjojo.co.uk>
Diffstat (limited to 'ops/nixos')
-rw-r--r-- | ops/nixos/whitby/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix index 5fdecafd272d..1bbab47f7a4d 100644 --- a/ops/nixos/whitby/default.nix +++ b/ops/nixos/whitby/default.nix @@ -77,6 +77,10 @@ in lib.fix(self: { }; }; + kernel.sysctl = { + "net.ipv4.tcp_congestion_control" = "bbr"; + }; + loader.grub = { enable = true; version = 2; |