Actions
Feature #35540
closedmgr/dashboard: Provide a simple way to throttle or increase the cluster's rebuild performance
% Done:
0%
Source:
Tags:
dashboard, usability
Backport:
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
Actions