notes

The reference operating-system columns for the cross-OS benchmark suite

Name: provisional, minted 2026-10-30 (UTC) by bench/cross-os-reference-columns. calef names notes.

What this page is

The cross-OS suite sets nife's numbers beside the same program's numbers from other operating systems, on the same machine, with the same versions and flags. When nife's ports land (milestones 826, 827, 828, 829, 831, 832, 833 and 834), each row holds its program's method. This page holds what no row holds: the reference operating systems, the record list every row carries, the machine assignment, and the controls-first rule. It links the rows rather than restating their method sections, so the copies cannot drift. nife's column lives in benchmarks.md; bench-runbook.md holds how an evening runs.

The suite

program what it isolates nife row runs on
coremark pure compute; the control that must tie the EL0 row, benchmarks.md every unix, both boards
STREAM, Copy, Scale, Add, Triad memory bandwidth, zero system calls; the second control 832 every unix, both boards
lmbench: lat_system_call null, lat_ctx, lat_pipe, lat_proc exec, bw_mem, lat_mem_rd risk 4's per-crossing cost: trap, switch, pipe, fault, cache latency 826 every unix
lmbench: lat_proc fork what process creation costs a Unix recorded-not-run, decision 264 every unix; the recorded absence beside the spawn caveat (benchmarks.md) is the comparison
hackbench scheduler and socket pressure under load 827 every unix; source where not packaged
sqlite speedtest1 a real workload, stranger-credible 831 source or package everywhere
fio: one job file, randread/randwrite/read/write, 4 KiB and 128 KiB, queue depths 1, 4, 32, direct, JSON, per-I/O histograms risk 6, the confined-driver verdict 833 xenon only; Linux also runs SPDK's spdk_nvme_perf
ioping queue-depth-1 latency 834 everywhere
iperf3 NIC and stack goodput 828 needs a wire
netperf, TCP_RR and UDP_RR fixed cost per round trip: driver, stack, client 829 needs a wire
sel4bench the seL4 column 25 nife-side; waits on a silicon PMU, not a unix row

Controls first

coremark and STREAM make no system calls, so on the same silicon they must tie across operating systems. Take them first on every fresh install. A disagreement indicts the rig, not the operating system: the governor, the turbo state, the memory population or the mitigations moved between installs. A tie on both controls makes the later rows evidence about the operating system.

What every row records

A reference row reports every pass it ran, never its best. fio, iperf3 and netperf take three passes on the unix side; the row records all three and the spread. nife's rows keep their own milestones' protocols, and every row names its protocol, so the two never mix silently. Risk 6 holds the reason: its Linux read figure varied 16% across boots on one pass per boot, transcribed by hand. The unix rows measure that variance on purpose.

The reference operating systems

As ruled 2026-10-30 (calef); statuses come from the named external pages, read 2026-10-30, and no install on this bench has proven any yet.

The driver lineage

nife's GMAC driver adapts OpenBSD's dwqe (0053, 0940), and the e1000e crate ports FreeBSD's em (0815). OpenBSD on radon and FreeBSD on xenon therefore run those reference implementations, on the same silicon: the strongest form of the confined-driver comparison.

Machine assignment

The bench reimages both machines per experiment, so no install coexists with another. calef, 2026-10-30 (UTC): "We spin up and tear down xenon constantly. It is a lab machine."

xenon evenings need no wire: Debian 13 amd64 and one or both BSDs, taking every non-network row of the table above; the Debian side adds SPDK's spdk_nvme_perf beside fio. Network rows wait on a wired port.

radon evenings take Debian 13 riscv64 and one BSD card: the same CPU and memory rows, plus iperf3 and netperf against a peer on the same wire, cable in gmac0, the port nife's GMAC driver drives. radon cannot reboot itself; every OS switch is a manual power cycle, so one Linux plus one BSD bounds the cost.

fio on radon would measure an SD card, not risk 6's instrument: milestone 833 (the same storage benchmark)'s machine_requirements name x86_64 silicon with VT-d and an NVMe, xenon the specific machine.

Scope notes

Milestone 830 (wakeup latency) reads each kernel's own scheduler trace; a BSD-side trace reader is a design question, so 830 stays nife-plus-Linux for now. This page records that scope because a lane edits only its own roadmap block.

EXAMPLES

# iperf3, milestone 828
iperf3 -c <peer> -t 30 -P 1
iperf3 -c <peer> -t 30 -P 1 -R
iperf3 -c <peer> -t 30 -P 4
iperf3 -c <peer> -t 30 -u -b     # UDP; -R reverses

# netperf, milestone 829
netperf -H <peer> -t TCP_RR -l 30 -- -r 1,1
netperf -H <peer> -t UDP_RR -l 30 -- -r 1,1

# lmbench, milestone 826
lat_system_call -P 1 -W 1 -N 5 null

Every lmbench program takes the same three flags. The fio job file is 833's deliverable, which nothing here pins.

BUGS