guest/loader's ReimsGraphicsLoader keeps its log in its own service's
LoaderLog property; the gate's loader is still the older
AppleParavirtGPULoader, with ApvLoadLog. The loader-bind check now reads
whichever of the two the guest runs.
A boot that times nothing need not hold the whole host. probe-batch.sh's
--shared and lane-gate.sh's --shared-boot dispatch the job with the 5080
alone (no --exclusive), so other jobs' builds can run beside it once its
run.sh's 180 s wait for them ends. The bench boot keeps the whole host.
HMP's pmemsave read "SIZE /path" as one expression, SIZE divided by the
path, and answered "invalid char" with no file written, so every hang
snapshot's scanout failed with FileNotFoundError. QMP's pmemsave takes the
path as its own argument and reports a failure as an error.
The hang catcher counted a restart only 120 s after the last one, so car
12's round B, whose four system_resets came 80 s apart, logged two. One
restart's resets and banners come within 10 s, so 30 s now joins them.
The gate's run log now says, for each result it brings back, whether it came
from the job's --keep or, the job having brought none, from the workspace by
potluck cp. Car 13's run is the first to use --keep, and its log shows which.
potluck 0.1.1's --keep copies a job's files back when it ends, in place of
the potluck cp from its held workspace afterwards. The gate's build job keeps
lg-out/steps and lg-out/msi-build.txt, each boot keeps lg-out/MODE, and
pl-job.sh keeps results/. Where a job brought back none (one that ended
without its keep), each falls back to potluck cp from the workspace, which
the gate holds for its boots anyway.
A QEMU hook starts with QEMU and waits for its probe's MARK in
PROBE_RESULTS/NAME/stdout, which msi-probes.sh replaced only at the probe's
start. A probe run before under the same name left its MARK there, so the
hook went on at once, before the guest was up, and the probe's start then
removed everything the hook wrote (round 20261105-111520: c13-mission-c11
ran its four segments into nothing and timed out). msi-round.sh now removes
each of the round's probes' old results before the boot; every earlier round
keeps its own copy in R/probe-results.
A probe round's guest payload carried only bench, so a host hook driving
msi-drag.py in one (c13-mission's Mission Control segments) found no
~/lane-gate/winmon: every segment read moved=0, "no TextEdit or Finder
window to lay out" (round 20261105-104754). probe-batch.sh now ships the
gate run's winmon beside bench where the run has one, and msi-round.sh
copies all it ships into the round's payload.
A Mission Control drag's composites_s alone does not tell a display held to
60 Hz from boot-to-boot noise. The share of the gaps inside its animations
that are under 12.5 ms (an update one 120 Hz refresh after the one before)
does, in one boot: car 12's boot reads 2% and its bench 4%
(mission-cadence.py over its launch.log), where older cars read 24-40%.
msi-drag.py writes it on the mission line as short_gap_pct, the same measure
as c13-mission's mission-cadence.py, and report.py shows it in the
drag.mission row and records it as drag.mission.short_gap_pct.
6b1ecb8d0 counts a drag's qemu_cpu from QEMU's own utime+stime and its
gfx_cpu from each graphics thread's last reading, where the rule before
counted nothing of a thread born or gone inside the window. The gate kept
comparing the two: car 12's report read Mission Control's gfx_cpu as 13.1%
against car 11's 1.7% (+671%), where every run of the new rule reads 12.8 to
13.5% on every tip (f6e1ef077 twice, 6f8118d14, 4f4dd6cc7, c9e12d30c,
7a0aa80a9 twice) and the old one read 1.4 to 4.3%.
msi-drag.py now writes cpu_rule=2 on each line, and report.py shows a drag's
qemu_cpu or gfx_cpu row against a baseline of another rule as not
comparable, either leg's. A line with no cpu_rule is rule 2 where the run's
drag tool is 6b1ecb8d0's (9ea504722f4bdd50), else rule 1. The update counts
and gaps did not change with the rule and are compared as before: a drag
tool hash alone would have hidden car 12's Mission Control drop.
On one scale: an old run's qemu_cpu on rule 2 is cpu.txt's QEMU utime+stime
over the drag's 10 s (a whole number of Control-Up periods for Mission
Control); on the new rule's runs that reads within 2% of the column (one
within 9%). An old run's gfx_cpu has no such record: it stays rule 1.
PROBE_RESULTS/NAME is replaced by the next round's probe of the same name, so
back-to-back rounds of one probe (the game_6000 controls, c13-raf-rate on our
lane and then on stock) lost the earlier run's stdout. msi-probes.sh now
copies each probe's results to R/probe-results/NAME as well.
The guest's login shell is zsh, whose builtin log takes no arguments, so the
c12-s1 stream ended at once with "too many arguments" and restarted every
half second. s1-base's round on cd46a4e00 caught no guest line.
c13-paravirt-perf's profile hook lives with that lane: --bin FILE puts it
beside the gate's host scripts as {DIR}/bin/NAME, and --after now gets the
round's directory for {DIR} as a --qemu-hook does.
fx-decoder's reset item needs three hard resets with QEMU's RssAnon around
each: the hook sends system_reset on a reset probe's mark and records RssAnon
before and 20 s after. spscan.py now starts on spmark.ready, once the marks
are written, rather than 5 s after the start.
Car 12's build had to start before its post probes were ready. A --boot-only
pass given --post-probes now adds them to the run's ship commit as a child
commit, and the boot moves the kept workspace to it with potluck's --advance,
keeping the build's output.
Pin 13's metal2vulkan commit is not on the public repository yet, so cargo on
the lane host could not fetch it. The gate now carries the pin from the local
checkout to potluck's mirror there, and the build fetches it into cargo's git
databases before it builds. The mirror is only read.
The S1 repro now runs as rgk-icb-2's own probe, which prints no MARK lines:
the hook streams the guest's log for the probe named S1_PROBE from its start
to its end. --kring-s S takes the kext's lines from the kernel ring every S
seconds in a captured round, so a panic leaves more of its close's timeline.
Car 12's capacity checks need the app load's desktop and must not cost a
boot of their own. --post-probes DIR ships DIR with the build and runs its
probes after everything the correctness boot measures and checks, as a probe
round runs them, growing the hold by their budgets. The report lists each as
INFO; their fatal lines count in the boot's.
A --stage-local probe whose .base names a probe directory on the lane host
takes that one's files with its own over them, so a changed run.sh rides
the round's commit without the probe's media.
The shots sent Command-Shift-3 once a second from the host's first present,
through the login. macOS skips its automatic login where Shift is held as
the login window comes up, and a capture round on 9aaa024db stayed at the
login window: only four contexts opened and Dock and Finder never ran. The
boot now marks the desktop (WindowServer, Dock and Finder up) and the shots
wait for that mark.
hook-c12.sh is the host side of three car 12 probes, each started by a MARK
line: the guest's log stream over SSH for the S1 repro, spscan.py on QEMU's
RAM for the shmem probe, and a scanout capture from an in-guest restart.
msi-capture.py gains CAPTURE_FROM_NOW for that last one: its limit and its
first present count from its own start.
After a restart the catch now takes `log show` of the kernel's and our kext's
lines over the 120 s before the newest panic report's timestamp, and the .ips
reports written around it, so a panic's lead-up is kept even when the
stream over SSH missed it.
A round can now stage a probe from this machine (--stage-local), carried in
the round's commit, so a probe with a binary built from the car's own source
travels without a deploy. --appload runs the gate's app load on the desktop
before the probes, for checks that need its busy WindowServer. The round
copies every host script of the gate, so a hook can live beside them.
appload.windowserver passed whatever WindowServer held: car 11's gate passed it at 169.7 MiB
of its 160 MiB reserve. It now fails (INFO under appload-info) where ws_max_kib is over
ws_reserve_mib, and says by how much.
measured() summed each thread's ticks between the window's two looks at /proc/PID/task,
so a thread born in the window counted 0 and one that exited before its end was missed. Lane
threads leave after 1 s without a job and budget threads come and go, so gfx_cpu and qemu_cpu
undercounted whatever ran on them. QEMU's CPU now comes from the process's own utime+stime,
which keeps what exited threads used. The graphics threads' come from their last readings,
taken every 20 ms through the window, with a scan of names every 100 ms for new ones; a thread
born in the window counts from 0. On msi, against a test process's own thread clocks, the
four short-lived graphics threads read 0.17/0.12/0.12/0.15 s against 0.17/0.12/0.13/0.15 s,
where the old rule counted none of them. CPU rows from before this are not comparable.
guest.crash-reports compares against a baseline taken once the desktop is up, so a crash
during boot or login never showed. run_info now lists the reports whose mtime is at or after
kern.boottime, and the report shows them as guest.boot-crash-reports, an INFO item that
does not gate.
A round whose host tip no gate built (a lane's probe-only host) now takes the bench
of the guest it boots, the image tip's run, before falling back to the newest run's.
probe-batch runs under set -e and pipefail, so the ls of the tip's runs failing (no
run for a lane's probe-only host, such as 41ca29975) ended the round silently with
exit 1 before its fallback to the newest run's bench.
fix-bundle-res's runs-route A/B boots through its own run-ab.sh, which takes a
VM launch with rgk-boot2.sh's interface. pl-job.sh dispatches such a command
from a throwaway commit carrying the gate's host scripts, so it can launch with
lg/bin/msi-launch.sh, and copies the workspace's results/ back.
scout's car 10 app table needs a control on the stock graphics devices: the
owner VM's OpenCore image, the dist's ReimsVgpu.rom, apple-gfx-pci with its
iosurface, VideoToolbox and scaler devices as reims-ctl gives an x86-64 VM, and
a trace file. probe-batch.sh's --image, --rom, --gfx-b64 (QEMU's graphics
arguments in place of reims-graphics-pci), --qemu-env and --no-metal-check carry
those into the round's boot.env, and msi-boot.sh exports them for QEMU and
leaves out its check that the guest's Metal device is ours.
potluck reserves an exclusive job's start at the latest limit among the jobs
running on its machine, and lets jobs that end by their own limit start ahead
of it: a 2 h build limit held msi's reservation hours out. The host build gets
30 minutes (it took 533 s cold), the correctness boot 40, the bench 30, and a
round its hold and 12 minutes (40 more with --after).
ring0-audit reads its MEAS lines in QEMU's host log, which stayed on the lane
host: the boot job now copies launch.log.gz back with the boot's other files. A
round with --after gets 40 minutes more of job time for its command.
ring0-audit's clean pair needs both tips built before either boots, then the two
boots back to back with nothing between them. --keep-workspace keeps a run's
potluck workspace, worktree and branch when it ends (a run built with --skip
boot), --boot-only runs a resumed run's correctness boot alone in it, taking no
lock as a bench leg does, so two runs' boots can be queued seconds apart, and
--priority sets the jobs' priority.
A round's changes on the lane host (moving its probes out of the queue, the
boot, the statuses, putting unreached probes back) now run in one potluck job
holding the 5080 and the whole host (msi-round.sh), dispatched from a throwaway
commit of the round's own (ship-commit.sh) that carries the gate's host scripts,
the tip's bench and the round's boot.env. probe-batch.sh only reads the host's
queue and published tips. --stage NAME=DIR[@TIP] copies a probe from a directory
on the host into the round inside the job, which replaces staging over ssh;
--ram sets the job's memory and --after runs a command after the boot in the
job (a hook's post-processing). --dry-run does not run as a job yet.
The owner retired direct ssh tests and deployment and the lane host's legacy
locks (turnstile, gpu-urgent, build-quiet, host-quiet, the GPU flocks): potluck's
lease is the lock now. The gate makes a throwaway commit per run, whose parent is
the candidate and whose lg/ holds its host scripts and what the Mac built (the
guest payload, the loader's kexts, RgfxGate, the bundle, a git bundle of the
vendor/qemu commits the host lacks). From it the host build, the image and
publishing are one job on msi with no GPU (msi-job.sh build), and each boot a
job in that workspace holding the 5080 and the whole host (--exclusive).
msi-launch.sh replaces rgk-boot2.sh's locks with potluck's: before QEMU starts
it waits for running builds (HOST_QUIET or HOST_NOT_QUIET, as before) and for
the CPU package to cool below 80 C, so the measured boots keep their quiet host
and cool-down. The loader builds on the Mac alone (mac-loader.sh). The Mac's
checks, which took the Mac's GPU lock, do not run as jobs yet: the gate needs
--skip mac.
The correctness boot times drags, presents and WebGL frames, but as a shared
boot it took no host quiet, so a build could run beside it: one ran through
ring0-ctl's app load (the package at 105 C). It now holds host quiet for
QEMU's life as the bench boot does (rgk-boot2.sh's RGK_QUIET), and the report
tags its timed rows where the wait for running builds ran out.
Items of a phase --phases left out of the correctness boot are NOTRUN, not
missing: a run that names its phases is incomplete, not failed.
The runtime pins all of the guest's RAM at the start, and a host short of
free pages compacts, which moves a boot's times; car 10's cold-boot check reads
both. host.txt now has /proc/vmstat's compact_stall, compact_fail and
compact_success at QEMU's start and the boot's end and their growth, and the
free memory and the CPU's heat at the end, read before QEMU stops.
msi's CPU package throttles for seconds at a time under builds (2.7 h in 2 days,
103 C), which moves CPU-bound numbers. Each boot now samples the package's
temperature and the throttle counters once a second (thermal.txt), records
them with uptime beside the free memory at QEMU's start and what they grew by
at the end (host.txt), and the report marks a timing row whose phase, drag or
bench case saw the package throttle as throttled, not compared, and leaves it
out of a baseline's median.
The driver drops a lightly loaded GPU to P8 (405 MHz) within seconds, where
GPU-bound numbers read up to 8x slower. The report already leaves out reps
under 2000 MHz (KNOWN-clock); each GPU-bound row now also shows its power
state and core clock beside the baseline's, so a row that moved with its
clocks reads apart from one that moved with the code.
s1-hang times its rounds against the bench boots, which log at info; the
round's default filter adds the presents' trace lines, which cost each op.
--host-log FILTER replaces the round's filter.
The bench boot logged the runtime's work counts each second since 85fac10ad,
and their logger costs what it rates: car 9's draws.10k ran at 0.80M draws a
second with it and 2.54M without it, on the same build. The bench's host log
is info again; --bench-host-log info,reims_vgpu::work=debug asks for the
counts, as a control.
scout-apps-2's car 9 table rounds run with reims_vgpu_vulkan::icb_writes at
debug, a target off by default, to say which pipelines write ICBs on the
renderBundles page with no boot of their own: --log-add FILTER appends its
directives to the round's host log filter.
The bench's host log carries the runtime's work counts, whose logger thread
reads them each second; car 8's library had no such thread, so a car 8
control cannot tell whether it costs car 9's draws.10k. --bench-host-log info
benches a tip without it. A run with another filter is a control and is never
recorded.
draws-regress samples QEMU's graphics threads during the bench's draws.10k:
--qemu-hook passes probe-batch.sh's hook ({PID}, {DIR}) to the bench boot,
whose guest.log has the bench's '# start CASE' lines as they come. A run
with a hook is a control and is never recorded.
A car's landing gate runs without the Mac's checks, so it is incomplete, and
--record moved baselines/LAST only for a run that passed: LAST stayed at
15c73f2b5b48 through cars 7 to 9, and car 9's bench was judged against a
baseline from before car 7, which hid its draws.10k fall against car 8.
--landed records the run and, once its bench leg has run, makes it LAST
whatever the verdict; its own baseline is the car that landed before it.
The bench's metrics were tied to one hash of the sweep's sources and bench.m
together, though bench.m builds alone. Car 9 changed only sweep_ca.m, so its
draws.10k fall of 61.7% against car 8 went ungated as 'its tool changed since
the baseline'. tools.txt now records bench.m's own hash, and a run recorded
before it falls back to the combined one.
s1-hang's runtime-import pair needs the host's memory brought to a desktop's
state just before QEMU starts, with nothing else on the GPU meanwhile. A
round's --pre-qemu CMD runs CMD in the QEMU wrapper under the lock, just
before the exec, its output in the round's pre-qemu.txt; the hook starts after
it.
The runtime now imports all of the guest's RAM as QEMU starts, and with the
host's free memory below that, a boot's first present moved by 27 s between
two otherwise like cold boots. host.txt now carries MemFree, MemAvailable and
Cached at the GPU lock's hold (memfree_start_mib and the like).