Do a bunch of benchmarking and update ceph-benchmarking section

This commit is contained in:
lol3rrr
2026-02-21 15:53:19 +01:00
parent b09c8f455c
commit e11bfdc559
18 changed files with 8430 additions and 7 deletions

View File

@@ -18,4 +18,6 @@
}
});
</script>
<script src="/js/chart.min.js"></script>
{% endblock %}

View File

@@ -0,0 +1,4 @@
<details>
<summary>{{ summary }}</summary>
{{ body | markdown() }}
</details>

View File

@@ -0,0 +1,103 @@
{% set data = load_data(path=path, format="json") -%}
<canvas id="fio-{{ nth }}-iops"></canvas>
<canvas id="fio-{{ nth }}-bw"></canvas>
<script>
{
const data = {{ data | json_encode() }};
new Chart(document.getElementById('fio-{{ nth }}-iops'), {
type: 'bar',
data: {
labels: data.labels,
datasets: data.iodepths.map((depth_run) => {
return {
label: "IO-Depth " + depth_run.iodepth,
data: depth_run.iops
};
})
},
options: {
scales: {
y: {
title: {
display: true,
text: "IOPS"
},
beginAtZero: true,
ticks: {
// Callback to format SI units
callback: function(value, index, ticks) {
if (value >= 1000000) {
return (value / 1000000) + 'M';
} else if (value >= 1000) {
return (value / 1000) + 'k';
}
return value;
}
}
},
x: {
title: {
display: true,
text: "Block Size"
}
}
},
plugins: {
title: {
display: true,
text: "IOPS"
}
}
}
});
new Chart(document.getElementById('fio-{{ nth }}-bw'), {
type: 'bar',
data: {
labels: data.labels,
datasets: data.iodepths.map((depth_run) => {
return {
label: "IO-Depth " + depth_run.iodepth,
data: depth_run.bw
};
})
},
options: {
scales: {
y: {
title: {
display: true,
text: "Throughput"
},
beginAtZero: true,
ticks: {
// Callback to format SI units
callback: function(value, index, ticks) {
if (value >= 1000000000) {
return (value / 1000000000) + 'GB/s';
} else if (value >= 1000000) {
return (value / 1000000) + 'MB/s';
} else if (value >= 1000) {
return (value / 1000) + 'kB/s';
}
return value;
}
}
},
x: {
title: {
display: true,
text: "Block Size"
}
}
},
plugins: {
title: {
display: true,
text: "Throughput"
}
}
}
});
}
</script>

View File

@@ -1,3 +1,3 @@
<pre class="mermaid">
{{ body }}
{{ body }}
</pre>