Project

General

Profile

Actions

Feature #22152

open

Implement rocksdb cache perf counter

Added by Vikhyat Umrao over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Introspection/Control
Target version:
-
% Done:

0%

Source:
Support
Tags:
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
OSD
Pull request ID:

Description

Implement rocksdb cache perf counter

Maybe we can use ceph daemon osd.$id perf dump and add rocksdb cache perf counter:

1. rocksdb cache full or not
2. how many omap keys it has
3. How many times it became full and flush?
4. any other important information

Version-Release number of selected component (if applicable):
Red Hat Ceph Storage 2.4

Right now perf dump covers the following:

  "rocksdb": {
        "rocksdb_get": 9798,
        "rocksdb_transaction": 518732,
        "rocksdb_get_latency": {
            "avgcount": 9798,
            "sum": 54.697089911
        },
        "rocksdb_submit_latency": {
            "avgcount": 505433,
            "sum": 15.398420482
        },
        "rocksdb_submit_sync_latency": {
            "avgcount": 13299,
            "sum": 12.566100383
        },
        "rocksdb_compact": 0,
        "rocksdb_compact_range": 0,
        "rocksdb_compact_queue_merge": 0,
        "rocksdb_compact_queue_len": 0
    },

Maybe we can add rocksdb cache here.

Downstream RFE - https://bugzilla.redhat.com/show_bug.cgi?id=1514504

Actions #1

Updated by Greg Farnum over 6 years ago

  • Project changed from Ceph to RADOS
  • Category set to Introspection/Control
  • Component(RADOS) OSD added
Actions

Also available in: Atom PDF