]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: set conservative (low) promotion throttling values
authorSage Weil <sage@redhat.com>
Sat, 27 Feb 2016 00:02:06 +0000 (19:02 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Mar 2016 13:43:46 +0000 (08:43 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index 30ceeac2ebdc247e234466338e3540455a808027..1cd49b8f2b9470fad074e1fa19fa347a9bac4cdd 100644 (file)
@@ -633,8 +633,9 @@ OPTION(osd_hit_set_min_size, OPT_INT, 1000)  // min target size for a HitSet
 OPTION(osd_hit_set_max_size, OPT_INT, 100000)  // max target size for a HitSet
 OPTION(osd_hit_set_namespace, OPT_STR, ".ceph-internal") // rados namespace for hit_set tracking
 
-OPTION(osd_tier_promote_max_objects_sec, OPT_U64, 0)
-OPTION(osd_tier_promote_max_bytes_sec, OPT_U64, 0)
+// conservative default throttling values
+OPTION(osd_tier_promote_max_objects_sec, OPT_U64, 5 * 1024*1024)
+OPTION(osd_tier_promote_max_bytes_sec, OPT_U64, 25)
 
 OPTION(osd_tier_default_cache_mode, OPT_STR, "writeback")
 OPTION(osd_tier_default_cache_hit_set_count, OPT_INT, 4)