Verba/Rapida

Experiments #73b

Command-buffer limit sweep on the best: (20, 40), (80, 80), (40, 200), (200, 200), (1000, 400) against the...

done

What was tested

Command-buffer limit sweep on the best: (20, 40), (80, 80), (40, 200), (200, 200), (1000, 400) against the default, 5 bench 8k each, default first and last

Model and setup

the best

Expected gain

finds whether any setting beats the default before a race

Where the idea came from

row 73

Outcome

done 2026-10-30: closed, all moderate settings within 1% of the default (66.1 to 67.0 ), 400 MB -5%, 2048 MB -51%

Lesson

on the M4 Pro, MLX's command-buffer limits are near their optimum at the defaults for mlx-serve's Gemma 4 : 40 to 200 ops and 40 to 200 MB all decode within 1% (66.1 to 67.0 tok/s), 400 MB loses 5% and 2048 MB half; and a bench must read from the server's own count, not streamed chunks.

Adopted

no (within 1%)

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