From 69a01921528d979ed1072edac49c462d39165080 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 3 Nov 2017 10:03:22 -0500 Subject: [PATCH] os/filestore: disable rocksdb compression Experience working with customer escalations suggests that disabling compression improves performance, and the storage overhead is generally not a concern for the metadata and omap data we are storing. Signed-off-by: Sage Weil (cherry picked from commit b878ead071b328e5fe7309a2368383e67679e9f7) Conflicts: src/common/options.cc Config options moved files since jewel. --- 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 5499456f65d08..6077a8e14f44b 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -872,7 +872,7 @@ OPTION(rocksdb_collect_extended_stats, OPT_BOOL, false) //For rocksdb, this beha OPTION(rocksdb_collect_memory_stats, OPT_BOOL, false) //For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled. // rocksdb options that will be used for omap(if omap_backend is rocksdb) -OPTION(filestore_rocksdb_options, OPT_STR, "max_background_compactions=8;compaction_readahead_size=2097152") +OPTION(filestore_rocksdb_options, OPT_STR, "max_background_compactions=8;compaction_readahead_size=2097152;compression=kNoCompression") // rocksdb options that will be used in monstore OPTION(mon_rocksdb_options, OPT_STR, "write_buffer_size=33554432,compression=kNoCompression") -- 2.39.5