Project

General

Profile

Actions

Feature #43423

closed

mds: collect and show the dentry lease metric

Added by Xiubo Li over 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Reviewed:
Affected Versions:
Component(FS):
MDS
Labels (FS):
Pull request ID:

Description

Kclient will collect the dentry lease metric and send it to the MDS, currently this hasn't been shown in the perf stats.


Related issues 2 (0 open2 closed)

Related to CephFS - Feature #24285: mgr: add module which displays current usage of file system (`fs top`)ResolvedVenky Shankar

Actions
Related to Linux kernel client - Feature #43215: kclient: send usage metrics to MDSResolvedXiubo Li

Actions
Actions #1

Updated by Xiubo Li over 4 years ago

Locally the patch is ready, but depend on https://github.com/ceph/ceph/pull/26004, which hasn't been merged yet.

# ./bin/ceph fs perf stats | python -m json.tool
{
    "client_metadata": {
        "client.4273": {
            "IP": "v1:192.168.195.165",
            "hostname": "fedora1",
            "mount_point": "N/A",
            "root": "/" 
        }
    },
    "counters": [
        "cap_hit" 
    ],
    "global_counters": [
        "read_latency",
        "write_latency",
        "metadata_latency",
        "dentry_lease_hit" 
    ],
    "global_metrics": {
        "client.4273": [
            [
                0,
                0
            ],
            [
                0,
                0
            ],
            [
                0,
                0
            ],
            [
                41,
                0
            ]
        ]
    },
    "metrics": {
        "delayed_ranks": [],
        "mds.0": {
            "client.4273": [
                [
                    171,
                    1
                ]
            ]
        }
    }
}

Actions #2

Updated by Xiubo Li over 4 years ago

  • Tracker changed from Bug to Feature
Actions #4

Updated by Xiubo Li over 4 years ago

  • Related to Feature #24285: mgr: add module which displays current usage of file system (`fs top`) added
Actions #5

Updated by Xiubo Li over 4 years ago

Actions #6

Updated by Patrick Donnelly over 4 years ago

  • Target version set to v15.0.0
  • Source set to Development
Actions #7

Updated by Xiubo Li over 4 years ago

Patches are ready and waiting for the depending PR [1] to be merged.

[1] https://github.com/ceph/ceph/pull/26004

Actions #8

Updated by Xiubo Li over 4 years ago

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

Updated by Patrick Donnelly over 4 years ago

  • Status changed from Fix Under Review to In Progress
  • Target version changed from v15.0.0 to v16.0.0
Actions #10

Updated by Xiubo Li almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 32479
Actions #11

Updated by Patrick Donnelly over 3 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF