Verba/Rapida

Esperimenti #173km

Move the hot prefix cache's trim copy off the request's path: run `trimmedCopy` after the terminator is...

stacked

Il testo degli esperimenti resta in inglese, come l'ha scritto il laboratorio.

Cosa è stato provato

Move the hot 's trim copy off the request's path: run `trimmedCopy` after the terminator is published (`finishSlot`, `src/scheduler.zig:4663`; `HotPrefixCache.commitWithMediaState`, `src/prefix_cache.zig:973`), keeping the slot's KV alive until the copy has read it (the conn thread may free the slot once the terminator is out, row 173ks). Measured 5.8 and 6.6 ms a request on the build (row 173kt); lossless; a pair on the 50 sessions and on the general set, each claiming only its own gain; it must also hold on general text (Federico, 2026-11-20)

Modello e configurazione

the request tail

Guadagno atteso

up to about 6 ms a request (measured on the probe build)

Da dove viene l'idea

row 173kt

Esito

stacked 2026-11-20 into row 173kstk (coordinator: tiny lossless scored together; its own identity check is step 1 there, `2026-11-20-mac-r173kstk-request-tail-stack/README.md`)

Vuoi vedere cosa hanno prodotto questi esperimenti? Lesto, il motore di inferenza per Gemma 4 sui Mac con Apple silicon, è su lestoengine.com

Creato da Federico Andrioli, @fedeandri su X Le misure di un laboratorio di ricerca, ricavate direttamente dai suoi file. Dati aggiornati al