From: Ken Dreyer Date: Fri, 3 Mar 2017 18:20:05 +0000 (-0700) Subject: avoid setting vfs_cache_pressure X-Git-Tag: v2.2.0rc1~12^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a77cd4be5e2365efd60047d7eb6dd1972e200f83;p=ceph-ansible.git avoid setting vfs_cache_pressure From Josh Durgin, "I'd recommend not setting vfs_cache_pressure in ceph-ansible. The syncfs issue is still there, and has caused real problems in the past, whereas there hasn't been good data showing lower vfs_cache_pressure is very helpful - the only cases I'm aware of have shown it makes little difference to performance." https://bugzilla.redhat.com/show_bug.cgi?id=1395451 --- diff --git a/group_vars/all.yml.sample b/group_vars/all.yml.sample index 3c09f7c4d..c56ba8063 100644 --- a/group_vars/all.yml.sample +++ b/group_vars/all.yml.sample @@ -383,7 +383,6 @@ dummy: # - { name: kernel.pid_max, value: 4194303 } # - { name: fs.file-max, value: 26234859 } # - { name: vm.zone_reclaim_mode, value: 0 } -# - { name: vm.vfs_cache_pressure, value: 50 } # - { name: vm.swappiness, value: 10 } # - { name: vm.min_free_kbytes, value: "{{ vm_min_free_kbytes }}" } diff --git a/roles/ceph-common/defaults/main.yml b/roles/ceph-common/defaults/main.yml index 3f5f2fe2d..c3753cba8 100644 --- a/roles/ceph-common/defaults/main.yml +++ b/roles/ceph-common/defaults/main.yml @@ -375,7 +375,6 @@ os_tuning_params: - { name: kernel.pid_max, value: 4194303 } - { name: fs.file-max, value: 26234859 } - { name: vm.zone_reclaim_mode, value: 0 } - - { name: vm.vfs_cache_pressure, value: 50 } - { name: vm.swappiness, value: 10 } - { name: vm.min_free_kbytes, value: "{{ vm_min_free_kbytes }}" }