]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon: disabled rocksdb compression when used as the backend
authorSage Weil <sage@redhat.com>
Fri, 2 Oct 2015 13:15:33 +0000 (09:15 -0400)
committerSage Weil <sage@redhat.com>
Mon, 16 Nov 2015 18:27:24 +0000 (13:27 -0500)
This significantly reduced CPU utilization on the bigbang scale
testing cluster at CERN.  Note that it is already disabled for
leveldb by default (in ceph_mon.cc).

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

index d3fa4e00f00fee6bdd22818c9f216c62ba79dac7..ec57ee959df3412d1b256678b0672fbbbf8af5a4 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, "")
+OPTION(mon_rocksdb_options, OPT_STR, "compression=kNoCompression")
 
 /**
  * osd_*_priority adjust the relative priority of client io, recovery io,