Feature #3732
osd/mon: report recovery rate (bytes and objects per sec)
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
Report the rate of recovery (objects and bytes per second) via the monitor, presumably via 'ceph -w' and similar interfaces.
Optionally project a completion time, although this is much harder, since the rate will almost certainly not be linear and have a longish tail.
A few options:
- in the monitor, simply look at successive PGMap's degraded object counts, and take average object size in the pool to get a byte value.
- expand pg_stat_t (or the embedded type) to include the raw object and byte migration/recovery rates, which can then be summed like everything else in the PGMap.
History
#1 Updated by Sage Weil about 11 years ago
- translation missing: en.field_position set to 12
#2 Updated by Sage Weil about 11 years ago
- Status changed from 12 to Resolved