ceph-ansible/roles/ceph-defaults
Neha Ojha 27027a17d3 osd: add osd memory target option
BlueStore's cache is sized conservatively by default, so that it does
not overwhelm under-provisioned servers. The default is 1G for HDD, and
3G for SSD.

To replace the page cache, as much memory as possible should be given to
BlueStore. This is required for good performance. Since ceph-ansible
knows how much memory a host has, it can set

`bluestore cache size = max(total host memory / num OSDs on this host * safety
factor, 1G)`

Due to fragmentation and other memory use not included in bluestore's
cache, a safety factor of 0.5 for dedicated nodes and 0.2 for
hyperconverged nodes is recommended.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1595003

Signed-off-by: Neha Ojha <nojha@redhat.com>
Co-Authored-by: Guillaume Abrioux <gabrioux@redhat.com>
2018-09-18 10:12:46 +00:00
..
defaults osd: add osd memory target option 2018-09-18 10:12:46 +00:00
handlers defaults: fix rgw_hostname 2018-08-22 17:46:00 +02:00
meta update meta for ansible galaxy 2017-08-25 00:05:44 +02:00
tasks osd: add osd memory target option 2018-09-18 10:12:46 +00:00
templates rgw: ability to use ceph-ansible vars into containers 2018-08-09 14:13:17 +02:00
README.md Cleanup readme files in roles directories 2017-10-17 11:22:06 +02:00

README.md

Ansible role: ceph-defaults

Documentation is available at http://docs.ceph.com/ceph-ansible/.