Created
January 27, 2016 07:51
-
-
Save fvdm/287a6b2165eabf41dd81 to your computer and use it in GitHub Desktop.
This file contains 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
# swap when less than N % mem is available | |
vm.swappiness = 10 | |
# cache inodes (50 = don't shrink inode cache) | |
vm.vfs_cache_pressure = 50 | |
# % memory available for all processes -- some suggest 50 | |
vm.overcommit_ratio = 100 | |
# 0 = fuzzy available memory guessing : bad | |
# 1 = high performance, high risk : bad | |
# 2 = don't use more memory than swap + overcommit_ratio % : good | |
vm.overcommit_memory = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment