Context Inkling 2 Mini is a 26.4B mixture-of-experts model from Thinking Machines Lab, tested on four OnePlus 11 phones. IQ4_NL is the four-bit weight format; Adreno is Qualcomm's GPU. Inkling 2 Mini study.

A GPU benchmark is a workload, not just a kernel. If the loop keeps the device busy, the device may stay at a high clock. If the loop pauses between submissions, the clock may fall. The same kernel then measures differently, and the difference is not in the kernel.

The Inkling IQ4_NL Adreno work ran into this directly. A resident gate/up projection measured 6.52–6.91 ms with a 20 ms pause between calls and 2.04–2.60 ms when the calls were submitted back-to-back. The kernel and the data were the same. The clock policy was not.

The clock follows the loop

With 20 ms gaps, the Adreno 740 spent 98.5–99.3% of the measured time at 220 MHz. Back-to-back submissions held the 680 MHz operating point for roughly 98% of each pass. The first upward request came 6.28–7.00 ms into the continuous run, so even the continuous pass had a short ramp.

The pause was deliberate and excluded from per-call latency; it was included in the GPU duty cycle. That is the right way to run the experiment. The mistake would be to compare a gapped measurement from one loop to a saturated measurement from another and call the difference a kernel result.

PhoneGapGPU busyMedianp95
Athena20 ms20.0%6.74 ms7.07 ms
Athena0 ms70.4%2.55 ms2.68 ms
Achilles20 ms20.0%6.91 ms7.40 ms
Achilles0 ms74.0%2.43 ms2.71 ms
Aeneas20 ms20.0%6.52 ms7.03 ms
Aeneas0 ms83.6%2.05 ms2.45 ms
Ajax20 ms19.8%6.71 ms7.20 ms
Ajax0 ms71.8%2.58 ms2.64 ms
Same resident layer-9, token-0, eight-expert gate/up projection. The pass order was 20 ms gap, continuous, continuous, 20 ms gap. The gap is excluded from per-call latency and included in GPU duty.

The full block still favored ARM

The full expert block made the same point with a second layer of context. The GPU held all 128 experts in four resident partitions. At a 20 ms gap, the complete block took 12.01 / 11.69 ms on Vulkan; at 5 ms, 7.57 / 7.51 ms; continuous, 4.98 / 5.51 ms. ARM took 5.53, 4.42, and 1.96 ms in the same three cadences.

The GPU got faster as the cadence tightened, but ARM stayed faster at every tested spacing. The GPU's software operating point rose from 220 MHz to 401 MHz to 615 MHz as the gaps closed. The reported GPU ceiling also fell from 680 to 615 MHz during the third pass, so part of the later comparison ran under a lower ceiling. The experiment preserved the existing clock policy; it did not pin a frequency to force a result.

What a GPU benchmark should report

  • Cadence: the gap between submissions, and whether the loop is saturated or gated.
  • Clock residency: how much time the device spent at each operating point, not just the peak clock.
  • Duty cycle: busy time over wall time, with the deliberate gaps excluded from per-call latency but included in duty.
  • Ramp: the first call after idle, which is often slower than the steady state.
  • Thermal ceiling: a falling ceiling can change the later arms even when the kernel is unchanged.
  • Reference: the CPU or GPU arm that would actually serve the request, measured at a realistic cadence.

The 20 ms pause is not a bug in the kernel. It is a different clock regime. A benchmark that ignores the regime can produce a clean-looking number that does not describe the request. The useful result is the one that says which loop it measured, which clock it held, and what the serving path would do instead.

Sources & notes

  1. Qualcomm Adreno GPU Toolkit
  2. Linux kernel CPU frequency and power management documentation
  3. llama.cpp repository and Vulkan backend