From: Sage Weil Date: Fri, 16 Oct 2015 17:07:29 +0000 (-0400) Subject: os/newstore: disable rocksdb compression X-Git-Tag: v10.0.1~39^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6df48f8e38428587695c8a8bd448bc9ad1cd6af7;p=ceph.git os/newstore: disable rocksdb compression This has been shown to be problematic for performance on the monitor. Note that this takes us from ~170/bytes per onode to ~540/bytes per onode. (The encoded onode_t is 390 bytes, not including the key name.) Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 1d128a2a5989..8fc62da05896 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -812,7 +812,7 @@ OPTION(memstore_page_size, OPT_U64, 64 << 10) OPTION(newstore_max_dir_size, OPT_U32, 1000000) OPTION(newstore_onode_map_size, OPT_U32, 1024) // onodes per collection OPTION(newstore_backend, OPT_STR, "rocksdb") -OPTION(newstore_rocksdb_options, OPT_STR, "max_write_buffer_number=16,min_write_buffer_number_to_merge=6") +OPTION(newstore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=16,min_write_buffer_number_to_merge=6") OPTION(newstore_fail_eio, OPT_BOOL, true) OPTION(newstore_sync_io, OPT_BOOL, false) // perform initial io synchronously OPTION(newstore_sync_transaction, OPT_BOOL, false) // perform kv txn synchronously