bare-metal: tweak TCP congestion control
Alan Pearce alan@alanpearce.eu
Mon, 24 Sep 2018 16:08:09 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
M modules/hardware/bare-metal.nix → 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" ];