Merge pull request #15976 from liewegas/wip-bluestore-big-cache

os/bluestore: default cache size of 3gb
This commit is contained in:
Sage Weil 2017-06-29 22:02:08 -05:00 committed by GitHub
commit a8dd57d8a0

View File

@ -1162,7 +1162,7 @@ OPTION(bluestore_cache_trim_max_skip_pinned, OPT_U32, 64) // skip this many onod
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_size, OPT_U64, 3*1024*1024*1024)
OPTION(bluestore_cache_meta_ratio, OPT_DOUBLE, .7)
OPTION(bluestore_cache_kv_ratio, OPT_DOUBLE, .2)
OPTION(bluestore_kvbackend, OPT_STR, "rocksdb")