roadmap BUILT

134. The register of measures: every number this kernel owes itself

The register exists and holds the tier A and tier B measures below. It landed 2026-08-18 as notes/register-of-measures.md, with the test for what belongs in it and the three states a measure can be in, plus the unsafe census calef folded in and its count-at-most ceiling. Tier A (E1 through E4) ran 2026-08-22, and E4's own follow-up (a background load near E1's knee) ran 2026-08-23. E1, E3 and E4 were re-taken on radon on 2026-09-04: the small-cache board all three were designed against, where the dev Mac's large L1 had been muting them. Tier B remains gated on the counters of milestone 74 (cycle counters) and the silicon of milestone 127 (the seL4 machine), measure by measure as "What is built, and what is not" says.

Raised 2026-08-18 by calef, in one question: "So what data would enable us to make these decisions?" Both open kernel decisions ended in the same place, that the deciding number does not exist, and §96 (process kernel or event kernel) said the instrument "wants a roadmap block of its own". This is it.

E3's question is retired, by calef's ruling of 2026-10-20 (UTC). Milestone 796 (pin the hot trap path's placement) holds the hot path still, so no pad or shift moves a byte that is fetched. The footprint question milestone 188 (the IPC fastpath) leans on is the executed one, E5. "Follow-on" has the ruling.

The detail lives in two appendices, and this page is complete without them:

Why a register, and why two tiers

The first draft listed only the experiments runnable today, on the reasoning that a measure we cannot take is not yet useful. calef's correction, the same day: "I'm fine defining measures that we cannot capture until the hardware. I want to capture the measures as a milestone." He is right, and the reason is this tree's own ladder. A measure that exists only as an intention is at rung zero. Written down with its instrument and its blocker, the next person can find it and take it when the hardware arrives. Defining it costs an hour; rediscovering the need for it costs the milestone that goes without it.

So this is a register, not a work queue. Two tiers, defined to the same standard, and the tier is a property of the instrument rather than of the measure's importance. Several of the most valuable numbers here are in tier B.

What this block is not. It does not build the counters, which is milestone 74. It does not decide who may read them, which is milestone 75 (who may read the cycle counter, and by what authority). It does not run the cross-OS comparison, which is milestone 25 on milestone 127's silicon. It says what to measure and why, so those three have a customer.

What the two decisions are waiting on

Decision The claim it cannot check Why our instruments miss it
§95, an IPC fastpath 5.6 KiB of hot path costs something icount models no cache; nothing measures I-cache
§96, process against event kernel per-thread kernel stacks cost something every bench in the tree is two threads

The two share one root: every instrument here is a micro-benchmark, and both claims are about cache behavior under load. Warton's event-kernel result is the warning written out, at "generally within 1% on micro-benchmarks" and 20% on a multi-tasking workload.

The measures

Tier A is available today, on the dev machine under Hypervisor.framework. Tier B is gated on the counters, the silicon, or both: QEMU-TCG models no cache, no TLB and no cycle, and HVF passes through no PMU. measures.md defines each one.

Measure What it is What it settles Where it stands
E1 IPC latency against thread count whether per-thread stacks cost anything (§96) knee at 16 threads on radon
E2 thread census on the customer path whether §96 matters at all 4 new threads
E3 footprint perturbation: pad the fastpath, time it §95's premise, with no PMU retired by calef, 2026-10-20; E5 (milestone 708) asks it of executed code
E4 application displacement under IPC load Liedtke's claim, as lost throughput 5 to 8% at 96 threads on radon
M5 cycles per IPC round trip milestone 101 (the L4 calibration)'s ±1.5x; the seL4 comparison instrument on all three ISAs
M6 I-cache misses per IPC whether the footprint proxy is right no event counter yet
M7 D-cache misses in the stack region §96's cause, not its symptom no event counter yet
M8 TLB misses per IPC stack stride cost; the ASID claim no event counter yet
M9 per-phase cycles across one IPC where fastpath effort should go counter, no phase stamps
M10 lines of app working set one IPC evicts Liedtke's claim, directly needs silicon
M11 interrupt latency, observed and bounded the counterweight to §95 needs silicon
M12 M5 to M10 on seL4, same board an honest cross-OS ratio milestone 25 (cross-OS performance comparison)

E1's prediction, so it can be wrong: stacks 28 KiB apart, at 1 to 2 KiB touched per IPC, fill a 32 KB L1d at 16 to 32 threads, so the knee should be in the low tens. E1 must not run under icount, which models no caches and would report a flat line that looks like an answer. E3's power is asymmetric: a positive result on a large-cache machine is conclusive, and a negative one needs a small-cache board.

The correction this milestone makes to the decisions that raised it

§95 (an IPC fastpath) recommends holding the fastpath for "milestone 74's cycle counters on milestone 127's TX1". §96 recommends re-opening "when that number exists". Both read as though silicon were the blocker, and neither is true as stated. E1, E2 and E3 run on the existing dev machine, and E2 needs no new benchmark at all. The honest gate on both decisions is these experiments, not the hardware, and the hardware improves the answer rather than enabling it. The experiments that produce a verdict need no silicon; the PMU produces mechanism.

Recorded here rather than by editing those sections, because a recommendation that was wrong is worth more standing next to its correction than quietly fixed.

What is built, and what is not

build-record.md has each step in full.

Scope note

Instrumentation and measurement. No system call surface, no wire format, no dependency. It builds benchmarks and produces numbers; it decides nothing by itself, which is the point.

Sequencing: within tier A, E2, then E1, then E3, then E4. E2 first because it is nearly free and can retire §96 on its own; E4 last because it needs a design rather than a harness. Tier B is ordered by its blockers rather than by us. M5 goes the moment milestones 74 and 75 land, M6 through M9 as soon as there is silicon, M10 and M11 after, and M12 last because it needs the other kernel built and booted.

A tier B measure is not a promise to take it. Some may be answered by a tier A result, and a measure this register carries and nobody ever needs is a cheap thing to have been wrong about.

BUGS

Follow-on

Index row

Both open kernel decisions ended at the same place, that the deciding number does not exist. A register rather than a work queue, in two tiers defined to the same standard. A measure that exists only as an intention is at rung zero, and the tier is a property of the instrument rather than of the measure's importance. Tier A needs no silicon, which corrects §95 and §96 for over-gating on the TX1: a thread census that can retire §96 alone, IPC latency against thread count, and a footprint perturbation that tests Liedtke with no PMU. The latency run carries a falsifiable prediction: stacks 28 KiB apart fill a 32 KB L1d at 16 to 32 threads, so the knee should be in the low tens. It must not run under icount, which would report a flat line that looks like an answer. Tier B is cycles, I-cache, D-cache attributed to the stack region, TLB, per-phase attribution that could refute the fastpath premise, application working-set displacement, and interrupt latency as the counterweight nobody has priced. BUILT 2026-10-20: the register (notes/register-of-measures.md) carries the unsafe census and its count-at-most ceiling. Tier A is read on radon: E1's knee at 16 threads, E4's 5 to 8% under 96-thread load, 4 new threads at the customer-path topology. E3's question is retired by calef in favor of E5, milestone 708. Tier B stays owed on milestone 74's counters and milestone 127's silicon