]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: SSE optimized jerasure plugins
authorLoic Dachary <loic@dachary.org>
Wed, 26 Mar 2014 10:16:01 +0000 (11:16 +0100)
committerLoic Dachary <loic@dachary.org>
Thu, 27 Mar 2014 13:27:23 +0000 (14:27 +0100)
commit10fd6b3153fbef1eb9014fb291ba1f4226090331
tree1fb2197444c18a71c468480ee31cbabac40b5400
parente9878db23044e2c219c01129f63e139f52701032
erasure-code: SSE optimized jerasure plugins

The jerasure plugin is compiled with three sets of flags:

* jerasure_generic with no SSE optimization
* jerasure_sse3 with SSE2, SSE3 and SSSE3 optimizations
* jerasure_sse4 with SSE2, SSE3, SSSE3, SSE41, SSE42 and PCLMUL optimizations

The jerasure plugin loads the appropriate plugin depending on the CPU
features detected at runtime.

http://tracker.ceph.com/issues/7826 fixes #7826

Signed-off-by: Loic Dachary <loic@dachary.org>
src/erasure-code/jerasure/ErasureCodePluginSelectJerasure.cc [new file with mode: 0644]
src/erasure-code/jerasure/Makefile.am
src/test/erasure-code/Makefile.am