notes

radon, on real silicon, 2026-09-03: the first run off a board

Name: provisional. Dated like radon-2026-10-10.

An appendix to notes/soak.md. It holds the first soak this project ran anywhere but QEMU, the three-hour run, and the first census off a board. The number that matters is not the rate. It is the spread.

Two runs, twenty minutes apart

Both used the same card and the same build. Both booted hands-free by the boot script of milestone 218 (every boot of the VisionFive 2 needs a human typing four commands into U-Boot).

Run First beat Rate Crossings by beat 12
13:04 rounds=918313 183,662/s ~3,000
13:24 rounds=112960 22,592/s 47

Eightfold, and the machine was identical. The boot tour's own pure-compute check is the control. It ran 6,904,828 and 7,271,375 iterations in the first run, against 6,831,327 and 7,288,574 in the second, over the same fixed window, with 82 preemptions both times. Four cores were online both times, with the same firmware and the same timer. The CPU is not throttled. The workload's throughput changed, and the machine did not.

Milestone 221 (the soak never crosses cores, so build the hook that makes it) predicted the shape and understated it. Its BUGS records that the crossing count varies by more than 2x between identical runs, and names the boot-time placement lottery. This is 8x, and it is on rounds rather than on crossings.

Why placement is the suspected cause, and why that is still an inference

Twenty-four threads are placed across four cores at spawn: four groups of a responder, three callers, a grinder and a tick waiter. Nothing rebalances. That is the central finding of milestone 219 (the boot tour ends and the kernel halts, so there is nothing to soak), and a deliberate design, per DECISIONS 138 (how a saturated workload is made to hand threads across cores). A core that draws two grinders starves its IPC threads, because a grinder is pure compute and never yields. The soak prints six counters and does not print where a single thread is. That is why this stays a hypothesis, and why milestone 240 (the soak reports what happened and not where, so an eightfold difference cannot be explained) exists.

What this does to a published rate: a single run's figure is close to meaningless as a comparable number. Suppose the 13:04 run had been taken as "radon does 183,000 IPC round trips per second" and set beside seL4's. It would have been a lucky draw reported as a measurement. Any rate quoted from this instrument owes a distribution. And it independently reaches the conclusion how-long-to-run-it.md reaches from the literature: more starts beat longer running.

The three-hour run, and the first census off a board

There were two further runs on 2026-09-03 on the same card, the second carrying milestone 240's placement census. The afternoon's eightfold spread is now four runs rather than two, and the slow draw has been held for three hours.

Run Build Duration Rate Crossings/s Placement known
13:04 pre-census ~20 min 183,662/s ~50 no
13:24 pre-census 2 h 59 m 23,105/s 0.51 no
17:06 census running 188,687/s 186 yes

The slow draw is stable, not a warm-up. 13:24 ran 2 h 59 m and 246,868,985 rounds. Its rate moved from 22,592/s at the first beat to 23,105/s at the 2,137th. It never recovered, and it never degraded. refused=0 mismatch=0 stalled=0 held for the whole three hours, with wakerate pinned at 401/s throughout. So this is a throughput draw rather than a fault. The workload of milestone 219 (boot) was correct for three hours at an eighth of the speed it reaches on a lucky boot.

And a correlate arrived that is sharper than the placement hypothesis. crossings per second tracks the rate across all four runs, over two and a half orders of magnitude:

This inverts the naive expectation, and that is why it is worth writing down. A local rendezvous wake is the cheap one. DECISIONS 28.2 makes it local precisely because it avoids an IPI. A run whose groups sit on one core each should therefore be faster, and the slow run is the one that crossed least.

The reading that fits, stated as the inference it is: what co-location buys in wake cost, it can lose many times over in scheduling delay. A core holding a whole IPC group also holds whatever grinder landed there, and a grinder is pure compute that never yields. Spread groups cross cores on every exchange and pay an IPI for it, but their threads find a runnable core. That is milestone 240's block's hypothesis, with the sign of the effect corrected. The cost is grinder co-location rather than group crowding. 240's own four QEMU runs already pointed this way: the arrangement with two grinders on one core was the fastest of them, and the three-groups-on-one-core arrangement was the slowest.

What the census showed on the fast run

It differs from QEMU in a way nobody predicted. These blocks, and the reboot-loop lines quoted in rebooting-soak.md, are what radon printed on the evening they were taken, under the marker spelling of the day. Milestone 297 (soak becomes soak-test) renamed the prefix to soak-test-census: on 2026-09-14, and a log of that evening will never contain the new word:

soak-census: core=1 threads=5 C0 W1 C2 R3 W3
soak-census: core=2 threads=5 C0 C0 C1 C2 G3
soak-census: core=3 threads=7 R0 G0 R1 C1 R2 C3 C3
soak-census: core=4 threads=7 W0 C1 G1 C2 G2 W2 C3

Every group is split, and no core holds a whole one. The settled arrangement it converged to is the more interesting one, and it is not what the spawn census suggests:

soak-census: core=1 threads=7 C0 C1 W1 R2 C3 C3 W3
soak-census: core=2 threads=7 R0 C0 R1 C1 C2 C2 G3
soak-census: core=3 threads=6 C0 G0 C1 G1 G2 C3
soak-census: core=4 threads=4 W0 C2 W2 R3

Three of the four grinders end up on core 3, and core 4 holds four threads and no grinder at all.

That reads at first as a refutation of the grinder-co-location inference above. It is a correction to its wording rather than to its substance. Piling grinders together is the efficient arrangement: it spends one core on pure compute and leaves three for IPC. What starves a group is a grinder sharing a core with it, which is what spreading the grinders one per core would produce.

So the reading now makes a falsifiable prediction about the run nobody has seen. A 23,000/s boot should show the four grinders spread across four cores. If one does, the mechanism is confirmed. If a slow boot shows them piled, this reading is wrong and the cause is something else.

The arrangement converges once, early, and then locks in. Over the whole run there was exactly one drift event. The spawn arrangement held about 25 seconds. Then ten of the twenty non-waiter threads moved at once (drifted=10, at crossings=983), a replacement census printed, and drifted=0 held for the next 24 minutes. Under QEMU, milestone 240 measured nine to eleven threads leaving their spawn core within the first beat, and churning after it. Both machines converge, as DECISIONS 28.2's local wake implies. The difference is that on this silicon convergence is a single event with a settled arrangement on the far side. That makes the census a far stronger instrument here than the emulator predicted. A boot's arrangement is knowable about thirty seconds in, and then does not change.

An earlier draft of this section said drifted=0 held from the start, and that the spawn arrangement was the settled one. That was written from the first five minutes of beats, and the drift event is at about thirty seconds. The correction is recorded rather than patched over, because it changes what the instrument is for.

This is one census, on the fast side of the draw. The slow run predates the instrument, so the arrangement that produces 23,000/s has still never been seen. That is exactly what a series of boots is for. Until one has run, the grinder-co-location reading above is a hypothesis with one supporting observation and a plausible mechanism.

A smaller effect, inside one boot

Detaching script/board-console mid-run took the 13:04 boot from a steady 183,130/s to a steady 194,000/s, about 6%. It was the same boot, so placement was constant and the comparison is fair, unlike the eightfold figure above. It is recorded because a rate owes the regime it was measured in: whether a reader was draining the serial port is part of the measurement. Seen once, unconfirmed.