erasure coding (sorry)
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files.
and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files. inbound traffic would be minimal)
I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.
thanks,
Dieter
Quoted 10 lines · Dieter
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files.
and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files. inbound traffic would be minimal)I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.
We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
sage
Quoted 16 lines · Sage Weil
Quoted 10 lines · Dieter
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files.
and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files. inbound traffic would be minimal)I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
Quoted 6 lines
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
When the osd detected this marker, it would proxy the request to the erasure coding thread/process which would service the request on the second pool for reads, and potentially make writes move the data back to the first pool in a tiering sort of scenario.
I might have misremembered some details, but I think it's an
interesting way to get many of the benefits of erasure coding with a relatively small amount of work compared to a fully native osd solution.
Josh
[1] http://wiki.ceph.com/01Planning/02Blueprints/Dumpling/Erasure_encoding_as_a_storage_backend
Quoted 45 lines · Josh Durgin
Quoted 25 lines · Sage Weil
Quoted 14 lines · Dieter
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files. and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files.
inbound traffic would be minimal)Quoted 5 lines
I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
Quoted 6 lines
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
When the osd detected this marker, it would proxy the request to the erasure coding thread/process which would service the request on the second pool for reads, and potentially make writes move the data back to the first pool in a tiering sort of scenario.
Quoted 5 lines
I might have misremembered some details, but I think it's an interesting way to get many of the benefits of erasure coding with a relatively small amount of work compared to a fully native osd solution.
Josh
Neat. :)
Quoted 8 lines
[1]
http://wiki.ceph.com/01Planning/02Blueprints/Dumpling/Erasure_encoding_as_a_storage_backend--
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
Quoted 46 lines · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
Quoted 45 lines · Josh Durgin
Quoted 25 lines · Sage Weil
Quoted 14 lines · Dieter
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files. and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files.
inbound traffic would be minimal)Quoted 5 lines
I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
Quoted 6 lines
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
When the osd detected this marker, it would proxy the request to the erasure coding thread/process which would service the request on the second pool for reads, and potentially make writes move the data back to the first pool in a tiering sort of scenario.
Quoted 8 lines
Quoted 5 lines
I might have misremembered some details, but I think it's an interesting way to get many of the benefits of erasure coding with a relatively small amount of work compared to a fully native osd solution.
Josh
Neat. :)
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.
@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Dieter
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 53 lines
Quoted 50 lines · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
Quoted 49 lines · Josh Durgin
Quoted 25 lines · Sage Weil
Quoted 14 lines · Dieter
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files. and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files.
inbound traffic would be minimal)Quoted 5 lines
I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
Quoted 6 lines
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
When the osd detected this marker, it would proxy the request to the erasure coding thread/process which would service the request on the second pool for reads, and potentially make writes move the data back to the first pool in a tiering sort of scenario.
I might have misremembered some details, but I think it's an interesting way to get many of the benefits of erasure coding with a relatively small amount of work compared to a fully native osd solution.
Quoted 8 lines
Quoted 4 lines
Quoted 1 line
Josh
Neat. :)
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Yea - in a previous incarnation I looked at cleversafe to do something similar a few years ago. It is odd that the cleversafe.org stuff did disapear. However, tahoe-lafs also does encoding, and their package (zfec) [1] may be leverageable.
Quoted 6 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.
I think this might sit UNDER the rados api. I would certainly want to leverage CRUSH to place the shards, however (great tool, no reason to re-invent the wheel).
Quoted 2 lines
@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Give me time :) - openstack has kept me a bit busy… May also be a factor of "design at keyboard" :)
Quoted 2 lines
Dieter
Christopher
[1] https://tahoe-lafs.org/trac/zfec
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think…
Christopher
Quoted 2 lines
Dieter
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Am I missing something ?
Quoted 32 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think…
Christopher
Quoted 2 lines
Dieter
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Supposedly, on 2013-Apr-22, at 01.10 PDT(-0700), someone claiming to be Loic Dachary scribed:
Quoted 3 lines
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Poorly worded. The idea is that each shard becomes a seperate object, and the encoder/sharder would use CRUSH to identify the OSDs to hold the shards. However, the OSDs would treat the shard as an n=1 replication and just store locally.
Actually, looking at this this morning, this is actually harder than the prefered alternative (i.e. grafting a encode/decode into the (e)OSD. It was meant to cover the alternative approaches. I didn't like this one, but it now appears to be more difficult, and non-deterministic of the placement.
One question on CRUSH (it's been too long since I read the paper), if x is the same for two objects, and, using an n=3 returns R={OSD18,OSD45,OSD97}, if an object is handed to OSD45 that matches x, but has an n=1, would OSD45 store it, or would it forward it to OSD18 to store? If it would this idea is DOA. Also, if x is held invariant, but n changes, does the same R set get returned (truncated to n members)?
Thx
Christopher
Quoted 28 lines
Am I missing something ?
Quoted 24 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think…
Christopher
Quoted 1 line
Quoted 11 lines
Quoted 8 lines
Quoted 1 line
Dieter
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdlSignature · 1 line
Loïc Dachary, Artisan Logiciel Libre
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Quoted 11 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-22, at 01.10 PDT(-0700), someone claiming to be Loic Dachary scribed:
Quoted 3 lines
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Poorly worded. The idea is that each shard becomes a seperate object, and the encoder/sharder would use CRUSH to identify the OSDs to hold the shards. However, the OSDs would treat the shard as an n=1 replication and just store locally.
Actually, looking at this this morning, this is actually harder than the prefered alternative (i.e. grafting a encode/decode into the (e)OSD. It was meant to cover the alternative approaches. I didn't like this one, but it now appears to be more difficult, and non-deterministic of the placement.
One question on CRUSH (it's been too long since I read the paper), if x is the same for two objects, and, using an n=3 returns R={OSD18,OSD45,OSD97}, if an object is handed to OSD45 that matches x, but has an n=1, would OSD45 store it, or would it forward it to OSD18 to store? If it would this idea is DOA. Also, if x is held invariant, but n changes, does the same R set get returned (truncated to n members)?
It would go to osd18, the first item in the sequence that CRUSH generates.
As Loic observes, not having control of placement from above the librados level makes this more or less a non-started. The only thing that might work at that layer is to set up ~5 or more pools, each with a distinct set of OSDs, and put each shard/fragment in a different pool. I don't think that is a particularly good approach.
If we are going to do parity encoding (and I think we should!), I think we should fully integrate it into the OSD.
The simplest approach:
- we create a new PG type for 'parity' or 'erasure' or whatever (type fields already exist)
- those PGs use the parity ('INDEP') crush mode so that placement is intelligent
- all reads and writes go to the 'primary'
- the primary does the shard encoding and distributes the write pieces to the other replicas
- same for reads
There will be a pile of patches to move code around between PG and ReplicatedPG, which will be annoying, but hopefully not too painful. The class structure and data types were set up with this in mind long ago.
Several key challenges:
- come up with a scheme for internal naming to keep shards distinct
- safely rewriting a stripe when there is a partial overwrite. probably want to write new stripes to distinct new objects (cloning old data as needed) and clean up the old ones once enough copies are present.
- recovery logic
sage
Quoted 52 lines
Thx
ChristopherQuoted 28 lines
Am I missing something ?
Quoted 24 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think?
Christopher
Quoted 1 line
Quoted 11 lines
Quoted 8 lines
Quoted 1 line
Dieter
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdlSignature · 1 line
Lo?c Dachary, Artisan Logiciel Libre--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Hi Sage,
Quoted 24 lines · Sage Weil
Quoted 11 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-22, at 01.10 PDT(-0700), someone claiming to be Loic Dachary scribed:
Quoted 3 lines
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Poorly worded. The idea is that each shard becomes a seperate object, and the encoder/sharder would use CRUSH to identify the OSDs to hold the shards. However, the OSDs would treat the shard as an n=1 replication and just store locally.
Actually, looking at this this morning, this is actually harder than the prefered alternative (i.e. grafting a encode/decode into the (e)OSD. It was meant to cover the alternative approaches. I didn't like this one, but it now appears to be more difficult, and non-deterministic of the placement.
One question on CRUSH (it's been too long since I read the paper), if x is the same for two objects, and, using an n=3 returns R={OSD18,OSD45,OSD97}, if an object is handed to OSD45 that matches x, but has an n=1, would OSD45 store it, or would it forward it to OSD18 to store? If it would this idea is DOA. Also, if x is held invariant, but n changes, does the same R set get returned (truncated to n members)?
It would go to osd18, the first item in the sequence that CRUSH generates.
As Loic observes, not having control of placement from above the librados level makes this more or less a non-started. The only thing that might work at that layer is to set up ~5 or more pools, each with a distinct set of OSDs, and put each shard/fragment in a different pool. I don't think that is a particularly good approach.
If we are going to do parity encoding (and I think we should!), I think we should fully integrate it into the OSD.
Quoted 6 lines
The simplest approach:
- we create a new PG type for 'parity' or 'erasure' or whatever (type fields already exist)
- those PGs use the parity ('INDEP') crush mode so that placement is intelligent
I assume you do not mean CEPH_FEATURE_INDEP_PG_MAP as used in
https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L5237
but CRUSH_RULE_CHOOSE_INDEP as used in
https://github.com/ceph/ceph/blob/master/src/crush/mapper.c#L331
when firstn == 0 because it was set in
https://github.com/ceph/ceph/blob/master/src/crush/mapper.c#L523
I see that it would be simpler to write
step choose indep 0 type row
and then rely on intelligent placement. Is there a reason why it would not be possible to use firstn instead of indep ?
Quoted 3 lines
- all reads and writes go to the 'primary'
- the primary does the shard encoding and distributes the write pieces to the other replicas
Although I understand how that would work when a PG receives a CEPH_OSD_OP_WRITEFULL
https://github.com/ceph/ceph/blob/master/src/osd/ReplicatedPG.cc#L2504
It may be inconvenient and expensive to recompute the parity encoded version if an object is written with a series of CEPH_OSD_OP_WRITE. The simplest way would be to decode the existing object, modify it according to what CEPH_OSD_OP_WRITE requires, encode it.
Quoted 6 lines
- same for reads
There will be a pile of patches to move code around between PG and ReplicatedPG, which will be annoying, but hopefully not too painful. The class structure and data types were set up with this in mind long ago.
Quoted 6 lines
Several key challenges:
- come up with a scheme for internal naming to keep shards distinct
- safely rewriting a stripe when there is a partial overwrite. probably want to write new stripes to distinct new objects (cloning old data as needed) and clean up the old ones once enough copies are present.
Do you mean RBD stripes ?
Quoted 1 line
- recovery logic
If recovery is done from the scheduled scrubber in the ErasureCodedPG , I'm not sure if OSD.cc must be modified or is truly independent of the PG type
https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L3818
I'll keep looking, thanks a lot for the hints :-)
Cheers
Quoted 59 lines
sage
Quoted 47 lines
Thx
ChristopherQuoted 28 lines
Am I missing something ?
Quoted 24 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think?
Christopher
Quoted 1 line
Quoted 11 lines
Quoted 8 lines
Quoted 1 line
Dieter
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdlSignature · 1 line
Lo?c Dachary, Artisan Logiciel LibreQuoted 5 lines
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl--
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
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Quoted 38 lines · Loic Dachary
Hi Sage,
Quoted 24 lines · Sage Weil
Quoted 11 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-22, at 01.10 PDT(-0700), someone claiming to be Loic Dachary scribed:
Quoted 3 lines
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Poorly worded. The idea is that each shard becomes a seperate object, and the encoder/sharder would use CRUSH to identify the OSDs to hold the shards. However, the OSDs would treat the shard as an n=1 replication and just store locally.
Actually, looking at this this morning, this is actually harder than the prefered alternative (i.e. grafting a encode/decode into the (e)OSD. It was meant to cover the alternative approaches. I didn't like this one, but it now appears to be more difficult, and non-deterministic of the placement.
One question on CRUSH (it's been too long since I read the paper), if x is the same for two objects, and, using an n=3 returns R={OSD18,OSD45,OSD97}, if an object is handed to OSD45 that matches x, but has an n=1, would OSD45 store it, or would it forward it to OSD18 to store? If it would this idea is DOA. Also, if x is held invariant, but n changes, does the same R set get returned (truncated to n members)?
It would go to osd18, the first item in the sequence that CRUSH generates.
As Loic observes, not having control of placement from above the librados level makes this more or less a non-started. The only thing that might work at that layer is to set up ~5 or more pools, each with a distinct set of OSDs, and put each shard/fragment in a different pool. I don't think that is a particularly good approach.
If we are going to do parity encoding (and I think we should!), I think we should fully integrate it into the OSD.
Quoted 6 lines
The simplest approach:
- we create a new PG type for 'parity' or 'erasure' or whatever (type fields already exist)
- those PGs use the parity ('INDEP') crush mode so that placement is intelligentI assume you do not mean
CEPH_FEATURE_INDEP_PG_MAPas used inhttps://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L5237
Quoted 7 lines
but
CRUSH_RULE_CHOOSE_INDEPas used inhttps://github.com/ceph/ceph/blob/master/src/crush/mapper.c#L331
when firstn == 0 because it was set in
https://github.com/ceph/ceph/blob/master/src/crush/mapper.c#L523
Right.
Quoted 5 lines
I see that it would be simpler to write
step choose indep 0 type row
and then rely on intelligent placement. Is there a reason why it would not be possible to use firstn instead of indep ?
The indep placement avoids moving around a shard between ranks, because a mapping of [0,1,2,3,4] will change to [0,6,2,3,4] (or something) if osd.1 fails and the shards on 2,3,4 won't need to be copied around.
Quoted 9 lines
Quoted 3 lines
- all reads and writes go to the 'primary'
- the primary does the shard encoding and distributes the write pieces to the other replicasAlthough I understand how that would work when a PG receives a
CEPH_OSD_OP_WRITEFULLhttps://github.com/ceph/ceph/blob/master/src/osd/ReplicatedPG.cc#L2504
It may be inconvenient and expensive to recompute the parity encoded version if an object is written with a series of
CEPH_OSD_OP_WRITE. The simplest way would be to decode the existing object, modify it according to whatCEPH_OSD_OP_WRITErequires, encode it.
Yeah. Making small writes remotely efficient is a huge challenge.
OTOH, if we have some sort of symlink/redirect, and we do writes to replicated objects and only write erasure/parity data in full objects, then we avoid that complexity.
Quoted 7 lines
Quoted 7 lines
- same for reads
There will be a pile of patches to move code around between PG and ReplicatedPG, which will be annoying, but hopefully not too painful. The class structure and data types were set up with this in mind long ago.
Quoted 8 lines
Quoted 6 lines
Several key challenges:
- come up with a scheme for internal naming to keep shards distinct
- safely rewriting a stripe when there is a partial overwrite. probably want to write new stripes to distinct new objects (cloning old data as needed) and clean up the old ones once enough copies are present.Do you mean RBD stripes ?
I'm thinking stipes of a logical object across the object's shards. Mostly in terms of something like RAID4; I'm not sure what terminology is typically used for erasure coding systems. I'm assuming that stripes of the object would be coded to so that partial object reads/updates of large objects are vaguely efficient...
Ideally, the implementation would have a field indicating what coding technique is used (parity, erasure, whatever). Different optimizations are best for different coding strategies, but the minimum useful feature in this case wouldn't optimize anything anyway :)
Quoted 74 lines
Quoted 1 line
- recovery logic
If recovery is done from the scheduled scrubber in the ErasureCodedPG , I'm not sure if OSD.cc must be modified or is truly independent of the PG type
https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L3818
I'll keep looking, thanks a lot for the hints :-)
Cheers
Quoted 59 lines
sage
Quoted 47 lines
Thx
ChristopherQuoted 28 lines
Am I missing something ?
Quoted 24 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think?
Christopher
Quoted 1 line
Quoted 11 lines
Quoted 8 lines
Quoted 1 line
Dieter
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdlSignature · 1 line
Lo?c Dachary, Artisan Logiciel LibreQuoted 5 lines
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl--
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.htmlSignature · 1 line
Lo?c Dachary, Artisan Logiciel Libre
Supposedly, on 2013-Apr-22, at 08.09 PDT(-0700), someone claiming to be Sage Weil scribed:
Quoted 7 lines · Christopher LILJENSTOLPE
Quoted 6 lines
Supposedly, on 2013-Apr-22, at 01.10 PDT(-0700), someone claiming to be Loic Dachary scribed:
Quoted 3 lines
Hi Christopher,
You wrote "A modified client/library could be used to store objects that should be sharded, vs "standard" ceph treatment. In this model, each shard would be written to a seperate PG, and each PG would we stored on exactly one OSD. " but there is no way for a client to enforce the fact that two objects are stored in separate PG.
Quoted 7 lines
Quoted 5 lines
Poorly worded. The idea is that each shard becomes a seperate object, and the encoder/sharder would use CRUSH to identify the OSDs to hold the shards. However, the OSDs would treat the shard as an n=1 replication and just store locally.
Actually, looking at this this morning, this is actually harder than the prefered alternative (i.e. grafting a encode/decode into the (e)OSD. It was meant to cover the alternative approaches. I didn't like this one, but it now appears to be more difficult, and non-deterministic of the placement.
One question on CRUSH (it's been too long since I read the paper), if x is the same for two objects, and, using an n=3 returns R={OSD18,OSD45,OSD97}, if an object is handed to OSD45 that matches x, but has an n=1, would OSD45 store it, or would it forward it to OSD18 to store? If it would this idea is DOA. Also, if x is held invariant, but n changes, does the same R set get returned (truncated to n members)?
It would go to osd18, the first item in the sequence that CRUSH generates.
That's what I thought - then it is a non-starter
Quoted 6 lines
As Loic observes, not having control of placement from above the librados level makes this more or less a non-started. The only thing that might work at that layer is to set up ~5 or more pools, each with a distinct set of OSDs, and put each shard/fragment in a different pool. I don't think that is a particularly good approach.
Pretty much of a kludge - I would agree
Quoted 6 lines
If we are going to do parity encoding (and I think we should!), I think we should fully integrate it into the OSD.
The simplest approach:
Quoted 8 lines
- we create a new PG type for 'parity' or 'erasure' or whatever (type fields already exist)
- those PGs use the parity ('INDEP') crush mode so that placement is intelligent
- all reads and writes go to the 'primary'
- the primary does the shard encoding and distributes the write pieces to the other replicas
- same for reads
Yup - that's basically what I was trying to outline for the single-tier model. I called them eOSD's.
Quoted 5 lines
There will be a pile of patches to move code around between PG and ReplicatedPG, which will be annoying, but hopefully not too painful. The class structure and data types were set up with this in mind long ago.
Quoted 7 lines
Several key challenges:
- come up with a scheme for internal naming to keep shards distinct
- safely rewriting a stripe when there is a partial overwrite. probably want to write new stripes to distinct new objects (cloning old data as needed) and clean up the old ones once enough copies are present.
- recovery logic
Been giving this some thought - I'll try and get them into the blueprint. Is the blueprint, as it is, reasonable to include in the design summit, knowing that it will continue to evolve?
Quoted 3 lines
sage
Christopher
Quoted 48 lines
Quoted 48 lines
Thx
ChristopherQuoted 39 lines
Am I missing something ?
Quoted 24 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.31 PDT(-0700), someone claiming to be Plaetinck, Dieter scribed:
Quoted 9 lines
Quoted 1 line · On Thu, 18 Apr 2013 16:09:52 -0500 Mark Nelson <[email protected]> wrote:
@Bryan: I did come across cleversafe. all the articles around it seemed promising, but unfortunately it seems everything related to the cleversafe open source project somehow vanished from the internet. (e.g. http://www.cleversafe.org/) quite weird...
Quoted 7 lines
@Sage: interesting. I thought it would be more relatively simple if one assumes
the restriction of immutable files. I'm not familiar with those ceph specifics you're mentioning. When building an erasure codes-based system, maybe there's ways to reuse existing ceph code and/or allow some integration with replication based objects, without aiming for full integration or full support of the rados api, based on some tradeoffs.@Josh, that sounds like an interesting approach. Too bad that page doesn't contain any information yet :)
Greetings - it does now - see what you all think?
Christopher
Quoted 1 line
Quoted 8 lines
Quoted 1 line
Dieter
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl--
Lo?c Dachary, Artisan Logiciel Libre
Quoted 5 lines
Quoted 5 lines
--
???
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Quoted 6 lines · Josh Durgin
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
This sounds at a high-level similar to work out of Microsoft:
https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf
The basic idea is to replicate first, then erasure code in the background.
- Noah
Quoted 9 lines · Noah Watkins
Quoted 6 lines · Josh Durgin
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
Quoted 5 lines
This sounds at a high-level similar to work out of Microsoft:
https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf
The basic idea is to replicate first, then erasure code in the background.
FWIW, I think a useful (and generic) concept to add to rados would be a redirect symlink sort of thing that says "oh, this object is over there is that other pool", such that client requests will be transparently redirected or proxied. This will enable generic tiering type operations, and probably simplify/enable migration without a lot of additional complexity on the client side.
sage
Supposedly, on 2013-Apr-18, at 14.26 PDT(-0700), someone claiming to be Sage Weil scribed:
Quoted 14 lines · Noah Watkins
Quoted 13 lines · Josh Durgin
Quoted 7 lines
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
This sounds at a high-level similar to work out of Microsoft:
https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf
Quoted 8 lines
Quoted 1 line
The basic idea is to replicate first, then erasure code in the background.
FWIW, I think a useful (and generic) concept to add to rados would be a redirect symlink sort of thing that says "oh, this object is over there is that other pool", such that client requests will be transparently redirected or proxied. This will enable generic tiering type operations, and probably simplify/enable migration without a lot of additional complexity on the client side.
More to come, but I'm starting to think of a union mount of a fuse "re-directing" overlay. The quick idea.
On the "hot" pool, the OSD's would write to the host FS as usual. However, that FS is actually a light-weight fuse (at least for prototype) fs that passes almost everything right down to the file system. As the OSD hits a capacity HWM, a watcher (asynchronous process), starts "evicting" objects from the OSD. It does that by using a modified ceph client that calls zfec and uses CRUSH to place the resulting shards in the "cool" pool. Once those are committed, it replaces the object in the "hot" OSD with a special token. This is repeated until a LWM is reached. When the OSD gets a read request for that object, when the fuse shim sees the token, it knows to actually do a modified client fetch from the "cool" pool. It returns the resulting object to the original requester and (potentially) stores the object back in the "hot" OSD (if you want a cache-like performance), replacing the token. If necessary, some other object may get, in turn, evicted if the HWM is again breached.
We would also need to modify the repair mechanism for the deep scrub in the "cool" pool to account for the repair being a re-constitution of an invalid shard, rather than a copy (as there is only one copy of a given shard).
I'll get a bit more of a write-up today, hopefully, in the wiki.
Christopher
Quoted 2 lines
sage
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Hi Christopher,
I would like to offer my help on this blueprint. In
http://wiki.ceph.com/01Planning/02Blueprints/Dumpling/Erasure_encoding_as_a_storage_backend
you wrote
"At this time, Annai is more than willing to help with this, but we don't have the resources (including ceph coders) to materially contribute code. "
and I can work on the coding part.
Cheers
Quoted 44 lines · Christopher LILJENSTOLPE
Supposedly, on 2013-Apr-18, at 14.26 PDT(-0700), someone claiming to be Sage Weil scribed:
Quoted 14 lines · Noah Watkins
Quoted 13 lines · Josh Durgin
Quoted 7 lines
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
This sounds at a high-level similar to work out of Microsoft:
https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf
Quoted 8 lines
Quoted 1 line
The basic idea is to replicate first, then erasure code in the background.
FWIW, I think a useful (and generic) concept to add to rados would be a redirect symlink sort of thing that says "oh, this object is over there is that other pool", such that client requests will be transparently redirected or proxied. This will enable generic tiering type operations, and probably simplify/enable migration without a lot of additional complexity on the client side.
More to come, but I'm starting to think of a union mount of a fuse "re-directing" overlay. The quick idea.
On the "hot" pool, the OSD's would write to the host FS as usual. However, that FS is actually a light-weight fuse (at least for prototype) fs that passes almost everything right down to the file system. As the OSD hits a capacity HWM, a watcher (asynchronous process), starts "evicting" objects from the OSD. It does that by using a modified ceph client that calls zfec and uses CRUSH to place the resulting shards in the "cool" pool. Once those are committed, it replaces the object in the "hot" OSD with a special token. This is repeated until a LWM is reached. When the OSD gets a read request for that object, when the fuse shim sees the token, it knows to actually do a modified client fetch from the "cool" pool. It returns the resulting object to the original requester and (potentially) stores the object back in the "hot" OSD (if you want a cache-like performance), replacing the token. If necessary, some other object may get, in turn, evicted if the HWM is again breached.
We would also need to modify the repair mechanism for the deep scrub in the "cool" pool to account for the repair being a re-constitution of an invalid shard, rather than a copy (as there is only one copy of a given shard).
I'll get a bit more of a write-up today, hopefully, in the wiki.
Christopher
Quoted 2 lines
sage
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
Supposedly, on 2013-Apr-18, at 14.24 PDT(-0700), someone claiming to be Noah Watkins scribed:
Quoted 10 lines · Josh Durgin
Quoted 7 lines
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
This sounds at a high-level similar to work out of Microsoft:
I've looked at that, and it would be somewhat similar (not completely, but borrow some ideas).
Christopher
Quoted 6 lines
https://www.usenix.org/system/files/conference/atc12/atc12-final181_0.pdf
The basic idea is to replicate first, then erasure code in the background.
- Noah
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl
Supposedly, on 2013-Apr-18, at 14.08 PDT(-0700), someone claiming to be Josh Durgin scribed:
Quoted 31 lines · Sage Weil
Quoted 16 lines · Dieter
Quoted 10 lines
sorry to bring this up again, googling revealed some people don't like the subject [anymore].
but I'm working on a new +- 3PB cluster for storage of immutable files.
and it would be either all cold data, or mostly cold. 150MB avg filesize, max size 5GB (for now)
For this use case, my impression is erasure coding would make a lot of sense
(though I'm not sure about the computational overhead on storing and loading objects..? outbound traffic would peak at 6 Gbps, but I can make it way less and still keep a large cluster, by taking away the small set of hot files. inbound traffic would be minimal)I know that the answer a while ago was "no plans to implement erasure coding", has this changed?
if not, is anyone aware of a similar system that does support it? I found QFS but that's meant for batch processing, has a single 'namenode' etc.We would love to do it, but it is not a priority at the moment (things like multi-site replication are in much higher demand). That of course doesn't prevent someone outside of Inktank from working on it :)
Quoted 6 lines
The main caveat is that it will be complicate. For an initial implementation, the full breadth of the rados API probably wouldn't be support for erasure/parity encoded pools (thinkgs like rados classes and the omap key/value api get tricky when you start talking about parity). But for many (or even most) use cases, objects are just bytes, and those restrictions are just fine.
I talked to some folks interested in doing a more limited form of this yesterday. They started a blueprint [1]. One of their ideas was to have erasure coding done by a separate process (or thread perhaps). It would use erasure coding on an object and then use librados to store the rasure-encoded pieces in a separate pool, and finally leave a marker in place of the original object in the first pool.
Quoted 7 lines
When the osd detected this marker, it would proxy the request to the erasure coding thread/process which would service the request on the second pool for reads, and potentially make writes move the data back to the first pool in a tiering sort of scenario.
I might have misremembered some details, but I think it's an
interesting way to get many of the benefits of erasure coding with a relatively small amount of work compared to a fully native osd solution.
Greetings,
I'm one of those individuals :) Our thinking is evolving on this, and I think we can keep most of the work out of the main machinery of ceph, and simply require a modified client that runs the "proxy" function on the "hot" pool OSDs. Even wondering if it could be prototyped in fuse. I will be writing this up in the next day or two in the blueprint below. Josh has the idea basically correct.
Quoted 2 lines
Josh
Christopher
Quoted 2 lines
[1] http://wiki.ceph.com/01Planning/02Blueprints/Dumpling/Erasure_encoding_as_a_storage_backend
--
李柯睿
Check my PGP key here: https://www.asgaard.org/~cdl/cdl.asc
Current vCard here: https://www.asgaard.org/~cdl/cdl.vcf
Check my calendar availability: https://tungle.me/cdl