Performance evaluations of medium to large size Ceph clusters have
demonstrated negligible performance impact from unnecessarily deep
directory hierarchies but significant performance impact from filestore
split and merge activity. Disable merges by default.
Fixes: http://tracker.ceph.com/issues/24686
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
(cherry picked from commit
75f55f2dfc92a89ec9d821e00effad75839008c9)
NOTE: A negative value means to disable subdir merging
:Type: Integer
:Required: No
-:Default: ``10``
+:Default: ``-10``
``filestore split multiple``
setup $dir || return 1
# disable pg dir merge
- CEPH_ARGS+="--filestore-merge-threshold=-10 "
export CEPH_ARGS
run_mon $dir a || return 1
run_mgr $dir x || return 1
.set_description(""),
Option("filestore_merge_threshold", Option::TYPE_INT, Option::LEVEL_DEV)
- .set_default(10)
+ .set_default(-10)
.set_description(""),
Option("filestore_split_multiple", Option::TYPE_INT, Option::LEVEL_DEV)
# Type: Integer
# Required: No
# Default: 10
- ;filestore merge threshold = 10
+ ;filestore merge threshold = -10
# filestore_split_multiple * abs(filestore_merge_threshold) * 16 is the maximum number of files in a subdirectory before splitting into child directories.
# Type: Integer