Project

General

Profile

Feature #35540

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

Added by Lenz Grimmer 3 months ago. Updated 3 days ago.

Status:
Resolved
Priority:
Normal
Category:
dashboard/general
Target version:
Start date:
09/04/2018
Due date:
% 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?)

Screenshot_2018-10-22_11-21-37.png View - Modal dialog (45.6 KB) Tatjana Dehler, 10/22/2018 09:42 AM

Screenshot_2018-10-22_11-39-27.png View - Customize values (43.8 KB) Tatjana Dehler, 10/22/2018 09:44 AM

History

#1 Updated by Lenz Grimmer 2 months 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?

#2 Updated by Tatjana Dehler about 2 months ago

  • Status changed from New to In Progress

#3 Updated by Tatjana Dehler about 2 months 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").

#5 Updated by Tatjana Dehler 18 days ago

  • Status changed from In Progress to Need Review

#6 Updated by Lenz Grimmer 17 days ago

  • Pull request ID set to 24968

#7 Updated by Tatjana Dehler 3 days ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF