From: Josh Durgin Date: Tue, 10 Oct 2017 23:54:31 +0000 (-0400) Subject: common/options: enable multiple rocksdb compaction threads for filestore X-Git-Tag: v12.2.2~144^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9d12fa5e6dad5492491f4718ba7c593077d984a6;p=ceph.git 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 (cherry picked from commit 023fa810aa6b3af305e9027e3f717e54d1bb2712) Conflicts: src/common/options.cc (trivial) --- diff --git a/src/common/options.cc b/src/common/options.cc index de6dc10974a2..b0e9cc8a92d2 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3650,7 +3650,7 @@ std::vector