Known gaps: a commit held past 16 ms on a Radeon 780M; a teardown wait past 16 ms on an RTX 2080

Two latency tests fail on some GPUs at the 0.2.0 release candidate, recorded where a user reads
open gaps (docs/FAST-PATHS.md, Known gaps) and in the 0.2.0 CHANGELOG entry, at the owner's call to
document them as failing and release:

- tests::held_step_order::command_buffers_behind_a_waiting_step_read_scheduled: on the Radeon 780M
  (Phoenix, m3-max-31782, exclusive) the long command buffer's commit returned 405.95 / 23.66 /
  10.50 ms after its call over the test's three runs (bound 10 ms); pin 97's XTX printout shows the
  same shape (315.68 -> 12.59 -> 17.11 ms). The ordering the test is for held in every run.
- tests::teardown_threads::a_running_queue_switch_check_leaves_the_device_to_the_program_s_thread:
  on an RTX 2080 (620.70.06) it failed 3 of 3 alone (m3-max-31777): the teardown waited 33.1 / 23.3
  / 19.8 ms for the check, 19.6 / 22.0 / 18.4 ms of it the check's objects' release; it passes on
  the RTX 3090, RX 7900 XTX and Radeon 780M. That host's driver calls on the 2080 ran several times
  slower than usual during the measurement (cause open).

Docs only.
This commit is contained in:
Anees Iqbal committed 2026-11-15 02:15:21 -08:00
1 parent 093d256b75
commit d9236a8a11
2 files changed
+20

No files matched your search

+3
View File
@@ -22,6 +22,9 @@ A full rewrite: nothing of 0.1.0's API or command line remains.
- **Validation tooling** (unpublished): authored cases run on Metal and on Vulkan and compared,
plus bounded audits over a private corpus.
- **License**: dual-licensed `GPL-2.0-or-later OR LGPL-3.0-or-later`; 0.1.0 was `LGPL-3.0-or-later`.
- **Known failing**: two latency tests fail on some GPUs: a commit can hold the program's thread
past 16 ms (a Radeon 780M), and a device's teardown can wait past 16 ms for its queue-switch
check (an RTX 2080). Both are open gaps in [docs/FAST-PATHS.md](docs/FAST-PATHS.md#known-gaps).
## 0.1.0
+17
View File
@@ -2463,3 +2463,20 @@ compares with Metal's.
through a binding and an argument-buffer pointer to it, may see an order other than the one
Apple's simdgroup lockstep gives, and no barrier is added for it. A pointer loaded from thread,
threadgroup or payload memory names no object of its own and meets every object.
- **A commit can hold the program's thread past 16 ms** (`command_buffer/`: a commit's lowering,
recording and pipeline wait, `PipelineWaitPolicy::Bounded`). A command buffer whose render pass
is a host step and executes an indirect command buffer the GPU writes held `commit` 10.5 to
24 ms, and its first such commit 316 to 406 ms, on a Radeon 780M (RADV PHOENIX) and a Radeon RX
7900 XTX (`tests::held_step_order::command_buffers_behind_a_waiting_step_read_scheduled`, which
fails where the commit passes 10 ms). The first is most likely the making of a pipeline variant
the pass first uses, waited for at the commit; what holds the later commits is not measured.
The commit's phases are counted (`WorkCounts::commit_lowering_nanos`, `commit_recording_nanos`,
`commit_pipeline_wait_nanos`).
- **A device's teardown can wait past 16 ms for its queue-switch check on an RTX 2080**
(`queue_switch_check.rs`). The teardown stops the check and waits for its current step and the
release of its Vulkan objects; on an RTX 2080 (NVIDIA 620.70.06) that wait took 19.8 to 33.1 ms,
18.4 to 22.0 ms of it the objects' release, against the 16 ms bound
(`tests::teardown_threads::a_running_queue_switch_check_leaves_the_device_to_the_program_s_thread`,
which fails there and passes on an RTX 3090, a Radeon RX 7900 XTX and a Radeon 780M). Measured on
a host where that GPU's driver calls ran several times slower than its usual, so how much of
the wait is the GPU's is not known.