[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-17 Thread Zakhar Kirpichenko
Thanks for this, Eugen. I think I'll stick to adding the option to the config file, it seems like a safer way to do it. /Z On Tue, 17 Oct 2023, 15:21 Eugen Block, wrote: > Hi, > > I managed to get the compression setting into the MONs by using the > extra-entrypoint-arguments [1]: > > ceph01:~

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-17 Thread Eugen Block
Hi, I managed to get the compression setting into the MONs by using the extra-entrypoint-arguments [1]: ceph01:~ # cat mon-specs.yaml service_type: mon placement: hosts: - ceph01 - ceph02 - ceph03 extra_entrypoint_args: - '--mon-rocksdb-options=write_buffer_size=33554432,compressi

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-16 Thread Zakhar Kirpichenko
Thanks for the suggestion, Josh! That part is relatively simple: the container gets ceph.conf from the host's filesystem, for example: "HostConfig": { "Binds": [ "/dev:/dev", "/run/udev:/run/udev", "/var/run/ceph/3f50555a-ae2a-11eb-a2fc-ffde44

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-16 Thread Josh Baergen
> the resulting ceph.conf inside the monitor container doesn't have > mon_rocksdb_options I don't know where this particular ceph.conf copy comes from, but I still suspect that this is where this particular option needs to be set. The reason I think this is that rocksdb mount options are needed _

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-15 Thread Zakhar Kirpichenko
Out of curiosity, I tried setting mon_rocksdb_options via ceph.conf. This didn't work either: ceph.conf gets overridden at monitor start, the resulting ceph.conf inside the monitor container doesn't have mon_rocksdb_options, the monitor starts with no RocksDB compression. I would appreciate it if

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-14 Thread Zakhar Kirpichenko
Thanks for your response, Josh. Our ceph.conf doesn't have anything but the mon addresses, modern Ceph versions store their configuration in the monitor configuration database. This works rather well for various Ceph components, including the monitors. RocksDB options are also applied to monitors

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-14 Thread Josh Baergen
Apologies if you tried this already and I missed it - have you tried configuring that setting in /etc/ceph/ceph.conf (or wherever your conf file is) instead of via 'ceph config'? I wonder if mon settings like this one won't actually apply the way you want because they're needed before the mon has t

[ceph-users] Re: Ceph 16.2.14: how to set mon_rocksdb_options to enable RocksDB compression?

2023-10-14 Thread Zakhar Kirpichenko
I also tried setting RocksDB compression options and deploying a new monitor. The monitor started with no RocksDB compression again. Ceph monitors seem to ignore mon_rocksdb_options set at runtime, at mon start and at mon deploy. How can I enable RocksDB compression in Ceph monitors? Any input fr