Skip to contentSkip to conversation

fun with seastar

DISCUSSION Casey Bodley 4 participants 6 messages Oct 23, 2017 – Oct 24, 2017

lore
Share & tools
lore
#0 lore raw

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

-Casey

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson

#1 lore raw
Quoted 9 lines · Casey Bodley

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

Quoted 5 lines

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

I'm also interested on seastar, but how we get benefit from it to ceph? rewrite lots of codes is needed to fit seastar framework..... I think a rough integration can't see much benefit

Quoted 10 lines

-Casey

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson
--
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

#2 lore raw
Quoted 10 lines · Haomai Wang
Quoted 9 lines · Casey Bodley

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

Quoted 8 lines
Quoted 5 lines

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

I'm also interested on seastar, but how we get benefit from it to ceph? rewrite lots of codes is needed to fit seastar framework..... I think a rough integration can't see much benefit

Right. The Seastar model imposes a lot of constraints to achieve the performance that it does, and that makes it hard to use with existing Ceph code. But for now, I think it's worth exploring what shape such an OSD would take, what early steps we could take to get something working, and what the biggest challenges would be going forward.

Quoted 9 lines
Quoted 9 lines

-Casey

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson
--
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

#3 lore raw
In reply to Casey Bodley

Hi Casey!

Quoted 9 lines · Casey Bodley

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

Quoted 5 lines

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

So after I saw your initial work on project crimson a month or two ago I went out and started working through the seastar tutorial. I never really got past screwing around with it since I've been tied up in other stuff, but it seems like you must like seastar enough to be willing to sink some time into it. Where are you planning on taking this next?

Mark

Quoted 10 lines

-Casey

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson
--
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

#4 lore raw
Quoted 18 lines · Mark Nelson

Hi Casey!

Quoted 9 lines · Casey Bodley

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

Quoted 5 lines

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

Quoted 3 lines

So after I saw your initial work on project crimson a month or two ago I went out and started working through the seastar tutorial. I never really got past screwing around with it since I've been tied up in other stuff, but it seems like you must like seastar enough to be willing to sink some time into it. Where are you planning on taking this next?

Mark

I don't think there are any solid plans yet, but I think it would be cool to hook up a ceph messenger to Adam's memstore and see how well it does with something like rados bench.

Quoted 11 lines
Quoted 11 lines

-Casey

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson

Signature · 3 lines
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 28 lines · Casey Bodley
Quoted 25 lines · Mark Nelson

Hi Casey!

Quoted 9 lines · Casey Bodley

Hi folks,

I mentioned in last week's perf call that I've been experimenting with the Seastar library [1] to see how well it can integrate with the ceph codebase. So far I've managed to add bufferlist conversions to/from the seastar buffer types, and build up a seastar messenger that can send/receive ceph Messages. The branch [2] includes a simple echo server unit test and a README with build instructions.

Quoted 5 lines

This follows some prototype work a couple years ago by Adam Emerson and myself, dubbed Project Crimson [3], to evaluate Seastar as the basis for a low-latency OSD. Interesting parts of this project include a Cap'n Proto-based messenger and an async ObjectStore interface with Memstore implementation.

So after I saw your initial work on project crimson a month or two ago I went out and started working through the seastar tutorial. I never really got past screwing around with it since I've been tied up in other stuff, but it seems like you must like seastar enough to be willing to sink some time into it. Where are you planning on taking this next?

Quoted 5 lines
Quoted 1 line

Mark

I don't think there are any solid plans yet, but I think it would be cool to hook up a ceph messenger to Adam's memstore and see how well it does with something like rados bench.

How tough would it be to do that? At the very least it would be a really interesting experiment. I'd be happy to take it for a spin if you can get something cobbled together. :)

Mark

Quoted 17 lines
Quoted 5 lines
Quoted 5 lines

-Casey

Quoted 7 lines
Quoted 7 lines

[1] https://github.com/scylladb/seastar
[2] https://github.com/cbodley/ceph/commits/wip-seastar-msg
[3] https://github.com/cohortfsllc/crimson
--
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

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