]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: adjust compression blob sizes down
authorSage Weil <sage@redhat.com>
Tue, 27 Sep 2016 16:20:44 +0000 (12:20 -0400)
committerSage Weil <sage@redhat.com>
Fri, 30 Sep 2016 17:47:22 +0000 (13:47 -0400)
These were way too big.  64KB is enough to get good compression,
and 4MB is way too big.

Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index 8c909026c7469a910289348948fc104997398506..144f50ee192ff6027ece12c0e6125b736156085e 100644 (file)
@@ -973,8 +973,8 @@ OPTION(bluestore_min_alloc_size_ssd, OPT_U32, 4*1024)
 OPTION(bluestore_max_alloc_size, OPT_U32, 0)
 OPTION(bluestore_compression, OPT_STR, "none")  // force|aggressive|passive|none
 OPTION(bluestore_compression_algorithm, OPT_STR, "snappy")
-OPTION(bluestore_compression_min_blob_size, OPT_U32, 256*1024)
-OPTION(bluestore_compression_max_blob_size, OPT_U32, 4*1024*1024)
+OPTION(bluestore_compression_min_blob_size, OPT_U32, 128*1024)
+OPTION(bluestore_compression_max_blob_size, OPT_U32, 512*1024)
 OPTION(bluestore_gc_max_blob_depth, OPT_U32, 3)
 OPTION(bluestore_gc_merge_data, OPT_BOOL, true)
 /*