]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
erasure-code: Remove SIMD flavors for jerasure and shec
authorBassam Tabbara <bassam.tabbara@quantum.com>
Thu, 22 Sep 2016 19:40:52 +0000 (12:40 -0700)
committerBassam Tabbara <bassam.tabbara@quantum.com>
Thu, 29 Sep 2016 17:34:33 +0000 (10:34 -0700)
commitcc62c11a76d6d8a29b6894ce02e08458885e557b
tree5b66e6bd74a3e5c185f3d20f83db8f45803b0ef0
parent01696d9dd973b1e79cf121bece655dba811cc9f9
erasure-code: Remove SIMD flavors for jerasure and shec

By switching to a new gf-complete with SIMD runtime detection, we can now remove all the different flavors of jerasure and shec. This simplifies deployment and configuration of erasure coding, enables hetergenous OSDs, and enables us to take advantage of new performance improvements in jerasure without config/build changes.

This commit removes flavors from cmake, removes ErasureCodePluginSelect___, and fixes unit tests. There is now a single plugin for jerasure and a single plugin for shec.

SIMDExt.cmake was changed so that its a little more generic, and is not polluted with gf-complete specific CFLAG defines. The #define for SIMD instruction were based on gf-complete.

I also added a small init helper for jerasure that has code that was common between jerasure and shec.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
23 files changed:
cmake/modules/SIMDExt.cmake
qa/workunits/erasure-code/bench.sh
qa/workunits/erasure-code/plot.js
src/erasure-code/CMakeLists.txt
src/erasure-code/jerasure/CMakeLists.txt
src/erasure-code/jerasure/ErasureCodePluginJerasure.cc
src/erasure-code/jerasure/ErasureCodePluginSelectJerasure.cc [deleted file]
src/erasure-code/jerasure/jerasure_init.cc [new file with mode: 0644]
src/erasure-code/jerasure/jerasure_init.h [new file with mode: 0644]
src/erasure-code/shec/CMakeLists.txt
src/erasure-code/shec/ErasureCodePluginSelectShec.cc [deleted file]
src/erasure-code/shec/ErasureCodePluginShec.cc
src/test/erasure-code/CMakeLists.txt
src/test/erasure-code/TestErasureCodePluginJerasure.cc
src/test/erasure-code/TestErasureCodePluginShec.cc
src/test/erasure-code/TestJerasurePluginGeneric.cc [deleted file]
src/test/erasure-code/TestJerasurePluginNEON.cc [deleted file]
src/test/erasure-code/TestJerasurePluginSSE3.cc [deleted file]
src/test/erasure-code/TestJerasurePluginSSE4.cc [deleted file]
src/test/erasure-code/TestShecPluginGeneric.cc [deleted file]
src/test/erasure-code/TestShecPluginNEON.cc [deleted file]
src/test/erasure-code/TestShecPluginSSE3.cc [deleted file]
src/test/erasure-code/TestShecPluginSSE4.cc [deleted file]