mirror of https://github.com/ceph/ceph-ansible.git
osd: add fs.aio-max-nr tuning
The number of osds per nodes is limited by aio-max-nr, default is low, so we need to increase it. Full story: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-August/020408.html Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1553407 Signed-off-by: Sébastien Han <seb@redhat.com>pull/2450/head v3.1.0beta4
parent
f432819c1e
commit
e3275c1ca1
|
@ -8,10 +8,8 @@
|
|||
- name: include check_mandatory_vars.yml
|
||||
include: check_mandatory_vars.yml
|
||||
|
||||
- name: include misc/system_tuning.yml
|
||||
- name: include system_tuning.yml
|
||||
include: system_tuning.yml
|
||||
when:
|
||||
- osd_group_name in group_names
|
||||
# Hard code this so we will skip the entire file instead of individual tasks (Default isn't Consistent)
|
||||
static: False
|
||||
|
||||
|
|
|
@ -62,3 +62,12 @@
|
|||
sysctl_set: yes
|
||||
ignoreerrors: yes
|
||||
with_items: "{{ os_tuning_params }}"
|
||||
|
||||
- name: increase aio-max-nr for bluestore
|
||||
sysctl:
|
||||
name: fs.aio-max-nr
|
||||
value: 1048576
|
||||
sysctl_file: /etc/sysctl.d/ceph-tuning.conf
|
||||
sysctl_set: yes
|
||||
when:
|
||||
- osd_objectstore == 'bluestore'
|
||||
|
|
Loading…
Reference in New Issue