Project

General

Profile

Actions

Feature #35540

closed

mgr/dashboard: Provide a simple way to throttle or increase the cluster's rebuild performance

Added by Lenz Grimmer over 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
General
Target version:
% Done:

0%

Source:
Tags:
dashboard, usability
Backport:
Reviewed:
Affected Versions:
Pull request ID:

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

Screenshot_2018-10-22_11-21-37.png (45.6 KB) Screenshot_2018-10-22_11-21-37.png Modal dialog Tatjana Dehler, 10/22/2018 09:42 AM
Screenshot_2018-10-22_11-39-27.png (43.8 KB) Screenshot_2018-10-22_11-39-27.png Customize values Tatjana Dehler, 10/22/2018 09:44 AM
Actions

Also available in: Atom PDF