nixos/core: increase udp buffer sizes
This commit is contained in:
parent
1d2253405f
commit
51f5b854ab
1 changed files with 4 additions and 0 deletions
|
@ -12,5 +12,9 @@
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"net.core.default_qdisc" = "cake";
|
"net.core.default_qdisc" = "cake";
|
||||||
"net.ipv4.tcp_congestion_control" = "bbr";
|
"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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue