summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2024-04-14 18:20:43 +0200
committerAlan Pearce2024-04-14 18:20:43 +0200
commit71ac6e53ef918ddfaef94f9f2bdf4974fa60a351 (patch)
tree0a44df0ad1f5d42dc075eb0c7f27ef50dd34514d
parent8e0ce0ddf0ddfe7378f48ba93f1bfc05ce026c11 (diff)
downloadnixfiles-71ac6e53ef918ddfaef94f9f2bdf4974fa60a351.tar.lz
nixfiles-71ac6e53ef918ddfaef94f9f2bdf4974fa60a351.tar.zst
nixfiles-71ac6e53ef918ddfaef94f9f2bdf4974fa60a351.zip
bare-metal: improve QUIC app performance
-rw-r--r--system/settings/hardware/bare-metal.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/settings/hardware/bare-metal.nix b/system/settings/hardware/bare-metal.nix
index 9d870a40..75c70456 100644
--- a/system/settings/hardware/bare-metal.nix
+++ b/system/settings/hardware/bare-metal.nix
@@ -38,6 +38,8 @@
     "net.ipv4.tcp_fastopen" = 3;
     "net.ipv4.tcp_slow_start_after_idle" = 0;
     "net.ipv4.tcp_mtu_probing" = 1;
+    "net.core.rmem_max" = 2500000;
+    "net.core.wmem_max" = 2500000;
   };
 
   zramSwap = {