]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: set cache meta ratio to .9 12635/head
authorSage Weil <sage@redhat.com>
Thu, 22 Dec 2016 22:47:18 +0000 (17:47 -0500)
committerSage Weil <sage@redhat.com>
Thu, 22 Dec 2016 22:47:18 +0000 (17:47 -0500)
More metadata, less data.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index c53d0e98a384afaf93abf38930ec86dae1a071c3..b85d92a926f43f761c33c374c7baed7a175d3ec2 100644 (file)
@@ -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