Commit Graph
9 Commits
Author SHA1 Message Date
Anees Iqbal 6fccd785c8 matrix: the 780M's create_64MiB/first_take row leaves the status list, within its limit on every leg
Round 940f37188b (10 of 11 legs pass; the UHD 630 venue unstable) lists the row among the status
entries within their limits: within its limit on every leg of its card that timed it. gem10's
leg (52484) read 1.004 on the five interleaved samples (rt 6829.1 against old 6802.4 us medians)
and um870's 1.00 (6969.6 against 6987.5). The row's earlier 1.08 (round 391db1e57a) was one
reading.
2026-11-19 08:20:05 -08:00
Anees Iqbal b74e8387d7 matrix: the UHD 630's sampling_deep_64x64x16 row leaves the status list, within its limit on every leg
Round 391db1e57a reported the entry stale: the row was within its limit on every leg of its card
that timed it. Ruled by the planner on 2026-11-19 with the round's other readings.

Verified: matrix-unit.sh.
2026-11-19 06:45:09 -08:00
Anees Iqbal 4fa157187f matrix: status.tsv drops the 14 entries whose rows were within their limits
The round at 7cda47f536 named 14 entries for removal (results.entries_within): every row of each
was within its limit on every leg of its card that timed it. Removed by exact card and row: ten
of memory2's create_* records, three of the planner's 2026-11-18 gaps (a7a0 create_state/first,
and 1e87 and 2204 create_private_16MiB/first_take; 1e87 frame_5cb), and identity's a7a0
sampling_deep_64x64x16. The known gaps they cite stay in the runtime guide; a row that goes over
again reads NEW, as the file's rule says.

Verified: the round's report in ~/.cache matrix log for 7cda47f536 lists exactly these 14.
2026-11-19 00:52:09 -08:00
Anees Iqbal 7cda47f536 matrix: an owned row fails only 3% past its owned ratio; a one-pass outlier is timed again
An open record in status.tsv now names the ratio its row was owned at (the new `owned` column,
filled for the existing entries from the matrix note of b0c08e51b5). The harness budget names a
row past its limit that an open record holds and fails nothing while the ratio it is judged by,
after its re-time, is within 3% of the owned ratio (results.OWNED_WORSE); more than 3% worse, the
row fails its leg again. A known gap's row fails only past a ceiling a ruling gave it
(HARNESS_CEILINGS), as before; one without a ruled ceiling is listed and fails nothing. The
report's table shows the owned ratio and whether the row is within it, and after the table names
every open record and gap whose rows are within their limits on every leg of their card that
timed them, for removal (results.entries_within).

A cross-GPU outlier of a harness row's time on the new runtime no longer fails a leg from one
pass: once every leg is in, the legs with one have their harness timed once more (Run.retime: a
node's legs in turn, the nodes at once, each job holding its node alone), and an outlier fails
only where both passes agree (results.time_outliers with the first pass); one that only one pass
has is parked and named. Outliers of other records fail at once, as before.

Verified: the matrix's unit tests (test_results.py, test_matrix.py), run from scripts/matrix in
a potluck job; new tests cover the owned verdicts (within, worse, re-timed, a first take), the
gaps with and without a ruled ceiling, the removal list, the two-pass outlier rule and the
re-time's jobs.
2026-11-18 23:45:49 -08:00
Anees Iqbal b28b4975b5 matrix: the GPU legs run the replay player's stream device tests; status rows lose closed owners
The GPU legs' archive held metal2vulkan-rt alone, so the replay player's
stream device tests (metal2vulkan-validation's runtime_lane::replay_streams,
17 on the old runtime, and runtime_lane::rt_replay, 24 on the new) ran on
lavapipe only. A break in the player or a runtime's stream path that only a
GPU shows waited for a lane's play of a recorded stream to find it, as the
old arm's pin stop did. The archive now holds the validation crate too, and a
leg runs the runtime's tests and those two modules (DEVICE_TEST_FILTER). The
Windows leg is unchanged until the validation crate is shown to build there.

status.tsv, by the planner's ruling of 2026-11-18:
- 10de:1e87 frame_5cb is a gap row: the runtime guide's known gaps carry it
  (crates/metal2vulkan-rt/README.md, NVIDIA's latency per submission).
- 8086:a7a0 frame_5cb and 10de:2204 create_state/first are within their
  limits; their closed lanes' names are cleared (a row gets an owner when it
  goes over).
- identity's rows wait for their card's native table, the guest-visible test;
  "Iris swing unresolved" was stale.

Verified: see the check job named in the landing message (unit tests of the
matrix script, the archive built with both packages under --cfg m2v_gpu, the
filter's selection listed, and the selected tests run on a GPU).
2026-11-18 23:14:02 -08:00
Anees Iqbal 6c002974ed rt known gaps: NVIDIA holds a take's first submit for the block-maker's allocation; the ring's wait is the link's copy
NVIDIA's first take of a new 16 MiB Private buffer. On the 3090 and the 2080 the first take ran
1.10 to 1.34 times old's. A probe on ac1896537f split it. The fill rides in the take's own
submission: one vkQueueSubmit2 with one submit info, the upload leading the command buffer, and
23-26 us on the GPU. The added time is that submit call itself: 603 us on the 3090 and 579 us on the
2080, against a median of 2 to 3 us. The call began 67 us (75 us) into the block-maker's next 16 MiB
Private vkAllocateMemory of 661 us (647 us), which the take had set off by leaving the class under
8 MiB free, and returned 9 us (7 us) after that allocation. Driver 620.70.06, um870's 3090 and
um790's 2080, jobs m3-max-50032 and 50033 (probe 71841cbe6b).

The planner ruled it a known gap, not a fix: the hold is bounded by one allocation per block made,
which is the time the take would spend allocating on its own thread, and the only dodges are a
timer or an idle guess. So:
- the rt README's known gaps of memory blocks say it;
- 10de:1e87's and 10de:2204's create_private_16MiB/first_take take a ceiling of 1.40;
- their status rows read gap.

The capture ring's wait. A probe play of one consumer's stream on the 3090 (m3-max-50027, probe
db1d5c1929 on ac1896537f) timed each of 258 ring-fulls. The ring-full is 63.3 MiB. Its copy took
33.4 ms on the GPU, 1.99 GB/s, of the 33.6 ms the commit waited (medians). The queue behind earlier
work took 0.03 ms, the submission 0.04 ms and the wake 0.13 ms. The card sits in a Thunderbolt 3
enclosure whose link runs at 20 Gb/s (boltctl). The README's known gaps now give the numbers.

Verified: the numbers above, from those jobs' probe lines.
2026-11-18 21:50:53 -08:00
Anees Iqbal 7e33975f58 matrix: NVIDIA's first take of 64 MiB is judged on the new runtime's own part
The planner's ruling on create_64MiB/first_take on NVIDIA's legs: the gate changes, not the
ceilings. From the next round on the row is judged on the new runtime's own part, its first take
less the time inside the driver's calls the same process recorded, against the old runtime's whole
first take, each the median of the five creation processes; the driver's part and the whole ratio
are shown beside it, with the gap's name. An own part past the row's limit (1.03 times its floor,
the parity every row gets) fails the leg as a regression of its own.

The driver's part is `first_allocation_total`, the new runtime's `vkAllocateMemory` time on the
harness's thread in the same take, kept from every process already (FIRST_KEEP). rt counts no
`vkMapMemory` time, so the map stays in the own part, the stricter reading. On 5f2494bfc5 the
allocation took 9902 of the 2080's 12521 us first take (old's whole 5668 us), and 14164 of 17013
us and 10013 of 15066 us on the 3090's legs (old 4865 and 6166 us), against 954-1061 us on RADV.

The table OWN_PART_GATES names the row and its driver's part for the two NVIDIA cards the matrix
runs, which takes the place of their ceilings (1.88 and 2.26), deleted with their status.tsv gap
entries: the row is now over only when its own part is, which is a regression, not the gap. The
over table names such a row's kind `own part`. docs/VALIDATION.md says how the gate judges.

Verified: the matrix's Python tests, two new: the gated row within on its own part though 2.4
times old whole, past it as a regression, a process without its driver's part failing, an extra
leg held to its card's gate and another card's row judged whole; and the over table listing the
row by its own part alone. In the job named in the landing message.
2026-11-18 17:14:56 -08:00
Anees Iqbal 749c939440 matrix status: the first interleaved round's rows over their limits take their owners
The round at 5f2494bfc5 is the first with both runtimes interleaved, the noise meter's base, so
its 39 rows over their limits are owned here, by the owners main named:

- memory2: the creation rows that time block allocation or a take, 12 rows: create_64MiB on the
  XTX, 2080 and 3090; create_64MiB/first_take on the 780M (both), RX 550, XTX and Iris Xe;
  create_private_16MiB/first_take on the 2080, 3090, UHD 630 and Iris Xe.
- entry: create_state/first on the 3090 (both of its legs).
- identity: the translator's GPU rows, 12: wide_bindings on the RX 550, sampling_deep_64x64x16 on
  the UHD 630, and on the Iris Xe constant_managed, constant_private, constexpr_sampling, the five
  sampling_deep rows, threadgroup_scan and waves, noted "Iris swing unresolved".
- Known gaps by the planner's rulings of 2026-11-18: create_64MiB/first_take on the 3090 (as
  before) and on the 2080, the same NVIDIA large Shared allocation: in this round the new
  runtime's allocation calls (create_64MiB/first_allocation_total) took 9902 of the 2080's
  12521 us first take, as they took 14164 of 17013 us and 10013 of 15066 us on the 3090's two
  legs, against 954-1061 us on RADV; and create_state/first on the Iris Xe, the meter's artifact.

The notes that waited for this round go: the 64 MiB rows on the four RADV cards were "unjudged
until the first interleaved round", and the Iris Xe's GPU rows had "one time-boxed investigation
after the first interleaved round"; both are now open records. The Iris Xe's vote_loop and
zero_products keep their card's variance (CARD_VARIANCE), and the frames' commit_to_complete rows
need no entry, gone since 6605f18ddf.

Verified: the matrix's Python tests (the stored table reads) in the job named in the landing
message.
2026-11-18 16:55:12 -08:00
Anees Iqbal 02eaf89136 matrix: the report ends with one table of every row over its limit, with its status
Two legs of eleven passed and every red was known, so the reds were no longer read. The report
(`matrix run` and `matrix show`) now ends with one table: every harness row over its limit on every
leg (results.over_rows, the rows harness_budget fails or names as its card's variance), with its
kind (GPU time, host time, or count for the instructions gate), its ratio and limit, the frozen
arm's verdict (VOID, stands, rebased, no base) and its status. The status comes from
scripts/matrix/status.tsv, one typed entry per card and row (a `*` in the row matches any run):
an open record with its owner and first round, whose age the table counts in rounds; a known gap
with the place it was ruled; or a note alone. A row with neither reads NEW in the first round it
is over (not over in its leg's base) and UNOWNED after; a CARD_VARIANCE row reads as its card's
known gap. The table changes no verdict: the red rule waits for the planner's ruling.

Seeded from the rulings so far: NVIDIA create_64MiB/first_take, a known gap (the 2080 and the
3090); create_64MiB on AMD, a note that it is no known gap and is unjudged until the first
interleaved round; the Iris Xe's GPU-time rows, a note of one time-boxed investigation after that
round; the Iris row_cells, identity's open record (first over at 795c834ded); the 2080 and Iris
frame_5cb, core's open records (from 140714ceae), and both cards' frame and frame_5cb, the
planner's state of throughput and latency from idle.

Verified: test_results (three new tests: the stored table reads and a malformed entry is refused;
every row past its limit is listed with its kind and judged ratio, re-timed and shown rows
included; statuses NEW, UNOWNED, open with its age, gap, notes, an extra leg and the card's
variance). Against the stored notes of 795c834ded and 140714ceae, over_rows lists exactly the rows
the budget named past their limits on every leg (15 and 14 on the Iris Xe).
2026-11-18 15:20:12 -08:00