Verba/Rapida

Experiments #173ks

A replayed request spends 10.0 ms outside every drafter round at k = 3 (row 173kr: 1.50 s over 150...

done

What was tested

A replayed request spends 10.0 ms outside every round at k = 3 (row 173kr: 1.50 s over 150 requests, 0.7% of the window; 10.5 ms at k = 4, so it does not grow with k): the stop, the last chunk and usage, the stream's end. Step 1 places it: host timestamps from the last round's end to the response's close on the build, then the code path behind the largest part

Model and setup

the scheduler and the server's stream

Expected gain

up to about +0.7% decode window (inferred, the whole 10 ms removed)

Where the idea came from

`2026-11-20-mac-r173kr-replay-round-split/README.md` § Result

Outcome

done 2026-11-20 08:40: of the 9.9 ms a request after the last round, the hot-cache commit's trim copy is 5.8 ms (23 of 150 requests copy 1.6 to 2.0 GB of KV to fit the 2 GB budget, 37 ms each, before the terminator; 7 of them only shed capacity rows) and the end-of-turn cache clear the socket waits on is 3.0 ms; rows 173kt and 173kc queued (`2026-11-20-mac-r173ks-request-tail/README.md` § Row 173ks step 1 result)

Lesson

of a replayed request's 10 ms after its last drafter round, 5.8 ms is the hot copying 1.6 to 2.0 GB of KV to trim an entry to its 2 GB budget (23 of 150 requests, 37 ms each, before the terminator; the budget is priced on capacity rows, so 7 copies only shed capacity) and 3.0 ms is the end-of-turn cache clear the socket waits on; a tail that is a mean over requests can be a few large events, so split it per request before reading a .

Adopted

no (a diagnostic)

Want to see what these experiments produced? Lesto, the Gemma 4 inference engine for Apple silicon Macs, is on lestoengine.com

Made by Federico Andrioli, @fedeandri on X A research lab's own measurements, generated from its files. Data built