From: Sage Weil Date: Thu, 22 Dec 2016 22:47:18 +0000 (-0500) Subject: os/bluestore: set cache meta ratio to .9 X-Git-Tag: v12.0.0~382^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F12635%2Fhead;p=ceph.git os/bluestore: set cache meta ratio to .9 More metadata, less data. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index c53d0e98a384..b85d92a926f4 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -1045,7 +1045,7 @@ OPTION(bluestore_cache_type, OPT_STR, "2q") // lru, 2q OPTION(bluestore_2q_cache_kin_ratio, OPT_DOUBLE, .5) // kin page slot size / max page slot size OPTION(bluestore_2q_cache_kout_ratio, OPT_DOUBLE, .5) // number of kout page slot / total number of page slot OPTION(bluestore_cache_size, OPT_U64, 1024*1024*1024) -OPTION(bluestore_cache_meta_ratio, OPT_DOUBLE, .5) +OPTION(bluestore_cache_meta_ratio, OPT_DOUBLE, .9) OPTION(bluestore_kvbackend, OPT_STR, "rocksdb") OPTION(bluestore_allocator, OPT_STR, "bitmap") // stupid | bitmap OPTION(bluestore_freelist_type, OPT_STR, "bitmap") // extent | bitmap