mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #181 from leseb/transparent-hugepages
Ability to disable transparent hugepagepull/182/head
commit
8c1f885a15
|
@ -119,6 +119,7 @@ radosgw: false # referenced in monitor role too.
|
|||
# OS TUNING
|
||||
###########
|
||||
|
||||
disable_transparent_hugepage: true
|
||||
os_tuning_params:
|
||||
- { name: kernel.pid_max, value: 4194303 }
|
||||
- { name: fs.file-max, value: 26234859 }
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
command: updatedb -e /var/lib/ceph
|
||||
ignore_errors: true
|
||||
|
||||
- name: Disable transparent hugepage
|
||||
command: "echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled"
|
||||
ignore_errors: true
|
||||
when: disable_transparent_hugepage
|
||||
|
||||
- name: Apply OS tuning
|
||||
sysctl: >
|
||||
name={{ item.name }}
|
||||
|
|
Loading…
Reference in New Issue