]> git.apps.os.sepia.ceph.com Git - ceph-ci.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, 23 Nov 2015 13:38:47 +0000 (08:38 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index bfaf32c164a3472f1ea9e2514316f16c7a266f49..388e982148fd04b4c605d03a605b800ff7dbe17a 100644 (file)
@@ -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,