From f32b682f13d9388018d12720e5fbe5fa3fbd4861 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 27 Sep 2016 12:20:44 -0400 Subject: [PATCH] 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 --- src/common/config_opts.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 8c909026c74..144f50ee192 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) /* -- 2.47.3