-
-
Save mzpqnxow/f62c4f8a83e2f3e252d0a416bd25bab5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sysctl vm.overcommit_memory=1 | |
sysctl -w net.core.somaxconn=65535 | |
echo never > /sys/kernel/mm/transparent_hugepage/enabled | |
echo never > /sys/kernel/mm/transparent_hugepage/defrag | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment