Skip to contentSkip to conversation

fecpp C++ forward error correction library

DISCUSSION Loic Dachary 3 participants 6 messages Apr 22, 2013 – Apr 30, 2013

lore
Share & tools
lore
#0 lore raw

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#1 lore raw
Quoted 9 lines · Loic Dachary

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre

Having played with zfec (more the underlying fec.[c,h] file) it's well written and self-contained as I remember it; but you will need to write a bunch of wrapper functions to chunk up data and pad out blocks and of course turn it into a library before you can use the underlying zfec implementation for ceph. If my memory is right, zfec's c code requires a C90 or C99 compiler to build it, I'm not sure if you care about that.

Regards,
Jimmy Tang

--
Senior Software Engineer, Digital Repository of Ireland (DRI) High Performance & Research Computing, IS Services Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | [email protected]
Tel: +353-1-896-3847

--
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 7 lines · Jimmy Tang
Quoted 4 lines · Loic Dachary

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

Quoted 8 lines
Quoted 5 lines

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre

Having played with zfec (more the underlying fec.[c,h] file) it's well written and self-contained as I remember it; but you will need to write a bunch of wrapper functions to chunk up data and pad out blocks and of course turn it into a library before you can use the underlying zfec implementation for ceph. If my memory is right, zfec's c code requires a C90 or C99 compiler to build it, I'm not sure if you care about that.

Hi Jimmy,

fecpp and zfec compile and run using g++ 4.7 . The requirements for http://code.google.com/p/holostor/ may be different but I suspect it also works.

Cheers

Quoted 11 lines

Regards,
Jimmy Tang

--
Senior Software Engineer, Digital Repository of Ireland (DRI) High Performance & Research Computing, IS Services Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | [email protected]
Tel: +353-1-896-3847

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#4 lore raw
In reply to Loic Dachary

Supposedly, on 2013-Apr-22, at 06.19 PDT(-0700), someone claiming to be Loic Dachary scribed:

Quoted 3 lines

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

I'll defer, provided that we don't incur a performance penalty (which is one of the negatives in sharding). As far as SIMD: Single Instruction Multiple Data. Basically, if you think of a tiled processor (like a GPU), then you set all the tiles to do the same instruction, and stream different data to each tile. As opposed to MIMD, where each tile runs a different instruction on different data. You don't need parallel processing CPUs to make use of SIMD, but you can get them going screamingly fast if you do…

Christopher

Quoted 5 lines

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre

--
李柯睿
Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
Current vCard here: http://www.asgaard.org/cdl/cdl.vcf

#3 lore raw
In reply to Loic Dachary

Supposedly, on 2013-Apr-29, at 07.23 PDT(-0700), someone claiming to be Loic Dachary scribed:

Quoted 15 lines · Jimmy Tang
Quoted 14 lines · Loic Dachary
Quoted 10 lines

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

Cheers

--
Loïc Dachary, Artisan Logiciel Libre

Quoted 5 lines
Quoted 1 line

Having played with zfec (more the underlying fec.[c,h] file) it's well written and self-contained as I remember it; but you will need to write a bunch of wrapper functions to chunk up data and pad out blocks and of course turn it into a library before you can use the underlying zfec implementation for ceph. If my memory is right, zfec's c code requires a C90 or C99 compiler to build it, I'm not sure if you care about that.

Hi Jimmy,

fecpp and zfec compile and run using g++ 4.7 . The requirements for http://code.google.com/p/holostor/ may be different but I suspect it also works.

Greetings - just looked at holostor - some concerns, it looks like it caps out (per the comments) at 17:21. As I know of at least one case where I needed to do something like 10:18, that might already violate holostor (n-m > 4) or definitely push up to its m boundary.

Christopher

Quoted 7 lines

Cheers

Quoted 4 lines

Regards,
Jimmy Tang

Quoted 10 lines
Quoted 7 lines

--
Senior Software Engineer, Digital Repository of Ireland (DRI) High Performance & Research Computing, IS Services Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | [email protected]
Tel: +353-1-896-3847

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre

--
李柯睿
Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
Current vCard here: http://www.asgaard.org/cdl/cdl.vcf

#5 lore raw
In reply to Christopher LILJENSTOLPE
Quoted 7 lines · Christopher LILJENSTOLPE

Supposedly, on 2013-Apr-22, at 06.19 PDT(-0700), someone claiming to be Loic Dachary scribed:

Quoted 3 lines

Hi Christopher,

Jack Lloyd is the author of fecpp ( http://www.randombit.net/code/fecpp/ ) and he tells me someone sent him a new SIMD approach a few weeks ago. I'm not sure what SIMD means yet, but I'll figure it out ;-). I tend to favor fecpp because it is more self contained and may be easier to embed than https://pypi.python.org/pypi/zfec

I'll defer, provided that we don't incur a performance penalty (which is one of the negatives in sharding). As far as SIMD: Single Instruction Multiple Data. Basically, if you think of a tiled processor (like a GPU), then you set all the tiles to do the same instruction, and stream different data to each tile. As opposed to MIMD, where each tile runs a different instruction on different data. You don't need parallel processing CPUs to make use of SIMD, but you can get them going screamingly fast if you do…

Hi Christopher,

Thanks for explaining :-) Although it seems disk / network I/O are the bottleneck, it's good to be able to reduce the processing footprint to a minimum.

Cheers

Quoted 14 lines

Christopher

Quoted 5 lines

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre

--
李柯睿
Check my PGP key here: http://www.asgaard.org/cdl/cdl.asc
Current vCard here: http://www.asgaard.org/cdl/cdl.vcf

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre