Skip to contentSkip to conversation

XioMessenger (RDMA) Status Update

DISCUSSION Matt W. Benjamin 4 participants 6 messages May 13, 2014 – May 16, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1143714307.164.1400015257404.JavaMail.root@thunderbeast.private.linuxbox.com

#1 lore raw

Hi Ceph Devs,

I've pushed two Ceph+Accelio branches, xio-firefly and xio-firefly-cmake to our public ceph repository https://github.com/linuxbox2/linuxbox-ceph.git .

These branches are pulled up to the HEAD of ceph/firefly, and also have improvements to XioMessenger which allow:

1. operation of (at least) a minimal Ceph Mon and OSD cluster over Xio messaging alone
2. initial support for Accelio in the MDS server and Client/libcephfs (not formally tested)

There are some new config options:

(global addr) "rdma local" sets a local rdma interface address (global bool) "cluster rdma" selects Accelio for intra-cluster communication (global bool) "client rdma" selecs Accelio for libcephfs communications

These changes haven't been strenuously tested, we'll expect to have additional information and likely new, simple rados bench results against this code in the next several days, at latest.

Thanks,

Matt

Signature · 10 lines
Matt Benjamin
CohortFS, LLC.
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://cohortfs.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
#2 lore raw
Quoted 13 lines · Matt W. Benjamin

Hi Ceph Devs,

I've pushed two Ceph+Accelio branches, xio-firefly and xio-firefly-cmake to our public ceph repository https://github.com/linuxbox2/linuxbox-ceph.git .

These branches are pulled up to the HEAD of ceph/firefly, and also have improvements to XioMessenger which allow:

1. operation of (at least) a minimal Ceph Mon and OSD cluster over Xio messaging alone
2. initial support for Accelio in the MDS server and Client/libcephfs (not formally tested)

There are some new config options:

Quoted 7 lines

(global addr) "rdma local" sets a local rdma interface address (global bool) "cluster rdma" selects Accelio for intra-cluster communication (global bool) "client rdma" selecs Accelio for libcephfs communications

These changes haven't been strenuously tested, we'll expect to have additional information and likely new, simple rados bench results against this code in the next several days, at latest.

Excellent new Matt. Can't wait to see your results! :D

Quoted 5 lines

Thanks,

Matt

#3 lore raw
In reply to Matt W. Benjamin
Quoted 13 lines · Matt W. Benjamin

Hi Ceph Devs,

I've pushed two Ceph+Accelio branches, xio-firefly and xio-firefly-cmake to our public ceph repository https://github.com/linuxbox2/linuxbox-ceph.git .

These branches are pulled up to the HEAD of ceph/firefly, and also have improvements to XioMessenger which allow:

1. operation of (at least) a minimal Ceph Mon and OSD cluster over Xio messaging alone
2. initial support for Accelio in the MDS server and Client/libcephfs (not formally tested)

There are some new config options:

Quoted 7 lines

(global addr) "rdma local" sets a local rdma interface address (global bool) "cluster rdma" selects Accelio for intra-cluster communication (global bool) "client rdma" selecs Accelio for libcephfs communications

These changes haven't been strenuously tested, we'll expect to have additional information and likely new, simple rados bench results against this code in the next several days, at latest.

Can you talk about what structural changes you've made since the last branch? :) Is there support for mark_down or some of the other things we've discussed?
-Greg

#4 lore raw
In reply to Matt W. Benjamin

Hi Matt,

I've rebased this branch on top of master and pushed it to wip-xio in ceph.git, and then opened a pull request to capture review:

	https://github.com/ceph/ceph/pull/1819

I would like to get some of the preliminary pieces into master sooner rather than later so we can start cutting down on the size of the branch. I've started by looking just first few patches that modify the Messenger and made a few clean ups:

- use SimplePolicyMessage for SimpleMessenger, too, to avoid dup code
- move PipeConnection into a separate header and tweak a few things to remove it from the generic Messenger/Message/Connection interface
- cleaned up a bit of cruft from the original patch
- resolved a few merge conflicts between firefly and master

Before I get too far into this can you take a look? I'd like to pull *all* of the non-xio stuff to the top of the branch and get it in good shape first.

I think the next step for me is to look at how you've instantiated the alternate xio messenger and clean up that interface. This is probably also a good time for us to get the entity_addr_t and entity_name_t stuff sorted out.

Thanks!
sage

Quoted 42 lines · Matt W. Benjamin

Hi Ceph Devs,

I've pushed two Ceph+Accelio branches, xio-firefly and xio-firefly-cmake to our public ceph repository https://github.com/linuxbox2/linuxbox-ceph.git .

These branches are pulled up to the HEAD of ceph/firefly, and also have improvements to XioMessenger which allow:

1. operation of (at least) a minimal Ceph Mon and OSD cluster over Xio messaging alone
2. initial support for Accelio in the MDS server and Client/libcephfs (not formally tested)

There are some new config options:

(global addr) "rdma local" sets a local rdma interface address (global bool) "cluster rdma" selects Accelio for intra-cluster communication (global bool) "client rdma" selecs Accelio for libcephfs communications

These changes haven't been strenuously tested, we'll expect to have additional information and likely new, simple rados bench results against this code in the next several days, at latest.

Thanks,

Matt

Signature · 14 lines
Matt Benjamin
CohortFS, LLC.
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://cohortfs.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
Quoted 18 lines · Sage Weil

Hi Matt,

I've rebased this branch on top of master and pushed it to wip-xio in ceph.git, and then opened a pull request to capture review:

        https://github.com/ceph/ceph/pull/1819

I would like to get some of the preliminary pieces into master sooner rather than later so we can start cutting down on the size of the branch. I've started by looking just first few patches that modify the Messenger and made a few clean ups:

- use SimplePolicyMessage for SimpleMessenger, too, to avoid dup code
- move PipeConnection into a separate header and tweak a few things to remove it from the generic Messenger/Message/Connection interface
- cleaned up a bit of cruft from the original patch
- resolved a few merge conflicts between firefly and master

Quoted 8 lines

Before I get too far into this can you take a look? I'd like to pull *all* of the non-xio stuff to the top of the branch and get it in good shape first.

I think the next step for me is to look at how you've instantiated the alternate xio messenger and clean up that interface. This is probably also a good time for us to get the entity_addr_t and entity_name_t stuff sorted out.

Unfortunately, I think we need to get farther along before pulling any of this into master. In particular, unless it's been updated since I looked at it last, the SimplePolicyMessenger doesn't do anything right now and we're not sure of whether the interface is actually helpful. We can perhaps do some of the multi-messenger support bits, but the internal interface changes really need to wait until we've verified that it's possible to implement a non-TCP messenger with them before it's worth making the TCP stuff follow their rules.
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

#6 lore raw
Quoted 23 lines · Gregory Farnum
Quoted 22 lines · Sage Weil

Hi Matt,

I've rebased this branch on top of master and pushed it to wip-xio in ceph.git, and then opened a pull request to capture review:

        https://github.com/ceph/ceph/pull/1819

I would like to get some of the preliminary pieces into master sooner rather than later so we can start cutting down on the size of the branch. I've started by looking just first few patches that modify the Messenger and made a few clean ups:

- use SimplePolicyMessage for SimpleMessenger, too, to avoid dup code
- move PipeConnection into a separate header and tweak a few things to remove it from the generic Messenger/Message/Connection interface
- cleaned up a bit of cruft from the original patch
- resolved a few merge conflicts between firefly and master

Before I get too far into this can you take a look? I'd like to pull *all* of the non-xio stuff to the top of the branch and get it in good shape first.

Quoted 7 lines
Quoted 4 lines

I think the next step for me is to look at how you've instantiated the alternate xio messenger and clean up that interface. This is probably also a good time for us to get the entity_addr_t and entity_name_t stuff sorted out.

Unfortunately, I think we need to get farther along before pulling any of this into master.

I agree. I'm just trying to get this cleaned up and ordered so that it can be sanely reviewed. :)

Quoted 7 lines

In particular, unless it's been updated since I looked at it last, the SimplePolicyMessenger doesn't do anything right now and we're not sure of whether the interface is actually helpful. We can perhaps do some of the multi-messenger support bits, but the internal interface changes really need to wait until we've verified that it's possible to implement a non-TCP messenger with them before it's worth making the TCP stuff follow their rules.

The SimplePolicyMessenger piece just pull the get/set Policy stuff out of SimpleMessenger into a parent class; nothing more. The multiplexer is something else (which I can't find in that branch at the moment!).

So far everything I've looked at has been a nice cleanup of the abstract interface. The next thing I'm concerned about is something akin to a sane factory method so that (hopefully) the explicit SimpleMessenger references can be dropped from other parts of the code. I'm not touching the xio bits yet, although it looks like that will quickly lead us to some other core pieces like buffer support for xio.

Don't worry--none of this will get merged until it is cleaned up, reviewed, and tested!

sage