Comment 0 for bug 1934143

Revision history for this message
Ponnuvel Palaniyappan (pponnuvel) wrote :

Can we have an option to configure `osd_memory_target` via the charm?
This value defaults to 4G. But the ideal value depends on the host machine's available memory.

We can also consider calculating it automatically, similar to what ceph-ansible does [0].
There's been some upstream discussion [1] about doing it in cephadm. So we can do it in charms as well.

[0] https://github.com/ceph/ceph-ansible/blob/c878e99589bde0eecb8ac72a7ec8bc1f66403eeb/roles/ceph-config/templates/ceph.conf.j2#L103
[1] https://<email address hidden>/thread/Z77XO23JPXDNHKM7IG6UN4URYKA6L7VH/