Verba/Rapida

Experiments #108

A prefix shared across the 50 sessions' first turns served from mlx-serve's existing cache tiers: first a...

count

What was tested

A prefix shared across the 50 sessions' first turns from mlx-serve's existing cache tiers: first a timing-free count of the common prefix across the first turns on the rented Mac (counts only leave it), then a pair if the prefix is long

Model and setup

the best

Expected gain

first-token time: up to most of the 7.5 s if a long prefix exists (inferred)

Where the idea came from

row 107

Outcome

count done 2026-10-31: 30 of 50 first turns repeat another session's; realized reuse 13.9% against 38.5% possible within a block; row 108a queued

Lesson

on the coaching workload most first turns repeat a scenario another session already sent, but mlx-serve's default 2 GB holds about one 9.5k-token session: cache capacity, not kernels, sets most of the first-token wait.

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