Project

General

Profile

Actions

Bug #44010

closed

changing osd_memory_target currently requires restart, should update at runtime

Added by Frank Schilder about 4 years ago. Updated over 1 year ago.

Status:
Duplicate
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The documentation of osd_memory_target says "Can update at runtime: true", but it seems that a restart is required to activate the setting, so it can currently not be updated at runtime (meaning it takes effect without restart).

This was observed with mimic 13.2.8 (after an upgrade from 13.2.2).

See also this thread: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/I5DJS7CSXLE4RYSUPTQYOVIKR3B6T5GL/

The following settings were active:

osd_memory_target [default=4294967296]
all bluestore_cache_[*] options at default

[root@ceph-04 ~]# ceph config get osd.243 bluefs_allocator
bitmap
[root@ceph-04 ~]# ceph config get osd.243 bluestore_allocator
bitmap
[root@ceph-04 ~]# ceph config get osd.243 osd_memory_target
8589934592
[root@gnosis ~]# ceph config get osd.243 bluestore_cache_size
0
[root@gnosis ~]# ceph config get osd.243 bluestore_cache_size_ssd
3221225472

All settings except osd_memory_target for osd.243 are mimic 13.2.8 defaults. After setting the increased target for osd.243 nothing happened. After waiting a few hours, I restarted this OSD and memory usage went up as expected. I tried both, up- and down-sizing of the memory target. Both required a restart.

It seems best if this parameter could be adjusted at run-time without a restart.


Related issues 1 (0 open1 closed)

Related to bluestore - Bug #41009: osd_memory_target isn't applied in runtime.ResolvedSridhar Seshasayee

Actions
Actions

Also available in: Atom PDF