From a114b12027fbd82484833a7a2ded35273de39e3b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 24 Sep 2018 16:08:09 +0200 Subject: bare-metal: tweak TCP congestion control --- modules/hardware/bare-metal.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/hardware') diff --git a/modules/hardware/bare-metal.nix b/modules/hardware/bare-metal.nix index eacc9f40..9d79fb50 100644 --- a/modules/hardware/bare-metal.nix +++ b/modules/hardware/bare-metal.nix @@ -11,6 +11,11 @@ hardware.cpu.intel.updateMicrocode = true; + boot.kernel.sysctl = { + "net.ipv4.tcp_allowed_congestion_control" = "illinois reno lp"; + "net.ipv4.tcp_congestion_control" = "illinois"; + }; + boot.tmpOnTmpfs = true; fileSystems."/".options = [ "noatime" "nodiratime" ]; -- cgit 1.4.1