mds: add option mds_bal_overload_epochs#53332
Conversation
Could you elaborate about the intended use this config option @zhsgao? |
Use this option to adjust the duration of mds overload before migration, setting it to a higher value can reduce frequent migrations caused by load fluctuations. |
src/common/options/mds.yaml.in
Outdated
| default: 2 | ||
| services: | ||
| - mds | ||
| fmt_desc: The number of epochs the overload lasts before Ceph migrates. |
There was a problem hiding this comment.
Please add a long description for the config.
6c0af22 to
fb274ae
Compare
The loads of multiple MDS daemons are unbalanced and fluctuate greatly in a short period of time in my Ceph cluster, and migration is very frequent when using the default configurations. So I set |
Fair enough. Please add a long desc to the option. Otherwise LGTM. |
Add an option to configure the number of epochs the overload lasts before migrating, setting it to a higher value can avoid frequent migrations caused by load fluctuations. Signed-off-by: Zhansong Gao <zhsgao@hotmail.com>
fb274ae to
17ae57d
Compare
I have modified |
|
jenkins retest this please |
* refs/pull/53332/head: mds: add option mds_bal_overload_epochs
Add an option to configure the number of epochs the overload lasts before migrating,
setting it to a higher value can avoid frequent migrations caused by load fluctuations.
Signed-off-by: Zhansong Gao zhsgao@hotmail.com
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows