From 04dea971003aab27e17278b7aa9f077c96e148b7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 22 Dec 2016 17:47:18 -0500 Subject: [PATCH] os/bluestore: set cache meta ratio to .9 More metadata, less data. Signed-off-by: Sage Weil --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index c53d0e98a384a..b85d92a926f43 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 -- 2.39.5