]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/newstore: disable rocksdb compression 6609/head
authorSage Weil <sage@redhat.com>
Fri, 16 Oct 2015 17:07:29 +0000 (13:07 -0400)
committerSage Weil <sage@redhat.com>
Mon, 16 Nov 2015 18:27:25 +0000 (13:27 -0500)
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 <sage@redhat.com>
src/common/config_opts.h

index 1d128a2a59899093208c1ee91c47cbb1e48a60d2..8fc62da05896f10af5feca2d5603ac2df735a5cd 100644 (file)
@@ -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