Feature #35540
closedmgr/dashboard: Provide a simple way to throttle or increase the cluster's rebuild performance
0%
Description
Once PR#23230 has been merged, we have an API to modify individual cluster settings. One idea how to utilize this is to provide a simple UI for modifying the priority/performance of cluster rebuild operations in order to minimize the impact on serving client workloads versus speeding up the rebuild process.
Currently, a cluster's rebuild performance can be influenced on the CLI as follows:
1) Slow down recovery:
ceph tell osd.* injectargs '--osd_max_backfills 1'; ceph tell osd.* injectargs '--osd_recovery_max_active 1'; ceph tell osd.* injectargs '--osd_recovery_max_single_start 1'; ceph tell osd.* injectargs '--osd_recovery_sleep 0.5;
2) Restore default values:
ceph tell osd.* injectargs '--osd_max_backfills 1'; ceph tell osd.* injectargs '--osd_recovery_max_active 3'; ceph tell osd.* injectargs '--osd_recovery_max_single_start 1'; ceph tell osd.* injectargs '--osd_recovery_sleep 0;
3) Accelerate recovery:
ceph tell osd.* injectargs '--osd_max_backfills 4'; ceph tell osd.* injectargs '--osd_recovery_max_active 4'; ceph tell osd.* injectargs '--osd_recovery_max_single_start 4'; ceph tell osd.* injectargs '--osd_recovery_sleep 0;
It would be nice to have a simple way of switching between these three modes (Recovery speed: Slow/Default/Fast) with a single selection box (with the option of changing the individual parameters behind each setting maybe?)
Files
Updated by Lenz Grimmer over 5 years ago
- Assignee set to Tatjana Dehler
- Tags set to dashboard, usability
The key question to decide first: where does this dialogue fit in? Is this a setting that an admin would expect in the context of managing OSDs?
Or is this considered to be "cluster-wide" configuration?
Updated by Tatjana Dehler over 5 years ago
- Status changed from New to In Progress
Updated by Tatjana Dehler over 5 years ago
- File Screenshot_2018-10-22_11-21-37.png Screenshot_2018-10-22_11-21-37.png added
- File Screenshot_2018-10-22_11-39-27.png Screenshot_2018-10-22_11-39-27.png added
From a frontend perspective my current idea is to open a modal dialog when clicking on the "Set OSD recovery speed" button of the OSD table (attached "Modal dialog"). Once the profile has been chosen the user can customize the config options by checking the "Customize profile values" checkbox (attached "Customize values").
Updated by Tatjana Dehler over 5 years ago
Updated by Tatjana Dehler over 5 years ago
- Status changed from In Progress to Fix Under Review
Updated by Tatjana Dehler over 5 years ago
- Status changed from Fix Under Review to Resolved
Updated by Ernesto Puerta about 3 years ago
- Project changed from mgr to Dashboard
- Category changed from 132 to General