From b77f30ed1fb4ca7dd4fb6e0df82682d891ebcfd7 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 26 Dec 2021 12:44:05 +0100 Subject: vidhar: ... --- hosts/vidhar/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/vidhar/default.nix b/hosts/vidhar/default.nix index 568faac3..ada38bab 100644 --- a/hosts/vidhar/default.nix +++ b/hosts/vidhar/default.nix @@ -146,6 +146,9 @@ "net.ipv6.conf.default.forwarding" = true; "net.ipv4.conf.all.forwarding" = true; "net.ipv4.conf.default.forwarding" = true; + + "net.core.rmem_max" = "4194304"; + "net.core.wmem_max" = "4194304"; }; systemd.network.networks = { "eno2" = { @@ -291,6 +294,8 @@ so-rcvbuf = "4m"; so-sndbuf = "4m"; + + cache-max-ttl = 3600: }; }; }; -- cgit v1.2.3