Skip to content

ceph: forward average read/write/metadata latency

Venky Shankar ceph-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ceph: track average r/w/m latencyfs/ceph/metric.c fs/ceph/metric.h+16 -140 replies
2/3ceph: include average/stdev r/w/m latency in mds metricsfs/ceph/metric.c fs/ceph/metric.h+48 -180 replies
3/3ceph: use tracked average r/w/m latencies to display metrics in debugfsfs/ceph/debugfs.c+1 -11 reply

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchXiubo Li
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ceph: forward average read/write/metadata latency

Right now, cumulative read/write/metadata latencies are tracked and are periodically forwarded to the MDS. These meterics are not particularly useful. A much more useful metric is the average latency and standard deviation (stdev) which is what this series of patches aims to do.

The userspace (libcephfs+tool) changes are here::

          https://github.com/ceph/ceph/pull/41397

Note that the cumulative latencies are still forwarded to the MDS but the tool (cephfs-top) ignores it altogether.

Latency standard deviation is calculated in cephfs-top tool.

Venky Shankar (3):
ceph: track average r/w/m latency
ceph: include average/stdev r/w/m latency in mds metrics
ceph: use tracked average r/w/m latencies to display metrics in
debugfs

 fs/ceph/debugfs.c |  2 +-
 fs/ceph/metric.c  | 44 +++++++++++++++++++++++----------------
 fs/ceph/metric.h  | 52 +++++++++++++++++++++++++++++++++--------------
 3 files changed, 65 insertions(+), 33 deletions(-)
Signature · 1 line
2.27.0