From f2963cffcd7ac9401fcc24d97f50b25963bc33bf Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Thu, 25 Mar 2021 19:44:08 -0400 Subject: fix(ops/whitby): Set tcp congestion control to bbr 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 Reviewed-by: lukegb Reviewed-by: ben --- ops/nixos/whitby/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ops') diff --git a/ops/nixos/whitby/default.nix b/ops/nixos/whitby/default.nix index 5fdecafd27..1bbab47f7a 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; -- cgit 1.4.1