From: Sridhar Seshasayee Date: Thu, 8 Aug 2019 10:58:01 +0000 (+0530) Subject: os/bluestore: Add config observer for osd memory specific options. X-Git-Tag: v14.2.8~20^2~76^2~15^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F31852%2Fhead;p=ceph.git os/bluestore: Add config observer for osd memory specific options. Add config observer to enable changes to the following osd memory specific options at runtime, - osd_memory_target - osd_memory_base - osd_memory_cache_min - osd_memory_expected_fragmentation Signed-off-by: Sridhar Seshasayee (cherry picked from commit 0d3609a2b7a88ae236335df9ea5d9854aa4de7ad) Conflicts: src/os/bluestore/BlueStore.cc - removed config changed detection of bluestore_max_defer_interval as it is not present in nautilus src/os/bluestore/BlueStore.h - removed declaration of max_defer_interval. --- diff --git a/PendingReleaseNotes b/PendingReleaseNotes index d4fb7f9810ad..897f41853319 100644 --- a/PendingReleaseNotes +++ b/PendingReleaseNotes @@ -116,3 +116,18 @@ * New OSD daemon command dump_scrub_reservations which reveals the scrub reservations that are held for local (primary) and remote (replica) PGs. + +14.2.6 +------ + +* The following OSD memory config options related to bluestore cache autotuning can now + be configured during runtime: + + - osd_memory_base (default: 768 MB) + - osd_memory_cache_min (default: 128 MB) + - osd_memory_expected_fragmentation (default: 0.15) + - osd_memory_target (default: 4 GB) + + The above options can be set with:: + + ceph config set global