From b96e61afa38bd61bc2c8e2fc31931d4171995fa2 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Tue, 17 Nov 2026 20:53:06 -0800 Subject: [PATCH] docs: VALIDATION.md's matrix says a harness time is host time and a ceiling is only ruled The `time` record kind is what a program waits on, timed on the host (commit-to-complete where the workload times it, else the wall time a run adds), since the harness's matrix_time change on this branch; the harness budget lists no ceiling now, and one is given only by a ruling after the work on its row. The doc said GPU time and measured-ratio ceilings. Verified: the text only; python3 scripts/matrix/test_results.py, 28 OK on this branch. --- docs/VALIDATION.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/VALIDATION.md b/docs/VALIDATION.md index d2186ee22..53220ce40 100644 --- a/docs/VALIDATION.md +++ b/docs/VALIDATION.md @@ -305,7 +305,7 @@ changes the harness sets the base for the next. | `metric` | A deterministic count per frame or per command buffer: submissions, passes, barriers, bytes copied, pipelines created | It is larger than the base's | | `instructions` | User-space CPU instructions per draw or per dispatch | It is more than 1% over the base's | | `gauge` | Live objects of one resource kind, the key ending in the point it was read at: `@100` and `@200` (loop iterations), `@drop` (after the device dropped) | `@drop` is not 0, or `@200` differs from `@100` | -| `time` | A duration in microseconds: the harness's median GPU time of a workload's run | Only as a cross-GPU outlier: its ratio to the base's is more than 1.25 times the median of that ratio over at least 3 GPUs | +| `time` | A duration in microseconds: what a program waits on in a harness workload's run, timed on the host: its command buffers' mean commit-to-complete time where the workload times it, else the host wall time a run adds (a run's GPU time is a diagnostic and no record) | Only as a cross-GPU outlier: its ratio to the base's is more than 1.25 times the median of that ratio over at least 3 GPUs | Every cache has a test that fills it past its capacity and records its gauge. @@ -329,10 +329,11 @@ the cache warm; they are parked. The harness budget compares the two runtimes rather than two commits, apart from the `time` rule and the parked records. On each GPU, a harness row timed on both runtimes in the leg (`harness-new/` and `harness-old/`) holds the new runtime's time to at most 1.03 times -the old's. The rows over it are listed per GPU with their ratio as a ceiling (`HARNESS_CEILINGS` in -`scripts/matrix/results.py`): a listed row fails its leg past its ceiling times 1.03, the noise -allowance parity gets, and one within that is named on the leg's line. A fix lowers its row's ceiling to the ratio it reaches, and a row within -1.03 leaves the list. A row whose time either runtime recorded more than once fails, uncompared. +the old's. A row over it fails its leg unless a ruling, made after the work on that row, gave it a +ceiling on that GPU (`HARNESS_CEILINGS` in `scripts/matrix/results.py`, empty now); a ceiling is +never taken from a measured ratio. A listed row fails its leg past its ceiling times 1.03, the +noise allowance parity gets, and one within that is named on the leg's line. A fix lowers its +row's ceiling to the ratio it reaches, and a row within 1.03 leaves the list. A row whose time either runtime recorded more than once fails, uncompared. A row over its limit is re-timed in its leg before the leg ends: three pairs of runs of the row alone, old then new, the second pair new then old. It is judged by the median of the pairs' ratios, so a clock episode in one run decides nothing, while a regression in every pair still fails. A leg