]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: mirror leveldb default tuning w/ rocksdb
authorSage Weil <sage@redhat.com>
Tue, 6 Oct 2015 18:38:47 +0000 (14:38 -0400)
committerSage Weil <sage@redhat.com>
Mon, 16 Nov 2015 18:27:25 +0000 (13:27 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index ec57ee959df3412d1b256678b0672fbbbf8af5a4..1d128a2a59899093208c1ee91c47cbb1e48a60d2 100644 (file)
@@ -760,7 +760,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,