]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: adjust osd_delete_sleep_ssd[_hybrid]
authorIgor Fedotov <ifedotov@suse.com>
Tue, 29 Sep 2020 17:37:33 +0000 (20:37 +0300)
committerIgor Fedotov <ifedotov@suse.com>
Mon, 7 Dec 2020 14:15:23 +0000 (17:15 +0300)
1) Do not differentiate all-flash and hybrid(ssd+hdd) deployments since
they both bound to SSD drive backing DB volume.
2) Drop osd_delete_sleep_hybrid from 2s to 1s
3) Raise osd_delete_sleep_ssd to 1s since 0 is a way too low - having
it that low tend to cause a significant negative imact on OSD's regular
operation.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 6e09f0c13a74d6d38522866875a83c6ee505cfa7)

src/common/options.cc

index 90b36894c8ca876db058c51e1242e9528b5d8071..90d1851f582356e5141439df9b6104009ce6805f 100644 (file)
@@ -3535,11 +3535,11 @@ std::vector<Option> get_global_options() {
     .set_description("Time in seconds to sleep before next removal transaction for HDDs"),
 
     Option("osd_delete_sleep_ssd", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
-    .set_default(0)
+    .set_default(1)
     .set_description("Time in seconds to sleep before next removal transaction for SSDs"),
 
     Option("osd_delete_sleep_hybrid", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
-    .set_default(2)
+    .set_default(1)
     .set_description("Time in seconds to sleep before next removal transaction when data is on HDD and journal is on SSD"),
 
     Option("osd_failsafe_full_ratio", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)