New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msg/async/rdma: add perf counters to RDMA backend #13484

Merged
merged 1 commit into from Feb 18, 2017

Conversation

Projects
None yet
2 participants
@yuyuyu101
Member

yuyuyu101 commented Feb 17, 2017

Signed-off-by: Haomai Wang haomai@xsky.com

@yuyuyu101

This comment has been minimized.

Member

yuyuyu101 commented Feb 17, 2017

@Adirl plz review

@Adirl

This comment has been minimized.

Adirl commented Feb 18, 2017

Like !

How do you use the counters? I mean where can you find them when cluster is running?

@Adirl

Adirl approved these changes Feb 18, 2017

@Adirl

This comment has been minimized.

Adirl commented Feb 18, 2017

How do you reset a counter/s ?

@yuyuyu101

This comment has been minimized.

Member

yuyuyu101 commented Feb 18, 2017

ceph daemon osd.0 perf dump
ceph daemon osd.0 perf reset all
"ceph daemon osd.0 help" to see all commands

ceph daemon osd.0 must run on the host which own the specified osd.

@Adirl

This comment has been minimized.

Adirl commented Feb 18, 2017

Great!

@yuyuyu101

This comment has been minimized.

Member

yuyuyu101 commented Feb 18, 2017

"AsyncMessenger::RDMADispatcher": {
    "polling": 0,
    "inflight_tx_chunks": 0,
    "rx_total_wc": 350,
    "rx_total_wc_errors": 0,
    "rx_fin": 4,
    "handshake_errors": 0,
    "total_async_events": 0,
    "async_last_wqe_events": 0,
    "created_queue_pair": 17,
    "active_queue_pair": 12
},
"AsyncMessenger::RDMAWorker-0": {
    "tx_total_wc": 62,
    "tx_total_wc_errors": 0,
    "tx_retry_errors": 0,
    "tx_wr_flush_errors": 0,
    "tx_no_mem": 0,
    "tx_parital_mem": 0,
    "tx_failed_post": 0,
    "tx_chunks": 17,
    "tx_bytes": 1177,
    "rx_chunks": 14,
    "rx_bytes": 1163
},
msg/async/rdma: add perf counters to RDMA backend
Signed-off-by: Haomai Wang <haomai@xsky.com>
@yuyuyu101

This comment has been minimized.

Member

yuyuyu101 commented Feb 18, 2017

test locally ok

@yuyuyu101 yuyuyu101 merged commit a6db737 into ceph:master Feb 18, 2017

2 of 3 checks passed

default Build triggered. sha1 is merged.
Details
Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details

@yuyuyu101 yuyuyu101 deleted the yuyuyu101:wip-rdma-perf-counter branch Feb 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment