Experiments #130f
Where the rest of row 130d's cold first token loss goes: the pause (row 130e) gave back 0.13% of 0.4% to...
done
What was tested
Where the rest of row 130d's Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. loss goes: the pause (row 130e) gave back 0.13% of 0.4% to 0.8%; A graphics card, used here as the chip that does the heavy arithmetic for a model. clock and power through the cold Prefill: the model reading the whole prompt before it can write the first token. Read more (macmon) and the cold first token for the best with `MLX_SERVE_KEEP_WARM_OFF=1`, the best, and `lesto_r130e`, timing-free
Model and setup
the best
Expected gain
0.3% to 0.7% of the cold first token (rows 130d, 130e)
Where the idea came from
row 130e
Outcome
done 2026-11-12: the spin lowers the GPU clock through a cold prefill (1,552 against 1,576 MHz) and costs +0.41% [+0.13, +0.67] on cold 8k first turns; the pause restores it (+0.00% against no thread); row 130e stays a stack candidate (`2026-11-11-mac-pcore-clock`)
Lesson
the keep-warm spin slows a cold first token by lowering the GPU clock during the prefill (1,552 against 1,576 MHz, +0.41% on 8k turns), and pausing it during long prefills restores the clock (1,569 MHz) and the first token (+0.00% against no thread); row 130e is the fix, though on the sessions it showed only 0.13%.
Adopted
no (a diagnostic; row 130e remains a stack candidate)