ceph/qa/workunits/erasure-code/plot.js
Bassam Tabbara cc62c11a76 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>
2016-09-29 10:34:33 -07:00

83 lines
2.0 KiB
JavaScript

$(function() {
encode = [];
if (typeof encode_vandermonde_isa != 'undefined') {
encode.push({
data: encode_vandermonde_isa,
label: "ISA, Vandermonde",
points: { show: true },
lines: { show: true },
});
}
if (typeof encode_vandermonde_jerasure != 'undefined') {
encode.push({
data: encode_vandermonde_jerasure,
label: "Jerasure Generic, Vandermonde",
points: { show: true },
lines: { show: true },
});
}
if (typeof encode_cauchy_isa != 'undefined') {
encode.push({
data: encode_cauchy_isa,
label: "ISA, Cauchy",
points: { show: true },
lines: { show: true },
});
}
if (typeof encode_cauchy_jerasure != 'undefined') {
encode.push({
data: encode_cauchy_jerasure,
label: "Jerasure, Cauchy",
points: { show: true },
lines: { show: true },
});
}
$.plot("#encode", encode, {
xaxis: {
mode: "categories",
tickLength: 0
},
});
decode = [];
if (typeof decode_vandermonde_isa != 'undefined') {
decode.push({
data: decode_vandermonde_isa,
label: "ISA, Vandermonde",
points: { show: true },
lines: { show: true },
});
}
if (typeof decode_vandermonde_jerasure != 'undefined') {
decode.push({
data: decode_vandermonde_jerasure,
label: "Jerasure Generic, Vandermonde",
points: { show: true },
lines: { show: true },
});
}
if (typeof decode_cauchy_isa != 'undefined') {
decode.push({
data: decode_cauchy_isa,
label: "ISA, Cauchy",
points: { show: true },
lines: { show: true },
});
}
if (typeof decode_cauchy_jerasure != 'undefined') {
decode.push({
data: decode_cauchy_jerasure,
label: "Jerasure, Cauchy",
points: { show: true },
lines: { show: true },
});
}
$.plot("#decode", decode, {
xaxis: {
mode: "categories",
tickLength: 0
},
});
});