Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nautilus: mds: update defaults for recall configs #39134

Merged
merged 1 commit into from
Feb 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/common/options.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7775,7 +7775,7 @@ std::vector<Option> get_mds_options() {
.set_description("decay rate for trimming MDS cache throttle"),

Option("mds_cache_trim_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(64_K)
.set_default(256_K)
.set_description("threshold for number of dentries that can be trimmed"),

Option("mds_max_file_recover", Option::TYPE_UINT, Option::LEVEL_ADVANCED)
Expand Down Expand Up @@ -7823,23 +7823,23 @@ std::vector<Option> get_mds_options() {
.set_description("number of omap keys to read from the SessionMap in one operation"),

Option("mds_recall_max_caps", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(5000)
.set_default(30000)
.set_description("maximum number of caps to recall from client session in single recall"),

Option("mds_recall_max_decay_rate", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
.set_default(2.5)
.set_default(1.5)
.set_description("decay rate for throttle on recalled caps on a session"),

Option("mds_recall_max_decay_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(16_K)
.set_default(128_K)
.set_description("decay threshold for throttle on recalled caps on a session"),

Option("mds_recall_global_max_decay_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(64_K)
.set_default(128_K)
.set_description("decay threshold for throttle on recalled caps globally"),

Option("mds_recall_warning_threshold", Option::TYPE_SIZE, Option::LEVEL_ADVANCED)
.set_default(32_K)
.set_default(256_K)
.set_description("decay threshold for warning on slow session cap recall"),

Option("mds_recall_warning_decay_rate", Option::TYPE_FLOAT, Option::LEVEL_ADVANCED)
Expand Down