Skip to content

Commit 7dce4d2

Browse files
committed
Merge tag '25.3-PRE'
2 parents 5322fc6 + e2e84bc commit 7dce4d2

File tree

290 files changed

+548958
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+548958
-0
lines changed

deployment/25.3-PRE/404.html

+4,303
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/automatic-rebalancing/index.html

+4,425
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/disaggregated/index.html

+4,430
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/erasure-coding/index.html

+4,430
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/hyper-converged/index.html

+4,430
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/index.html

+4,418
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/logical-volumes/index.html

+4,428
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/persistent-volumes/index.html

+4,430
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/simplyblock-cluster/index.html

+4,572
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/snapshots-clones/index.html

+4,520
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/concepts/storage-pooling/index.html

+4,429
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/high-availability-fault-tolerance/index.html

+4,611
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/index.html

+4,418
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/simplyblock-architecture/index.html

+4,720
Large diffs are not rendered by default.

deployment/25.3-PRE/architecture/what-is-simplyblock/index.html

+4,539
Large diffs are not rendered by default.
1.83 KB

deployment/25.3-PRE/assets/javascripts/bundle.f1b6f286.min.js

+16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deployment/25.3-PRE/assets/javascripts/bundle.f1b6f286.min.js.map

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
document.addEventListener("DOMContentLoaded", function() {
2+
const elNumCores = document.getElementById("cpuc-cores");
3+
const elCoresWrapper = document.getElementById("cpuc-cores-wrapper");
4+
const elResult = document.getElementById("cpuc-result");
5+
if (!elNumCores) return;
6+
7+
function clear_cpu_cores_wrapper() {
8+
elCoresWrapper.innerHtml = '';
9+
}
10+
11+
function calculate_cpu_mask() {
12+
const numCores = elNumCores.value;
13+
const cores = [...elCoresWrapper.querySelectorAll("input[type=checkbox]")].map(checkbox => {
14+
return checkbox.checked ? 1 : 0
15+
});
16+
17+
let cpumask = 0;
18+
for (let i = 0; i < cores.length; i++) {
19+
if (cores[i] === 0) continue;
20+
cpumask |= cores[i] << i;
21+
}
22+
const hex = long2hex(cpumask);
23+
elResult.innerText = `0x${hex.toUpperCase()}`;
24+
}
25+
26+
function pad0(num, width) {
27+
let zeros;
28+
for (let i = 0; i < width; i++) {
29+
zeros += "0";
30+
}
31+
return (zeros + num).substr(-width);
32+
}
33+
34+
function long2hex(num) {
35+
return (pad0((num >>> 24).toString(16), 2) +
36+
pad0((num >> 16 & 255).toString(16), 2) +
37+
pad0((num >> 8 & 255).toString(16), 2) +
38+
pad0((num & 255).toString(16), 2));
39+
}
40+
41+
function render_checkboxes() {
42+
const value = parseInt(elNumCores.value);
43+
if (value < 0) value = 0;
44+
if (value > 64) value = 64;
45+
46+
clear_cpu_cores_wrapper();
47+
48+
const elements = [];
49+
for (let i = 0; i < value; i++) {
50+
const disabled = i === 0 ? "disabled" : "";
51+
elements.push(`<div style="display: flex; align-items: center;"><input ${disabled} type="checkbox" id="core-${i}" style="width: 30px;"/><label for="core-${i}">Core ${i}</label></div>`);
52+
}
53+
54+
elCoresWrapper.innerHTML = elements.join("");
55+
elCoresWrapper.querySelectorAll("input[type=checkbox]").forEach(element => {
56+
element.addEventListener("click", function() {
57+
calculate_cpu_mask();
58+
});
59+
});
60+
}
61+
62+
elNumCores.addEventListener("input", render_checkboxes);
63+
64+
render_checkboxes();
65+
});

deployment/25.3-PRE/assets/javascripts/glightbox.min.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
document.addEventListener("DOMContentLoaded", function() {
2+
const elNumDisks = document.getElementById("hpc-num-disks");
3+
const elMaxProvStorage = document.getElementById("hpc-max-prov-storage");
4+
const elNumLVols = document.getElementById("hpc-num-lvols");
5+
const elNumCPUs = document.getElementById("hpc-num-cpus");
6+
const elCalcResult = document.getElementById("hpc-calc-result");
7+
8+
if (!elNumDisks) return;
9+
10+
function calculate_huge_pages() {
11+
const numDisks = parseInt(elNumDisks.value);
12+
const maxProvStorage = parseInt(elMaxProvStorage.value);
13+
const numLVols = parseInt(elNumLVols.value);
14+
const numCPUs = parseInt(elNumCPUs.value);
15+
const numDistWorkers = 4;
16+
17+
const baseVal1 = 8;
18+
const baseVal2 = 128;
19+
20+
const val1 = Math.max(numCPUs, numDistWorkers + numDisks + 4);
21+
const val2 = val1 + 384;
22+
23+
const jm = 256 * baseVal1 + 32 * baseVal2 * 3;
24+
const raid = 256 * baseVal1 + 32 * baseVal2 * 2;
25+
const alceml = 256 * baseVal1 + 32 * baseVal2 * numDisks;
26+
const distrib = 256 * baseVal1 + 32 * baseVal2 * numDistWorkers;
27+
const scm = 256 * baseVal1 + 32 * baseVal2 * 1;
28+
const subsys = 127 * val2 * baseVal1 + 15 * val2 * baseVal2 * 1;
29+
const target = 128 * val1 * baseVal1 + 16 * val1 * baseVal2 * 1;
30+
const crypto = 384 * baseVal1 + 48 * baseVal2 * numCPUs;
31+
const other_cpu = 1024 * numCPUs * 4;
32+
const max_prov = 250000 * maxProvStorage * 1.1;
33+
const lvol = 1024 * numLVols * 7;
34+
const sum = jm + raid + alceml + distrib + scm + subsys + target + crypto + other_cpu + max_prov + lvol;
35+
36+
const huge_pages_mem = sum * 1.5;
37+
const huge_pages_num = Math.floor(huge_pages_mem / 2000) + (huge_pages_mem % 2000 === 0 ? 0 : 1);
38+
39+
elCalcResult.innerText = huge_pages_num;
40+
}
41+
42+
elNumDisks.addEventListener("input", function() {
43+
calculate_huge_pages();
44+
});
45+
46+
elMaxProvStorage.addEventListener("input", function() {
47+
calculate_huge_pages();
48+
});
49+
50+
elNumLVols.addEventListener("input", function() {
51+
calculate_huge_pages();
52+
});
53+
54+
elNumCPUs.addEventListener("input", function() {
55+
calculate_huge_pages();
56+
});
57+
58+
elNumDistWorkers.addEventListener("input", function() {
59+
calculate_huge_pages();
60+
});
61+
62+
calculate_huge_pages();
63+
});

deployment/25.3-PRE/assets/javascripts/lunr/min/lunr.ar.min.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deployment/25.3-PRE/assets/javascripts/lunr/min/lunr.da.min.js

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

deployment/25.3-PRE/assets/javascripts/lunr/min/lunr.de.min.js

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)