Created
December 13, 2017 12:31
-
-
Save kofemann/2eeaa0c0dc8c7bc714027eb66353f7ba to your computer and use it in GitHub Desktop.
tuned profile for VM based nfs client
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
# | |
# tuned configuration | |
# /etc/tuned/virtual-guest-nfs-client/tuned.conf | |
# | |
[main] | |
summary=Optimize for running inside a virtual guest | |
include=throughput-performance | |
[sysctl] | |
# If a workload mostly uses anonymous memory and it hits this limit, the entire | |
# working set is buffered for I/O, and any more write buffering would require | |
# swapping, so it's time to throttle writes until I/O can catch up. | |
# | |
vm.dirty_background_ratio = 0 | |
vm.dirty_ratio = 0 | |
vm.dirty_background_bytes = 67108864 | |
vm.dirty_bytes = 536870912 | |
# Filesystem I/O is usually much more efficient than swapping, so try to keep | |
# swapping low. | |
vm.swappiness = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment