1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Decrease memory buffer

This commit is contained in:
Ycarus (Yannick Chabanois) 2019-08-16 10:46:47 +02:00
parent 5a644babf8
commit 28d6014263

View file

@ -2,10 +2,10 @@
# max open files
fs.file-max = 512000
# max read buffer
net.core.rmem_max = 150000000
net.core.rmem_max = 15000000
# max write buffer
net.core.wmem_max = 75000000
net.core.optmem_max = 75000000
net.core.wmem_max = 7500000
net.core.optmem_max = 7500000
# default read buffer
net.core.rmem_default = 131072
# default write buffer
@ -34,11 +34,11 @@ net.ipv4.tcp_max_tw_buckets = 10000
# turn on TCP Fast Open on both client and server side
#net.ipv4.tcp_fastopen = 3
# TCP receive buffer
net.ipv4.tcp_rmem = 4096 524288 75000000
net.ipv4.tcp_rmem = 4096 524288 7500000
# TCP write buffer
net.ipv4.tcp_wmem = 4096 524288 75000000
net.ipv4.tcp_wmem = 4096 524288 7500000
# TCP buffer
net.ipv4.tcp_mem = 768174 75000000 150000000
net.ipv4.tcp_mem = 768174 7500000 15000000
# UDP buffer
net.ipv4.udp_mem = 768174 75000000 150000000
# turn off path MTU discovery