]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/filestore: disable rocksdb compression 18860/head
authorSage Weil <sage@redhat.com>
Fri, 10 Nov 2017 02:10:59 +0000 (20:10 -0600)
committerSage Weil <sage@redhat.com>
Fri, 10 Nov 2017 02:12:28 +0000 (20:12 -0600)
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 <sage@redhat.com>
(cherry picked from commit b878ead071b328e5fe7309a2368383e67679e9f7)

# Conflicts:
# src/common/options.cc

src/common/options.cc

index 269923239ca0fbcd9b8acc7dcbe32216fdba1e6a..5fdd32b5503aa264ac8157ddf451ceacf768a9fa 100644 (file)
@@ -3670,7 +3670,7 @@ std::vector<Option> get_global_options() {
     // filestore
 
     Option("filestore_rocksdb_options", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("max_background_compactions=8;compaction_readahead_size=2097152")
+    .set_default("max_background_compactions=8,compaction_readahead_size=2097152,compression=kNoCompression")
     .set_description(""),
 
     Option("filestore_omap_backend", Option::TYPE_STR, Option::LEVEL_ADVANCED)