ceph/qa/workunits/erasure-code/plot.js
Loic Dachary 28f0230c12 erasure-code: bench.sh compares isa & jerasure, vandermonde & cauchy
ISA and Jerasure can be compared for the default stripe width (4KB) and
the two most commonly used Reed Solomon matrices. Comparing the
bandwidth for large chunks (1MB) is not relevant because it is not
commonly used.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-05-12 14:58:23 +02:00

81 lines
1.7 KiB
JavaScript

$(function() {
$.plot("#encode", [
{
data: encode_vandermonde_isa,
label: "ISA, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: encode_vandermonde_jerasure_generic,
label: "Jerasure Generic, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: encode_vandermonde_jerasure_sse4,
label: "Jerasure SIMD, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: encode_cauchy_isa,
label: "ISA, Cauchy",
points: { show: true },
lines: { show: true },
},
{
data: encode_cauchy_jerasure_generic,
label: "Jerasure, Cauchy",
points: { show: true },
lines: { show: true },
},
], {
xaxis: {
mode: "categories",
tickLength: 0
},
}
);
$.plot("#decode", [
{
data: decode_vandermonde_isa,
label: "ISA, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: decode_vandermonde_jerasure_generic,
label: "Jerasure Generic, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: decode_vandermonde_jerasure_sse4,
label: "Jerasure SIMD, Vandermonde",
points: { show: true },
lines: { show: true },
},
{
data: decode_cauchy_isa,
label: "ISA, Cauchy",
points: { show: true },
lines: { show: true },
},
{
data: decode_cauchy_jerasure_generic,
label: "Jerasure, Cauchy",
points: { show: true },
lines: { show: true },
},
], {
xaxis: {
mode: "categories",
tickLength: 0
},
}
);
});