From d781f48438c896c9a4b636a9772420bd718db90d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 6 Oct 2015 14:38:47 -0400 Subject: [PATCH] common: mirror leveldb default tuning w/ rocksdb 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 bfaf32c164a..388e982148f 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -764,7 +764,7 @@ OPTION(keyvaluestore_rocksdb_options, OPT_STR, "") // rocksdb options that will be used for omap(if omap_backend is rocksdb) OPTION(filestore_rocksdb_options, OPT_STR, "") // rocksdb options that will be used in monstore -OPTION(mon_rocksdb_options, OPT_STR, "compression=kNoCompression") +OPTION(mon_rocksdb_options, OPT_STR, "cache_size=536870912,write_buffer_size=33554432,block_size=65536,compression=kNoCompression") /** * osd_*_priority adjust the relative priority of client io, recovery io, -- 2.47.3