nixos/core: increase udp buffer sizes

This commit is contained in:
Guanran Wang 2024-11-07 14:59:13 +08:00
parent 1d2253405f
commit 51f5b854ab
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF

View file

@ -12,5 +12,9 @@
boot.kernel.sysctl = {
"net.core.default_qdisc" = "cake";
"net.ipv4.tcp_congestion_control" = "bbr";
# https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes
"net.core.rmem_max" = 7500000;
"net.core.wmem_max" = 7500000;
};
}