Last active
August 22, 2021 15:26
-
-
Save yspb/e54fe650687faf085da33b298514dc00 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