Verba/Rapida

Experiments #170e

Row 170c's single-read kernel with aligned lane loads (row 170d): the global call's pass 1 is byte-bound...

done

What was tested

Row 170c's single-read kernel with aligned lane loads (row 170d): the global call's pass 1 is byte-bound (189 GB/s, 23 us intercept), and row 170c's kernel loads its 0.625 of the bytes at only 146 GB/s, likely because each lane takes 20 values (40 bytes) at a 40-byte offset. A mapping in which each lane loads 16 contiguous V values (32 bytes, aligned) and 4 of K's 128 rotated values (8 bytes, aligned) keeps one read and the port's load shape. Step 1a: row 170c's microbench with this arm, its checks and fidelity guard, kill above 0.85 of the port (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170d)

Model and setup

the best

Expected gain

about +2% to +3.7% if the call follows its bytes at the port's rate (**estimate**)

Where the idea came from

row 170d

Outcome

done 2026-11-19: KILL, single / port 0.880 [0.843, 0.936] at 8k (0.848 at 16k), from 0.949 with aligned loads; it reads at about 116 against 162 GB/s (`2026-11-19-mac-r170-global-kv-once/README.md` § Result, row 170e)

Lesson

aligned lane loads recover part of the single-read kernel's load rate (0.949 to 0.880 of the port at 8k), but it still reads its bytes at about 116 against 162 GB/s, so the stored-once K=V layout misses the 0.85 line at 8k and only reaches it at 16k (0.848). The lever's value now rests on the per-byte gap, not on the byte count.

Adopted

no (KILL on the pre-registered line)

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