Project

General

Profile

Actions

Feature #22605

closed

Create per-object-prefix performance counters

Added by Марк Коренберг over 6 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

The problem:
There is no way to collect per RBD-image runtime statistics (IOPS, MB/s and so on ).

Solution:
1. Implement in ceph-osd statistics counters for specified object name prefix. So, if some object is touched (read or written), OSD (if it is master in acting set) looks if object name starts with some string associated with some defined counter.
2. librados should provide corresponding API to add and remove counters (list of counters in each pool). Only one argument -- object name prefix.
3. librbd should allocate/deallocate counters (via librados) for each image.
4. Ceph-mgr should be able to collect these counters from OSD and aggregate them (since object with same prefix=counter usually located on many OSD).
5. add rbd command to display this statistics.

Librbd may ask librados to allocate counters for specified object prefix. These counters should also be removed on image deletion. Counters should be updated only by master OSD in acting set.

Actions #1

Updated by Patrick Donnelly over 6 years ago

  • Project changed from Ceph to rbd
Actions #2

Updated by Марк Коренберг over 4 years ago

Please close. Nautilus has `rbd io perf` commands

Actions #3

Updated by Jason Dillaman over 4 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF