From 865f6b5b1a1f665728c1cdb2ac1be81a7c71d399 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Tue, 18 Oct 2016 08:02:32 -0500 Subject: [PATCH] Optimized rocksdb WAL settings for better SSD randwrite throughput. Signed-off-by: Mark Nelson --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index f01bdb2a9bbc..edd2d92334b2 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -1002,7 +1002,7 @@ OPTION(bluestore_freelist_type, OPT_STR, "bitmap") // extent | bitmap OPTION(bluestore_freelist_blocks_per_key, OPT_INT, 128) OPTION(bluestore_bitmapallocator_blocks_per_zone, OPT_INT, 1024) // must be power of 2 aligned, e.g., 512, 1024, 2048... OPTION(bluestore_bitmapallocator_span_size, OPT_INT, 1024) // must be power of 2 aligned, e.g., 512, 1024, 2048... -OPTION(bluestore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=16,min_write_buffer_number_to_merge=3,recycle_log_file_num=16") +OPTION(bluestore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=4,min_write_buffer_number_to_merge=1,recycle_log_file_num=4,write_buffer_size=268435456") OPTION(bluestore_fsck_on_mount, OPT_BOOL, false) OPTION(bluestore_fsck_on_umount, OPT_BOOL, false) OPTION(bluestore_fsck_on_mkfs, OPT_BOOL, true) -- 2.47.3