﻿# RADV long-session slowdown: the RX 9060 XT report and follow-up

A llama.cpp owner report links a long-session decode collapse to changed allocation behavior, with a useful follow-up and an unresolved root cause.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/radv-gfx1200-long-session-decode-collapse-report/
Language: en

## A reported collapse within one server session

A May 2026 [llama.cpp issue](https://github.com/ggml-org/llama.cpp/issues/22898) describes an RX 9060 XT with 16 GB, RADV gfx1200 and build b9093. The reporter used a Gemma mixture-of-experts GGUF with a configured 32768-token context. Initially, generation reached roughly 26–27 tokens/s; around 20K occupied context it reportedly fell to about 9 tokens/s. Restarting and reloading an approximately equivalent context restored the earlier rate.

This is a concrete owner report, rather than a controlled benchmark of all Radeon hardware. The valuable observation is the change across session states. Merely comparing a short prompt with a long prompt would establish a different question, because attention work itself changes with occupied context.

## The follow-up matters more than the original title

The reporter subsequently tested `RADV_PERFTEST=nogttspill`. They no longer observed the persistent slowdown, but described a brief dip near 6 tokens/s lasting 1–2 seconds before recovery near 25 tokens/s. A later commenter attributed the behavior to memory spilling and suggested moving expert work to the CPU. The thread does not establish that the reporter validated that separate proposal.

[Mesa's documentation](https://docs.mesa3d.org/envvars.html) defines `nogttspill` as disabling GTT spilling during memory allocation. That definition makes the change relevant to a memory-placement hypothesis. It does not independently prove where every buffer resided in the affected run, or establish that disabling spilling is a general performance improvement. Changing allocation behavior can change whether a workload fits at all.

## Distinguish state recovery from a diagnosed fix

Restart recovery is evidence that accumulated process or runtime state may matter. It does not identify a particular allocator defect, driver regression, cache bug, or memory leak. The issue lacks a demonstrated first bad commit and a complete repeated-run trace resolving those alternatives. Its later automatic closure for inactivity is an administrative state, not evidence of an upstream repair.

The [long-context assessment guide](/journal/long-context-capacity/) explains why configured capacity and the actual request population belong in a report. For this incident, the useful comparison would preserve the same tokenized workload while recording what was processed again and what came from an existing cache. Otherwise a restart may change more than the intended variable.

## Record generation work separately from prompt reuse

The [server documentation](https://raw.githubusercontent.com/ggml-org/llama.cpp/master/tools/server/README.md) describes separate prompt-processing and generation timings, plus counts for cached, processed and generated tokens. Those fields help make a future reproduction more informative than a single displayed tokens-per-second figure. They also prevent a faster reused prompt from being mistaken for faster decoding.

An interpretable record would retain the exact executable revision, driver identity, model artifact, occupied context, layer placement and session history beside each timing. The [software-stack guide](/journal/software-stack-reproducibility/) explains why these identifiers matter when a later build behaves differently. The case supports a bounded conclusion: one reporter observed a persistent long-session slowdown that changed under a documented RADV allocation flag. It does not establish a universal context threshold, a broadly safe tuning default, or a confirmed root cause.
