Skip to content
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

yuyuyu101
Copy link
Member

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

@yuyuyu101
Copy link
Member Author

@Adirl plz review

@Adirl
Copy link

Adirl commented Feb 18, 2017

Like !

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

@Adirl
Copy link

Adirl commented Feb 18, 2017

How do you reset a counter/s ?

@yuyuyu101
Copy link
Member Author

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
Copy link

Adirl commented Feb 18, 2017

Great!

@yuyuyu101 yuyuyu101 force-pushed the wip-rdma-perf-counter branch 3 times, most recently from ad183b3 to bc6bf0d Compare February 18, 2017 05:27
@yuyuyu101
Copy link
Member Author

"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
},

Signed-off-by: Haomai Wang <haomai@xsky.com>
@yuyuyu101
Copy link
Member Author

test locally ok

@yuyuyu101 yuyuyu101 merged commit a6db737 into ceph:master Feb 18, 2017
@yuyuyu101 yuyuyu101 deleted the wip-rdma-perf-counter branch February 18, 2017 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants