Knotrel Performance

ENGINE COMPARISON / ONE BUILD / NOT A RELEASE COMPARISON

cluster-forest compared with compact-bfs, ETT, HDT

Connectivity engines measured on the same Knotrel build (candidate 02cba68), on the same host and inputs. This page compares engines, not one release with another. Results hold only for the workloads, sizes, host and build measured.

Limitation. Host swap activity not verifiable; results accepted by the maintainer with this limitation. Swap occupancy was 738.25 MB at the start and at all 30 snapshots, and 722.25 MB at the end; the 192 zero values of the per-process swap counter concern only the V1 processes observed.

Decision. compact-bfs stays the default engine; cluster-forest is opt-in and experimental.

Full campaign report · Analysis and checksums

Results by workload family

A median ratio below 1× favours cluster-forest: cluster-forest over the reference for times and tails, the reference over cluster-forest for throughput. Core and end-to-end results are kept apart.

Family statements as computed by the analyzer, with the classes of every metric of the family's cells and the range of their median paired ratio (timed metrics only).
Family, workload, sizes (vertices)vs compact-bfsvs ETTvs HDT
dense-bridge-churn-v1
Two cliques, one bridge toggled. Sizes: 512, 2 048. Scope: core.
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.0384× to 0.0389×
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.0025× to 0.00343×
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.32× to 0.431×
redundant-bridge-churn-v1
Two cliques, two bridges toggled independently. Sizes: 512, 2 048. Scope: core.
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.039× to 0.0425×
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.00408× to 0.00607×
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.326× to 0.473×
components-join-split-v1
Two paths joined and split by a seeded bridge. Sizes: 10 000, 100 000. Scope: core.
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.396× to 0.426×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 10.4× to 48×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 9.69× to 9.87×
hub-alternatives-v1
Star plus a leaf path; a leaf is isolated and restored. Sizes: 10 000, 100 000. Scope: core.
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.00462× to 0.0293×
insufficient evidence
1 SLOWER, 1 TIMER_LIMITED (2 cells: K1)
median ratio 1.33× to 1.35×
insufficient evidence
2 TIMER_LIMITED (2 cells: K1)
median ratio 1.19× to 1.23×
sustained-churn-blocks-v1
16-vertex cycles joined by bridges, persistent toggling. Sizes: 10 000, 100 000. Scope: core.
prefer reference
2 SLOWER (2 cells: K1)
median ratio 11.8× to 19×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 13.7× to 28.4×
prefer cluster-forest
2 FASTER (2 cells: K1)
median ratio 0.374× to 0.679×
chain-split-rejoin-v1
Path; a seeded bridge is cut and relinked. Sizes: 10 000, 100 000. Scope: core.
prefer reference
2 SLOWER (2 cells: K1)
median ratio 2.38× to 2.81×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 58.7× to 330×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 56.7× to 78.9×
cycle-alternatives-v1
Ring; cuts with and without an alternative path. Sizes: 10 000, 100 000. Scope: core.
prefer reference
2 SLOWER (2 cells: K1)
median ratio 1.92× to 2.06×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 37× to 202×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 1.38× to 2.28×
sustained-churn-path-v1
Path edges toggled persistently, with queries. Sizes: 10 000, 100 000. Scope: core.
prefer reference
2 SLOWER (2 cells: K1)
median ratio 16.4× to 25.5×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 18.7× to 68.8×
prefer reference
2 SLOWER (2 cells: K1)
median ratio 17.4× to 28.3×
K2-d4
Staged random inserts and deletes, E = 2V, with construction (K3) and memory (K4). Sizes: 10 000, 100 000, 1 000 000. Scope: core.
mixed results
3 FASTER, 12 LARGER, 6 SLOWER (9 cells: K2, K3, K4)
median ratio 0.000183× to 60.4×
mixed results
2 EQUIVALENT, 3 FASTER, 3 SIMILAR, 4 SLOWER, 9 SMALLER (9 cells: K2, K3, K4)
median ratio 0.568× to 3.08×
mixed results
2 EQUIVALENT, 5 FASTER, 1 INCONCLUSIVE, 1 SLOWER, 12 SMALLER (9 cells: K2, K3, K4)
median ratio 0.443× to 1.22×
K2-d16
Staged random inserts and deletes, E = 8V, with construction (K3) and memory (K4). Sizes: 10 000, 100 000, 1 000 000. Scope: core.
mixed results
3 FASTER, 12 LARGER, 6 SLOWER (9 cells: K2, K3, K4)
median ratio 0.000204× to 30.2×
mixed results
4 FASTER, 2 SIMILAR, 5 SLOWER, 10 SMALLER (9 cells: K2, K3, K4)
median ratio 0.548× to 2.71×
mixed results
1 EQUIVALENT, 6 FASTER, 2 SLOWER, 12 SMALLER (9 cells: K2, K3, K4)
median ratio 0.45× to 1.26×
K2x
Random simple graph, E = 3V, inserts, queries and deletes (exploratory provenance). Sizes: 16 384, 131 072, 1 048 576. Scope: core.
prefer reference
6 SLOWER (3 cells: K2x)
median ratio 3.01× to 141×
mixed results
3 FASTER, 3 SLOWER (3 cells: K2x)
median ratio 0.621× to 3.87×
insufficient evidence
1 EQUIVALENT, 4 FASTER, 1 INCONCLUSIVE (3 cells: K2x)
median ratio 0.47× to 0.993×
K3-families
Construction from the six sparse K1 family graphs at 100 000 vertices. Sizes: 100 000. Scope: core.
prefer reference
6 SLOWER (6 cells: K3)
median ratio 7.87× to 10.3×
prefer cluster-forest
6 FASTER (6 cells: K3)
median ratio 0.303× to 0.393×
prefer cluster-forest
6 FASTER (6 cells: K3)
median ratio 0.288× to 0.367×
L
Node and edge lifecycle: L1 lifecycle window, L3 import and churn, L4 memory. Sizes: see report. Scope: core.
mixed results
3 FASTER, 1 INCONCLUSIVE, 19 LARGER, 1 SIMILAR, 18 SLOWER (32 cells: L1, L3, L4)
median ratio 0.0109× to 32.5×
not comparednot compared
S1-lifecycle-off
HTTP server, mixed read and write traffic, lifecycle off. Sizes: see report. Scope: end-to-end.
prefer cluster-forest
8 FASTER (4 cells: S1)
median ratio 0.00439× to 0.418×
isolated differences
6 EQUIVALENT, 2 SLOWER (4 cells: S1)
median ratio 0.891× to 1.34×
isolated differences
6 EQUIVALENT, 2 SLOWER (4 cells: S1)
median ratio 0.9× to 1.3×
S1-lifecycle-on
HTTP server, mixed read and write traffic, lifecycle on. Sizes: see report. Scope: end-to-end.
prefer cluster-forest
4 FASTER (2 cells: S1)
median ratio 0.00856× to 0.0196×
not comparednot compared

"Not compared": that reference has no cell in the family; ETT and HDT have no lifecycle support, so the lifecycle families are compared with compact-bfs only.

Lifecycle memory rules (L2)

Sustained lifecycle churn on cluster-forest, checked by the C rules: C1 engine vertices, C2 exact logical counts, C3 heap growth (late/early at most 1.25 and projected 30-cycle growth at most 10 %), C4 RSS growth with the same rules, as a disclosure.

C3 FAIL (2)

The growth figures are projected from the slope of the heap curve to 30 cycles, not measured growth.

C3 FAIL runs: the class stays FAIL.
RunWorkloadGraphNodesMetricLate / earlyProjected 30-cycle growthFirst → last
C-heap-lifecycle-cluster-forest-sparse-same-1000reuse samesparse1 000net_heap_bytes1.133+20.2 % (projected from the slope)558 512 → 650 736 B
C-heap-lifecycle-cluster-forest-sparse-toggle-1000togglesparse1 000net_heap_bytes1.146+14.6 % (projected from the slope)558 512 → 656 824 B

Disposition. The two C3 FAILs are accepted by the maintainer as a documented limitation of the cluster-forest lifecycle on the sparse 1 000-node graph; their class stays FAIL and memory stability for those two workloads stays open.

C4 EXCEEDS_BUDGET (9)

A disclosure category (allocator retention in RSS), never converted into PASS or FAIL.

C4 EXCEEDS_BUDGET runs, disclosed with their numbers.
RunWorkloadGraphNodesMetricLate / earlyProjected 30-cycle growthFirst → last
C-rss-lifecycle-cluster-forest-sparse-fresh-1000freshsparse1 000net_rss_bytes1.688+116.0 % (projected from the slope)589 824 → 1 327 104 B
C-rss-lifecycle-cluster-forest-sparse-same-1000reuse samesparse1 000net_rss_bytes1.150+31.5 % (projected from the slope)589 824 → 753 664 B
C-rss-lifecycle-cluster-forest-sparse-toggle-1000togglesparse1 000net_rss_bytes1.154+17.5 % (projected from the slope)606 208 → 737 280 B
C-rss-lifecycle-cluster-forest-sparse-fresh-10000freshsparse10 000net_rss_bytes2.270+209.9 % (projected from the slope)3 342 336 → 9 519 104 B
C-rss-lifecycle-cluster-forest-sparse-fresh-100000freshsparse100 000net_rss_bytes2.657+307.4 % (projected from the slope)18 759 680 → 104 398 848 B
C-rss-lifecycle-cluster-forest-sparse-same-100000reuse samesparse100 000net_rss_bytes1.021+32.0 % (projected from the slope)24 657 920 → 34 570 240 B
C-rss-lifecycle-cluster-forest-ring-fresh-100000freshring100 000net_rss_bytes3.016+293.4 % (projected from the slope)29 196 288 → 111 132 672 B
C-rss-lifecycle-cluster-forest-hub-fresh-100000freshhub100 000net_rss_bytes2.479+255.4 % (projected from the slope)27 181 056 → 102 957 056 B
C-rss-lifecycle-cluster-forest-hub-same-100000reuse samehub100 000net_rss_bytes1.061+67.5 % (projected from the slope)13 598 720 → 25 116 672 B

Class counts per block

Every metric class of the engine blocks, as computed.
BlockReferenceClasses
K1vs compact-bfs8 FASTER, 8 SLOWER
K1vs ETT4 FASTER, 11 SLOWER, 1 TIMER_LIMITED
K1vs HDT6 FASTER, 8 SLOWER, 2 TIMER_LIMITED
K2vs compact-bfs6 FASTER, 6 SLOWER
K2vs ETT2 EQUIVALENT, 1 FASTER, 9 SLOWER
K2vs HDT3 EQUIVALENT, 5 FASTER, 1 INCONCLUSIVE, 3 SLOWER
K2xvs compact-bfs6 SLOWER
K2xvs ETT3 FASTER, 3 SLOWER
K2xvs HDT1 EQUIVALENT, 4 FASTER, 1 INCONCLUSIVE
K3vs compact-bfs12 SLOWER
K3vs ETT12 FASTER
K3vs HDT12 FASTER
K4vs compact-bfs24 LARGER
K4vs ETT5 SIMILAR, 19 SMALLER
K4vs HDT24 SMALLER
L1vs compact-bfs3 FASTER, 8 SLOWER
L3vs compact-bfs1 INCONCLUSIVE, 10 SLOWER
L4vs compact-bfs19 LARGER, 1 SIMILAR
S1vs compact-bfs12 FASTER
S1vs ETT6 EQUIVALENT, 2 SLOWER
S1vs HDT6 EQUIVALENT, 2 SLOWER

Method and perimeter

Reading this page

prefer cluster-forest
the family favours cluster-forest
prefer reference
the family favours the reference engine
mixed results
classes point in different directions
insufficient evidence
a non-conclusive cell (INCONCLUSIVE or TIMER_LIMITED) prevents a statement
no difference beyond the margins
every class is within the margins
isolated differences
within the margins except a few cells
FASTER
cluster-forest faster beyond the margin
SLOWER
cluster-forest slower beyond the margin
EQUIVALENT
difference within the margin
INCONCLUSIVE
interval too wide to decide
TIMER_LIMITED
difference not resolvable at the measurement limit; not counted
SMALLER
cluster-forest uses less memory (deterministic count)
LARGER
cluster-forest uses more memory (deterministic count)
SIMILAR
memory within the margin