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 #1

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?

Actions #2

Updated by Tatjana Dehler over 5 years ago

  • Status changed from New to In Progress

Updated by Tatjana Dehler over 5 years ago

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").

Actions #5

Updated by Tatjana Dehler over 5 years ago

  • Status changed from In Progress to Fix Under Review
Actions #6

Updated by Lenz Grimmer over 5 years ago

  • Pull request ID set to 24968
Actions #7

Updated by Tatjana Dehler over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions #8

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General
Actions

Also available in: Atom PDF