From: Sage Weil Date: Tue, 27 Sep 2016 16:20:44 +0000 (-0400) Subject: os/bluestore: adjust compression blob sizes down X-Git-Tag: v11.0.1~49^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f32b682f13d9388018d12720e5fbe5fa3fbd4861;p=ceph.git os/bluestore: adjust compression blob sizes down These were way too big. 64KB is enough to get good compression, and 4MB is way too big. Signed-off-by: Sage Weil --- diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 8c909026c7469..144f50ee192ff 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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) /*