From d434af0e67aaafe0f4eb64b9bb9d1e7abe2bc495 Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Wed, 18 Nov 2026 14:43:21 -0800 Subject: [PATCH] nextest: the runtime's gpu-wait latency and held-head tests of queue sharing run alone On the RTX 2080's broad device suite (job 48082) two tests failed only beside the parallel suite: - a_compositor_beside_a_queue_waiting_on_the_gpu_for_long_work_keeps_its_latency: p99 9.92 ms with 91 stalls. The device took its least plan of 3 VkQueues after the driver refused 18 under the parallel load; - an_unshared_head_behind_an_earlier_commit_of_the_held_queue_holds_nothing: "held for isolation 0". Both are timing tests like the two isolation tests that already run alone. Each holds a bound of the GPU's time, which other test processes' work spends too. Run alone, each test passed 3 times in every job: - 2080: job 48237; - 3090 on ms01: job 48236; - 3090 on um870 (the gpu-wait test): job 48259. In those runs the gpu-wait test's p99 was 1.84 to 2.70 ms with 0 stalls, and the held-head test printed "held for isolation 2, behind an earlier commit 2". Both now join the override that runs queue_share_device's isolation tests alone. --- .config/nextest.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index ac65d13bc..baae65b0d 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -82,10 +82,14 @@ threads-required = 'num-test-threads' # The runtime's isolation tests of command queues sharing `VkQueue`s run alone. Each holds a # compositor's 99th percentile of commit-to-completion latency under 5 ms, and its stalls over -# 10 ms to at most one, beside an application's 30 ms command buffers: a bound of the GPU's time, -# which other test processes' work on the same GPU spends too. +# 10 ms to at most one, beside an application's 30 ms command buffers (and beside a queue waiting +# on the GPU for them): a bound of the GPU's time, which other test processes' work on the same GPU +# spends too. So does the held-head test, whose hold needs the long command buffer (about 30 ms of +# GPU time as it measures it first) to have more than the hold's budget left when the next commits +# come: other processes' work changes that time between its measure and its run. On the RTX 2080 +# the gpu-wait and held-head tests failed only beside the parallel suite, and pass alone. [[profile.default.overrides]] -filter = 'package(metal2vulkan-runtime) & test(/^tests::queue_share_device::(a_compositor_beside_a_long_queue_keeps_its_latency_once_that_queue_went_long|an_unshared_compositor_beside_a_long_queue_never_stalls)$/)' +filter = 'package(metal2vulkan-runtime) & test(/^tests::queue_share_device::(a_compositor_beside_a_long_queue_keeps_its_latency_once_that_queue_went_long|an_unshared_compositor_beside_a_long_queue_never_stalls|a_compositor_beside_a_queue_waiting_on_the_gpu_for_long_work_keeps_its_latency|an_unshared_head_behind_an_earlier_commit_of_the_held_queue_holds_nothing)$/)' threads-required = 'num-test-threads' # The runtime's GPU-start test of a command buffer's own long work runs alone. It holds the time