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

jewel: msgr: backports of all asyncmsgr fixes to jewel #9633

Merged
11 commits merged into from Jun 27, 2016

Conversation

liewegas
Copy link
Member

@liewegas liewegas commented Jun 10, 2016

http://tracker.ceph.com/issues/16487
this is the tracker for only one of the commits. the others do not have matching tracker issues.

yuyuyu101 and others added 11 commits June 7, 2016 10:59
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit a9ac1c4)
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 5c0a689)
Maybe we need to add the statistics for external_events.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit f08ca0a)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit 69a587b)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit 0519f93)
reduce cpu utilization on real clock latency

Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 79343a8)
Delay injection was missing from a few spots, also, DelayedDelivery
was added.

Fixes: http://tracker.ceph.com/issues/15372
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
(cherry picked from commit 49a0c99)
Fixes: http://tracker.ceph.com/issues/15503
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 83f7db5)
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 0a23929)
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 1ddeede)
This changeset makes AsyncMessenger a bit smarter when it comes
to assigning worker threads to AsyncConnections. Each time a worker
is assigned, its reference count is increased. Next time when Async
Messenger needs to assign another worker to new AsyncConnection, it
picks the one with the lowest reference count. If it cannot find an
idle one, and number of currently instantiated workers is less than
specified with "ms async op max threads", the new worker is created
and returned.
Once AsyncConnection goes away, the reference count on assigned
worker is decreased.
This does not prevent, but greatly reduces chances of having a single
async worker thread doing most (or even all) of the ops, and also
removes the need to manually tune the "ms async op threads" option.

Signed-off-by: Piotr Dałek <git@predictor.org.pl>
(cherry picked from commit 3e80f8d)
@liewegas liewegas added this to the jewel milestone Jun 10, 2016
ghost pushed a commit that referenced this pull request Jun 16, 2016
@yuyuyu101
Copy link
Member

Cool, except these commits. I have created the corresponding tracker issue regard to other async pr needed to backport.

@ghost ghost added bug-fix core labels Jun 27, 2016
@ghost ghost assigned yuyuyu101 Jun 27, 2016
@ghost
Copy link

ghost commented Jun 27, 2016

@yuyuyu101 does this backport look good to merge ? It passed the rados suite http://tracker.ceph.com/issues/16344#note-7 except for one failure which I believe is unrelated).

@yuyuyu101
Copy link
Member

lgtm

@ghost ghost merged commit 9aafefe into ceph:jewel Jun 27, 2016
@ghost ghost changed the title msg/async: backports of all asyncmsgr fixes to jewel msg/async: msgr: backports of all asyncmsgr fixes to jewel Aug 25, 2016
@theanalyst theanalyst changed the title msg/async: msgr: backports of all asyncmsgr fixes to jewel jewel: msgr: backports of all asyncmsgr fixes to jewel Sep 27, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants