Experiments #130d
Keep a P core busy while turns are served, the lever row 130c's screen left (row 130's spinning process...
done
What was tested
Keep a P core busy while turns are Keeping a model loaded on a machine so it can answer requests over the network., the lever row 130c's screen left (row 130's spinning process removed the Cold means the server has never seen this prompt start; warm means part of it is already remembered from before. first-token loss): a Lesto thread that spins while a request is active and for a short window after it, so the The writing phase: the model produces the reply one token at a time. Read more thread's core keeps its clock; screen with macmon and the step trace, then the pair
Model and setup
best-with-row-130
Expected gain
first The unit of text a model reads and writes: roughly a short word or a piece of a longer one. up to 15 ms warm; decode +0 to +0.5% if the build returns to 0.72 ms (guess)
Where the idea came from
none
Outcome
done 2026-11-12: An experiment that beat the best score by more than the measured noise., reply -1.54% [-1.92, -1.25], decode +1.57%, 150 of 150 identical (`mac/130d/1`); replicated -1.41% [-1.68, -0.71] (`mac/130d/2`); adopted, provisional (cold first token +0.4% to +0.8%), row 130e
Lesson
on the M4 Pro the P cores clock down when Lesto's decode thread waits on the A graphics card, used here as the chip that does the heavy arithmetic for a model. most of each step, and one Lesto thread spinning during turns and 500 ms after keeps them up: graph build drops from 1.59 to 0.66 ms a step, decode gains 1.6% and reply 1.5% with identical replies; a QoS class does not do it (row 130c).
Adopted
yes (provisional on the cold first token, row 130e): the new best `lesto_r130d`, 88.0 How many tokens the model writes each second once it has started. decode, reply 2.21 s (ledger, `--base-moved` since its The unmodified setup's score, the line every experiment must beat. is the best's tag under the name `lesto_r130ref`); Lesto `main` merges `row/130d` as v0.20.0, tag `best-2026-11-12-r130d` (`5fec022`), on lesto-dev only.