Experiments #130g
The keep-warm pause on the 50 sessions against no keep-warm thread: `lesto_r130e` against `lesto_r130d`...
done
What was tested
The keep-warm pause on the 50 sessions against no keep-warm thread: `lesto_r130e` against `lesto_r130d` with `MLX_SERVE_KEEP_WARM_OFF=1`, 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. and reply per turn, timing-free diagnostic; row 130f measured the pause level with no thread on cold 8k bench turns (+0.00%) while row 130e's pair showed only 0.13% back on the sessions
Model and setup
the best
Expected gain
settles whether the sessions' cold first token keeps a keep-warm cost after the pause
Where the idea came from
row 130f
Outcome
done 2026-11-27 (read-rows): no verdict, all four measures not established: K (thread off) against A, The writing phase: the model produces the reply one token at a time. Read more -0.07% [-0.15, +0.02], first token +0.44% [+0.19, +0.66], reply +0.19% [+0.02, +0.36], first-turn first token +0.25% [+0.02, +0.43], each below its drift floor (0.77% to 1.04%); 150 of 150 identical in all three compares. Mechanism from the code: under the The small guessing model used in speculative decoding. Read more the thread's only activity mark is the request's arrival (`src/server.zig:1773`; the decode mark is in the plain step, `src/generate.zig:6516`, which `nextDrafter` never takes), so it spins only the first 500 ms of each request; row 130h queued (`2026-11-27-mac-r130g-keep-warm-sessions/README.md` ยง Result); queued 2026-11-12 from row 130f
Lesson
- On the drafter best, the keep-warm thread spins only for the first 500 ms of each request. Its only activity marks are the request's arrival and the plain decode step, and drafter rounds never take the plain step. - So the decode gain row 130d adopted (+1.57% before the drafter) has not reached the drafter's decode: on the 50 sessions the thread is worth -0.07% [-0.15, +0.02] decode. Its first-token effect is within the drift floor. - When a lever works through an activity hook, check that the hook still fires on the best's current path (here the thread's 2,048-mark proof record never appeared) before measuring it.
Adopted
no (a diagnostic; all four measures not established; the thread stays as it is in the best until row 130i)