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

MOSDRepOp/ MOSDRepOpReply: Simple Messenger optimization #6503

Merged
merged 2 commits into from Nov 28, 2015

Conversation

XinzeChi
Copy link
Contributor

@XinzeChi XinzeChi commented Nov 9, 2015

the origin idea is from #5211

This PR is happy when cpu frequency is low, and the single pipe spend to much time on decode msg.

Signed-off-by: Xinze Chi xinze@xsky.com

@@ -70,6 +70,7 @@
#define CEPH_FEATURE_OSD_HITSET_GMT (1ULL<<54)
#define CEPH_FEATURE_HAMMER_0_94_4 (1ULL<<55)
#define CEPH_FEATURE_NEW_OSDOP_ENCODING (1ULL<<56) /* New, v7 encoding */
#define CEPH_FEATURE_NEW_OSDREPOP_ENCODING (1ULL<<57) /* New, v2 encoding */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liewegas Is it possible to make this feature combined with 56? I guess it should be timely

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this goes in quickly, yes...

the origin idea is from ceph#5211.

Signed-off-by: Xinze Chi <xinze@xsky.com>
the origin idea is from ceph#5211.

Signed-off-by: Xinze Chi <xinze@xsky.com>
liewegas added a commit that referenced this pull request Nov 28, 2015
osd: defer decoding of MOSDRepOp/MOSDRepOpReply

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
@liewegas liewegas merged commit dc217d4 into ceph:master Nov 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants