janus tweaks

This commit is contained in:
Devaev Maxim 2021-05-22 02:34:31 +03:00
parent e45bd76cbc
commit 8b5c90f9a2
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Type=oneshot
ExecStart=/bin/true
ExecStop=/bin/true
RemainAfterExit=true
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target

View File

@ -1,3 +1,9 @@
# https://github.com/raspberrypi/linux/issues/1753
vm.dirty_background_bytes = 5
vm.dirty_writeback_centisecs = 25
# https://groups.google.com/g/meetecho-janus/c/xoWIQfaoJm8
net.core.rmem_default = 500000
net.core.wmem_default = 500000
net.core.rmem_max = 1000000
net.core.wmem_max = 1000000