roadmap PARTIAL

25. Cross-OS performance comparison (extends 21)

Everything but sel4bench is done, and sel4bench times single operations through a PMU cycle counter that neither QEMU-TCG nor HVF provides. The hardware is no longer 16a's board: milestone 127 bought the machine under the only published aarch64 seL4 numbers (a sealed TX1 kit, 2026-08-15, arriving ~08-19 to -26). So this gate now counts down in shipping days rather than waiting on a decision. Milestone 74 is the driver that reads that counter, and 74's block states the dependency this one does not.

In brief. EL0-measured primitive benchmarks (system call, context switch, IPC, map, spawn) the lmbench way, so the numbers include the trap the kernel-side benchmarks skip. Then line them up against lmbench (Linux, macOS guests) and sel4bench (seL4), at a matched virtualization tier, with release builds. Fold in the icount codegen-sensitivity fix.

Why it matters. turns perf claims into cross-OS numbers: where does a Rust capability microkernel stand next to Linux, macOS's XNU, and seL4 on the primitives that define an OS. Largely done: four EL0 primitives (null system call, context switch, IPC, page map) on both instruments, and a release build path. Also the three-way comparison (nife vs Linux-under-HVF vs native macOS) with nife winning null/IPC ~5x. spawn landed too. Its real prerequisite was never retype, which had already shipped, but object revocation: reclaiming a child's TCB/aspace/endpoint so a spawn loop can repeat. That shipped as its own milestone (notes/object-revocation.md). The EL0 lat_proc bench, spawn_el0, is in the suite and the committed baseline. Remaining: only sel4bench. It is built and booting for qemu-arm-virt, but it times single ops via the PMU cycle counter, which neither QEMU-TCG nor Apple HVF provides. So it is deferred to real hardware, the milestone-16 machine, which has a real PMU. (This validates our CNTVCT + long-loop design). notes/benchmarks.md

This milestone's own suite is entirely single-operation primitives, the same shape DECISIONS §96 means by "micro-benchmark." Milestone 168 was minted from §96's own text noting this milestone "has the same hole": a real multi-tasking workload, which is what would actually reveal a process-kernel-vs-event-kernel difference. Not this milestone's own scope, recorded here so the gap has one home rather than two.

Follow-on

Index row

turns perf claims into cross-OS numbers