mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-09-20 04:34:44 -04:00
raise wmem_max/rmem_max for non-autotuned buffers
Unbound now requests 4M for the send buffer by default and we might as well permit that for both the send and receive buffers. We set the max auto-tuned send buffer size on a per-server basis but don't currently have much use for tuning the maximum manually specified buffer size across servers. It can be moved in the future if needed.
This commit is contained in:
parent
348cdf9d74
commit
47062b9c68
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ net.ipv6.conf.*.accept_redirects = 0
|
|||
net.ipv4.conf.default.rp_filter = 0
|
||||
net.ipv4.conf.*.rp_filter = 0
|
||||
|
||||
net.core.wmem_max=4194304
|
||||
net.core.rmem_max=4194304
|
||||
|
||||
# use BBR and disable ECN since BBRv1 doesn't support it
|
||||
net.ipv4.tcp_congestion_control = bbr
|
||||
net.ipv4.tcp_ecn = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue