Why does it use such heavy RAM?

I am planning to use only cephfs, no block or object, is there a way to take control over memory?


On Mon, Sep 23, 2019 at 10:56 AM Konstantin Shalygin <k0ste@k0ste.ru> wrote:
On 9/22/19 10:50 PM, Amudhan P wrote:
> Do you think 4GB RAM for two OSD's is low, even with 1 OSD and
> 4GB memory i encounter OOM during recovery.
>
> This is just a test setup to try with ceph.
>
> I am planning to use ceph in 36 drive system with Xeon e5v2 proc, 32
> GB RAM, 10Gb nic.
>
> So, i am trying to optimize on memory usage on test setup which can be
> latter used if using ceph.

For bluestore setups by default 1 OSD need 4GB RAM, actually ~5-6GB for
recovery purposes.

For 36OSD's you'll need 256GB RAM.



k