]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
common/options: enable multiple rocksdb compaction threads for filestore 18234/head
authorJosh Durgin <jdurgin@redhat.com>
Tue, 10 Oct 2017 23:54:31 +0000 (19:54 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 11 Oct 2017 01:48:41 +0000 (21:48 -0400)
commit9d12fa5e6dad5492491f4718ba7c593077d984a6
tree048f5bcfd77efb380b890fb88cf8fddb0ca584c3
parent6f2f8cdc6a6fa64928fd2d5459b4974e281d857e
common/options: enable multiple rocksdb compaction threads for filestore

One of the major benefits of rocksdb over leveldb is multithreaded
compaction. The default of 1 thread does not provide much benefit, and
is insufficient for heavy rgw workloads.

For high-write and delete omap workloads I've seen up to 8 compaction
threads be used.  There's little overhead to having a higher max than
are needed, so set the default to 8.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 023fa810aa6b3af305e9027e3f717e54d1bb2712)

Conflicts:
    src/common/options.cc (trivial)
src/common/options.cc