All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] ceph: periodically send perf metrics to ceph
@ 2020-06-18 11:59 xiubli
  2020-06-18 11:59 ` [PATCH v2 1/5] ceph: add check_session_state helper and make it global xiubli
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: xiubli @ 2020-06-18 11:59 UTC (permalink / raw)
  To: jlayton, idryomov; +Cc: zyan, pdonnell, ceph-devel, Xiubo Li

From: Xiubo Li <xiubli@redhat.com>

This series is based the previous patches of the metrics in kceph[1]
and mds daemons record and forward client side metrics to manager[2][3].

This will send the caps/read/write/metadata metrics to any available
MDS only once per second as default, which will be the same as the
userland client, or every metric_send_interval seconds, which is a
module parameter, the valid values for metric_send_interval will be
0~5 seconds, 0 means disabled.

And will also send the metric flags to MDS, currently it supports the
cap, read latency, write latency and metadata latency.

Also have pushed this series to github [4].

[1] https://patchwork.kernel.org/project/ceph-devel/list/?series=238907 [Merged]
[2] https://github.com/ceph/ceph/pull/26004 [Merged]
[3] https://github.com/ceph/ceph/pull/35608 [Merged]
[4] https://github.com/lxbsz/ceph-client/commits/perf_metric2


Changed in V2:
- split the patches into small ones as possible.
- check the METRIC_COLLECT feature before sending metrics
- switch to WARN_ON and bubble up errnos to the callers

Xiubo Li (5):
  ceph: add check_session_state helper and make it global
  ceph: periodically send perf metrics to ceph
  ceph: check the METRIC_COLLECT feature before sending metrics
  ceph: switch to WARN_ON and bubble up errnos to the callers
  ceph: send client provided metric flags in client metadata

 fs/ceph/mds_client.c         | 147 ++++++++++++++++++++++++++++++++++---------
 fs/ceph/mds_client.h         |   8 ++-
 fs/ceph/metric.c             | 142 +++++++++++++++++++++++++++++++++++++++++
 fs/ceph/metric.h             |  91 +++++++++++++++++++++++++++
 fs/ceph/super.c              |  49 +++++++++++++++
 fs/ceph/super.h              |   2 +
 include/linux/ceph/ceph_fs.h |   1 +
 7 files changed, 410 insertions(+), 30 deletions(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-06-22  1:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18 11:59 [PATCH v2 0/5] ceph: periodically send perf metrics to ceph xiubli
2020-06-18 11:59 ` [PATCH v2 1/5] ceph: add check_session_state helper and make it global xiubli
2020-06-18 11:59 ` [PATCH v2 2/5] ceph: periodically send perf metrics to ceph xiubli
2020-06-18 14:42   ` Jeff Layton
2020-06-19  0:37     ` Xiubo Li
2020-06-19  9:35       ` Ilya Dryomov
2020-06-19 12:22         ` Jeff Layton
2020-06-22  1:19           ` Xiubo Li
2020-06-22  0:54         ` Xiubo Li
2020-06-18 11:59 ` [PATCH v2 3/5] ceph: check the METRIC_COLLECT feature before sending metrics xiubli
2020-06-18 14:43   ` Jeff Layton
2020-06-19  0:39     ` Xiubo Li
2020-06-18 11:59 ` [PATCH v2 4/5] ceph: switch to WARN_ON and bubble up errnos to the callers xiubli
2020-06-18 11:59 ` [PATCH v2 5/5] ceph: send client provided metric flags in client metadata xiubli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.