]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Optimized rocksdb WAL settings for better SSD randwrite throughput. 11530/head
authorMark Nelson <mnelson@redhat.com>
Tue, 18 Oct 2016 13:02:32 +0000 (08:02 -0500)
committerMark Nelson <mnelson@redhat.com>
Tue, 18 Oct 2016 13:02:32 +0000 (08:02 -0500)
Signed-off-by: Mark Nelson <mnelson@redhat.com>
src/common/config_opts.h

index f01bdb2a9bbc6fd4a7693fd6613ad3958252c700..edd2d92334b2b7daceb522108d583a18951437f4 100644 (file)
@@ -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)