TECHNOLOGY

R9700 Vulkan submission batching: a scoped regression report

In this article
THE QUICK TAKE

The owner report supports a specific build comparison; its large microbenchmark ratio does not establish universal Vulkan behavior or complete request speed.

A change intended to make GPU submissions safer can still alter inference performance. The R9700 Vulkan report against llama.cpp submission batching illustrates why a regression comparison needs both the exact code change and separate execution boundaries for a microbenchmark and a model server.

Preserve the reported comparison

In issue26679, an owner compares revision 6a32c29a7 with the submission-batching change reverted. The system uses an R9700 with 32GB VRAM, RADV Mesa 26.1.6 and Ubuntu 24.04. Reported llama-bench rates change from 63.6 to 1025.7 tokens/s for pp128 and from 8.41 to 66.05 for tg64, with 2 repetitions.

The artifact is an ornith-MTP derivative labeled Qwen3.5-MoE35B-A3B, Q5_K, using context 262144 and q4_0 KV. These conditions qualify the result. Closure on the reporting day does not identify a subsequent upstream fix or establish that every later Vulkan release retains the regression.

Read the original change’s purpose

The submission-batching pull request describes a threshold previously checked after a submission had already exceeded its intended work budget. The change checks whether the next tensor would exceed that budget. It also adds device-fault information and a serialization mode that records submitted tensors for diagnosis.

This establishes the author’s intended control boundary, rather than proving the precise bottleneck on the reporting card. Smaller submissions can change scheduling overhead and opportunities for concurrency. A plausible mechanism still needs a matching profile. Diagnostic serialization should not silently become part of only one timed variant, since it changes the execution being compared.

Keep microbenchmark and server results separate

The llama-bench documentation distinguishes prompt processing, generation and combined tests. It reports repeated measurements and notes that tokenization and sampling are excluded. A large prompt-processing ratio therefore does not automatically describe complete request latency.

The issue also contains a server comparison whose rates differ from the microbenchmark. Preserve it as a separate observation rather than presenting the most favorable rate from each setup as one experiment. A declared maximum context is not evidence that every timed request processed that many input tokens. Prompt work, existing cache depth and generated work require their own fields.

Reproduce the change without broadening the conclusion

For a local review, build the same base revision with and without only the identified patch, preserving compiler options and dependencies. Record the resulting binary identities. A source revert is a controlled build comparison; it should not be described literally as an unchanged binary when the executable has been rebuilt.

Check correctness before timing, repeat both variants and restore the original control afterward. Compare queue submissions, synchronization, prompt and generation stages while retaining complete request completion and errors. Extend the test to another artifact or driver only as a separately labeled experiment.

The published evidence supports an owner-reported regression for a defined R9700 configuration. It does not establish a universal advantage of reverting submission limits, particularly when those limits also address driver timeouts.

Reproducible software stacks explains build identity. Inference benchmark methodology explains comparable work and timing boundaries.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles