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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 2/15/22 5:16 PM, Venky Shankar wrote:
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(-)

This series looks good to me.

Reviewed-by: Xiubo Li <xiubli@xxxxxxxxxx>





[Index of Archives]     [CEPH Users]     [Ceph Large]     [Ceph Dev]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux