Five job-mix boots on radon, 2026-10-04
The bench evening notes/job-mix.md asks for in "The next bench evening on
radon", read in its step 6 order and judged against its step 7 table. It is the first silicon run of
the 2026-09-19 instrument: seven job kinds, each point the median of 21 repeats.
The run
- radon (VisionFive 2, four online harts,
rdtimeat 4 MHz), five boots, power-cycled between boots by calef at the bench. - Image from
04a8f9e6conmain, built once withscript/board-image --job-mix --tftpand netbooted from patagonia. The kernel measured the archive before the sweep, so each boot was sealed. - Every boot printed
one of 7 kindsandmedian of 21 repeats, six points, andjob-mix: done. NoFAILEDline appeared, so 32 tasks fit in radon's memory. - Transcripts:
bench/radon-2026-10-04/jobmix-boot1.logtoboot5.log, cleaned with the step 5trfilter. Each raw capture held 14 bytes outside printable ASCII, all in U-Boot's output before the kernel ran.
A correction to the brief this lane was given. It said boot 1 had no tasks=1 line. All five raw
captures have one, found with plain grep -a and with LC_ALL=C, and the five raw files are
byte-identical to the backup copy. So boot 1 is complete and is counted here.
1. Is every point a number?
jpm_median per boot, and the spread between boots as (max - min) / min, the definition milestone
168's 2026-09-16 table used.
| tasks | boot 1 | boot 2 | boot 3 | boot 4 | boot 5 | median | spread | over 1 task |
|---|---|---|---|---|---|---|---|---|
| 1 | 323,972 | 324,033 | 323,951 | 323,995 | 323,972 | 323,972 | 0.03% | 1.00x |
| 2 | 567,826 | 568,352 | 569,300 | 568,578 | 569,036 | 568,578 | 0.26% | 1.76x |
| 4 | 845,791 | 844,124 | 853,611 | 848,794 | 851,205 | 848,794 | 1.12% | 2.62x |
| 8 | 876,087 | 880,068 | 876,637 | 889,101 | 874,497 | 876,637 | 1.67% | 2.71x |
| 16 | 895,000 | 891,421 | 893,887 | 888,042 | 897,651 | 893,887 | 1.08% | 2.76x |
| 32 | 899,399 | 900,576 | 897,375 | 901,122 | 899,095 | 899,399 | 0.42% | 2.78x |
Yes, at every point. The bar was under 10%. The widest point is tasks=8 at 1.67%, and tasks=4
is 1.12% against 29.4% on 2026-09-16 and a resampling prediction of about 4%. Boot 1 sits closest
to the five-boot median at every point, so it is the representative boot for step 8.
The 2026-09-16 page predicted, before any new boot, that the median would read about 1.73x at two tasks where the best of three had read 1.96x. It read 1.76x. That is the statistic being honest about the old figure, as predicted, not the kernel getting slower.
2. Outlier boots
ticks_max over ticks_median, per boot, in percent.
| tasks | boot 1 | boot 2 | boot 3 | boot 4 | boot 5 |
|---|---|---|---|---|---|
| 1 | 3.8 | 13.2 | 3.8 | 4.4 | 1.2 |
| 2 | 0.8 | 1.1 | 0.5 | 0.4 | 0.5 |
| 4 | 4.0 | 1.9 | 3.9 | 5.4 | 4.0 |
| 8 | 4.5 | 4.5 | 3.2 | 4.8 | 2.5 |
| 16 | 2.3 | 1.1 | 3.0 | 2.2 | 2.5 |
| 32 | 1.3 | 0.6 | 1.3 | 1.1 | 1.3 |
No boot is an outlier. The one large figure, boot 2's 13.2% at one task, is a single repeat: repeat 0 read 107,300 ticks against about 94,800 for the other twenty. Every boot's repeat 0 at one task is its slowest (95,967 to 107,300), which is a cold first pass rather than placement. The median discards it, which is what the median was for.
The census moved and the numbers did not. Boots 1 to 3 placed all 34 threads identically at spawn.
Boot 4 had 6/9/9/10 threads a core against 7/8/9/10. Boot 5 differed most: core 2 held three of the
first five tasks and the second server shared core 4 with task 0. Boot 5 is within 0.6% of the
median at every point. So the placement effect notes/soak.md measured at up to fifteenfold did not
appear here. One caution: the census is placement at spawn, and the kernel steals work between
cores, so it is not where a task ran during a subrun. In every boot the first four tasks were
spawned onto three cores.
3. The shape
From the medians: 1.76x at two tasks, 2.62x at four, then 2.71x, 2.76x and 2.78x at 8, 16 and 32. It stops rising steeply at four, the core count, and keeps creeping upward through 32. Nothing past the knee declines, on any boot. The 2026-09-16 shape (up to about four, then flat through 32) held under the new statistic and the heavier mix.
Two readings of the number at four, so neither is taken for the other. 2.62x on four harts is 65%
of linear. Part of that is the instrument's own design: two echo servers serve every task's
round_trip job, so four tasks contend 2:1 for the first time. Part may be placement, since four
tasks were spawned onto three cores.
4. Which kinds pay
per_job in 4 MHz ticks, the median of the five boots, and its ratio at 32 tasks over 1. The ratio
was within 0.1 of these on every boot except yield (54.6x to 58.7x).
| kind | 1 | 2 | 4 | 8 | 16 | 32 | 32 / 1 |
|---|---|---|---|---|---|---|---|
| compute | 2,409 | 2,454 | 2,558 | 2,665 | 2,771 | 2,862 | 1.19x |
| touch | 782 | 794 | 823 | 862 | 885 | 914 | 1.17x |
| null_system_call | 108 | 137 | 202 | 211 | 220 | 236 | 2.18x |
| yield | 85 | 128 | 225 | 1,248 | 3,097 | 4,726 | 55.6x |
| round_trip | 498 | 677 | 1,390 | 3,980 | 10,563 | 25,990 | 52.2x |
| map | 360 | 447 | 625 | 672 | 701 | 756 | 2.10x |
| spawn | 1,172 | 1,384 | 1,516 | 2,572 | 3,251 | 3,849 | 3.28x |
map and spawn with region_ticks (the region lock's SPLIT and DESTROY) taken out, per job:
| kind | part | 1 | 4 | 32 | 32 / 1 |
|---|---|---|---|---|---|
| map | region calls | 107 | 150 | 167 | 1.56x |
| map | the rest | 253 | 475 | 589 | 2.33x |
| spawn | region calls | 162 | 216 | 243 | 1.50x |
| spawn | the rest | 1,010 | 1,300 | 3,606 | 3.57x |
What each row means, and where it is not a kernel cost.
per_jobis self-timed wall clock, so a job charges every tick its task spent off the CPU (crates/job_mix'sBUGS).computeandtouchnever enter the kernel and grew 1.17x to 1.19x. That is the preemption baseline.yieldandround_tripgive the CPU away by definition. Their wall time is mostly other threads running: at 32 tasks a core holds 6 to 10 threads, and 16 tasks share each echo server. Their 52x to 56x is queueing, not a slower path. At 32 tasksround_tripis 80% of all self-timed task time (boot 1), so the top of the curve is largely a measure of how fast two shared servers are served.null_system_callis the one row that reads as kernel cost under load. It never blocks and its job is short, so preemption should charge it in proportion to its length, as it doescompute. Yet it nearly doubles from one task to four (108 to 202 ticks, about 0.42 us to 0.79 us a trap) whilecomputegrows 6%. Past four it grows 17% to 32 tasks, close tocompute's 12%. So the trap costs more when more cores are busy, and does not keep costing more as threads multiply past the core count. Its cause is not measured; see "What this leaves open".- The region lock grew about 1.5x and is not the main cost in either job. The rest of
mapgrew 2.33x, most of it by four tasks, which is thenull_system_callpattern. The rest ofspawngrew 3.57x, most of it past four tasks, which fits a parent waiting for a new child to be scheduled.
Against step 7
The medians match the first row of step 7 on each of its three conditions. Rises to the core count: 2.62x at four, the steep part ending there. Then flat or rising through 32: 2.71x, 2.76x, 2.78x. Every point within 10% across boots: the widest is 1.67%. The row's reading is this:
no architectural per-crossing cost visible at this scale on this silicon; the risk's decisive experiment ran and the defence held, within the caveats in the Warton section above
The caveats that reading carries, stated here so a reader does not have to collect them:
- One machine, four harts, a stated mix with no disk job, and a ceiling of 32 tasks. A knee above 32 would not be seen.
- It is one arm. There is no event kernel here, so nothing compares with Warton's 20%.
- The plateau is partly the instrument's own two shared servers. A process-kernel stack cost would show as those servers serving more slowly as threads multiply, which would bend the curve down, and it did not. But a curve held flat by a server bottleneck is a weaker witness than one held flat by spare cores.
null_system_callshows a per-crossing cost that rises with busy cores. It saturates at the core count, which is not the shape the process-kernel argument predicts (cost growing with distinct stacks). It is still a per-crossing cost under load, unexplained, and it stays open below.
Step 7 assigns the verdict line in design/fatal-risks/README.md to whoever holds that file, not
to a lane. This page is the input and does not edit it.
What this leaves open
- The cause of the trap's 1.9x from one task to four.
notes/ipc-tables-lock-inventory.mdnames the one global lock and an acquisition counter it never built. Whether the null system call takes that lock, or this is cache-line traffic on per-core state, is the question. The measurement isnull_system_call'sper_jobagainst busy-core count with the lock counted, and it is recorded innotes/job-mix.md'sBUGS. Half answered the same night. Part of it was the lock held by the reaper while it freed kernel stacks. With that fixed, five more radon boots read the growth from one task to four as 48 ticks instead of 94. The rest is contention for the lock itself.null-system-call-under-load.mdhas both. - Where radon runs out of memory above 32 tasks, which milestone 168 (a multi-tasking workload benchmark) records as a limitation.