From 6df48f8e38428587695c8a8bd448bc9ad1cd6af7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 16 Oct 2015 13:07:29 -0400 Subject: [PATCH] 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 --- 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 1d128a2a59899..8fc62da05896f 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 -- 2.39.5